/**
 * Core Services API
 * Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
compute instances, and block storage volumes. For more information, see the console
documentation for the [Networking](/iaas/Content/Network/Concepts/overview.htm),
[Compute](/iaas/Content/Compute/Concepts/computeoverview.htm), and
[Block Volume](/iaas/Content/Block/Concepts/overview.htm) services.

 * OpenAPI spec version: 20160918
 *
 *
 * 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 { paginateRecords , paginateResponses } from "oci-common" ; import { WorkRequestClient } from "oci-workrequests" ; import { BlockstorageWaiter } from "./blockstorage-waiter" ; import { ComputeWaiter } from "./compute-waiter" ; import { ComputeManagementWaiter } from "./computemanagement-waiter" ; import { VirtualNetworkWaiter } from "./virtualnetwork-waiter" ; import { composeResponse , composeRequest , GenericRetrier } from "oci-common" ; export enum BlockstorageApiKeys { } /**
 * 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 BlockstorageClient { protected static serviceEndpointTemplate = "https://iaas.{region}.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : BlockstorageWaiter ; 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 + "/20160918" ; if ( this . logger ) this . logger . info ( `BlockstorageClient 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 ( BlockstorageClient . 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 ( BlockstorageClient . serviceEndpointTemplate , regionId ) ; } param workRequestClient param config return public createWaiters ( workRequestClient , config ? ) { this . _waiters = new BlockstorageWaiter ( this , workRequestClient , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param ChangeBootVolumeBackupCompartmentRequest return throws example Click  https to see how to use ChangeBootVolumeBackupCompartment API.
      public async changeBootVolumeBackupCompartment ( changeBootVolumeBackupCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#changeBootVolumeBackupCompartment." ) ; const pathParams = { "{bootVolumeBackupId}" : changeBootVolumeBackupCompartmentRequest . bootVolumeBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeBootVolumeBackupCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeBootVolumeBackupCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumeBackups/{bootVolumeBackupId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeBootVolumeBackupCompartmentRequest . changeBootVolumeBackupCompartmentDetails , "ChangeBootVolumeBackupCompartmentDetails" , model . ChangeBootVolumeBackupCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeBootVolumeBackupCompartmentResponse > { } , 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 ChangeBootVolumeCompartmentRequest return throws example Click  https to see how to use ChangeBootVolumeCompartment API.
      public async changeBootVolumeCompartment ( changeBootVolumeCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#changeBootVolumeCompartment." ) ; const pathParams = { "{bootVolumeId}" : changeBootVolumeCompartmentRequest . bootVolumeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeBootVolumeCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeBootVolumeCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumes/{bootVolumeId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeBootVolumeCompartmentRequest . changeBootVolumeCompartmentDetails , "ChangeBootVolumeCompartmentDetails" , model . ChangeBootVolumeCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeBootVolumeCompartmentResponse > { } , 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 ChangeVolumeBackupCompartmentRequest return throws example Click  https to see how to use ChangeVolumeBackupCompartment API.
      public async changeVolumeBackupCompartment ( changeVolumeBackupCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#changeVolumeBackupCompartment." ) ; const pathParams = { "{volumeBackupId}" : changeVolumeBackupCompartmentRequest . volumeBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeVolumeBackupCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeVolumeBackupCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackups/{volumeBackupId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeVolumeBackupCompartmentRequest . changeVolumeBackupCompartmentDetails , "ChangeVolumeBackupCompartmentDetails" , model . ChangeVolumeBackupCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeVolumeBackupCompartmentResponse > { } , 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 ChangeVolumeCompartmentRequest return throws example Click  https to see how to use ChangeVolumeCompartment API.
      public async changeVolumeCompartment ( changeVolumeCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#changeVolumeCompartment." ) ; const pathParams = { "{volumeId}" : changeVolumeCompartmentRequest . volumeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeVolumeCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeVolumeCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumes/{volumeId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeVolumeCompartmentRequest . changeVolumeCompartmentDetails , "ChangeVolumeCompartmentDetails" , model . ChangeVolumeCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeVolumeCompartmentResponse > { } , 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 ChangeVolumeGroupBackupCompartmentRequest return throws example Click  https to see how to use ChangeVolumeGroupBackupCompartment API.
      public async changeVolumeGroupBackupCompartment ( changeVolumeGroupBackupCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#changeVolumeGroupBackupCompartment." ) ; const pathParams = { "{volumeGroupBackupId}" : changeVolumeGroupBackupCompartmentRequest . volumeGroupBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeVolumeGroupBackupCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeVolumeGroupBackupCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeGroupBackups/{volumeGroupBackupId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeVolumeGroupBackupCompartmentRequest . changeVolumeGroupBackupCompartmentDetails , "ChangeVolumeGroupBackupCompartmentDetails" , model . ChangeVolumeGroupBackupCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeVolumeGroupBackupCompartmentResponse > { } , 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 ChangeVolumeGroupCompartmentRequest return throws example Click  https to see how to use ChangeVolumeGroupCompartment API.
      public async changeVolumeGroupCompartment ( changeVolumeGroupCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#changeVolumeGroupCompartment." ) ; const pathParams = { "{volumeGroupId}" : changeVolumeGroupCompartmentRequest . volumeGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeVolumeGroupCompartmentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeVolumeGroupCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeGroups/{volumeGroupId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeVolumeGroupCompartmentRequest . changeVolumeGroupCompartmentDetails , "ChangeVolumeGroupCompartmentDetails" , model . ChangeVolumeGroupCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeVolumeGroupCompartmentResponse > { } , 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 CopyBootVolumeBackupRequest return throws example Click  https to see how to use CopyBootVolumeBackup API.
      public async copyBootVolumeBackup ( copyBootVolumeBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#copyBootVolumeBackup." ) ; const pathParams = { "{bootVolumeBackupId}" : copyBootVolumeBackupRequest . bootVolumeBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : copyBootVolumeBackupRequest . opcRetryToken , "opc-request-id" : copyBootVolumeBackupRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , copyBootVolumeBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumeBackups/{bootVolumeBackupId}/actions/copy" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( copyBootVolumeBackupRequest . copyBootVolumeBackupDetails , "CopyBootVolumeBackupDetails" , model . CopyBootVolumeBackupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CopyBootVolumeBackupResponse > { } , body : await response . json ( ) , bodyKey : "bootVolumeBackup" , bodyModel : model . BootVolumeBackup , type : "model.BootVolumeBackup" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } , { value : response . headers . get ( "content-location" ) , key : "contentLocation" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CopyVolumeBackupRequest return throws example Click  https to see how to use CopyVolumeBackup API.
      public async copyVolumeBackup ( copyVolumeBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#copyVolumeBackup." ) ; const pathParams = { "{volumeBackupId}" : copyVolumeBackupRequest . volumeBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : copyVolumeBackupRequest . opcRetryToken , "opc-request-id" : copyVolumeBackupRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , copyVolumeBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackups/{volumeBackupId}/actions/copy" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( copyVolumeBackupRequest . copyVolumeBackupDetails , "CopyVolumeBackupDetails" , model . CopyVolumeBackupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CopyVolumeBackupResponse > { } , body : await response . json ( ) , bodyKey : "volumeBackup" , bodyModel : model . VolumeBackup , type : "model.VolumeBackup" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } , { value : response . headers . get ( "content-location" ) , key : "contentLocation" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CopyVolumeGroupBackupRequest return throws example Click  https to see how to use CopyVolumeGroupBackup API.
      public async copyVolumeGroupBackup ( copyVolumeGroupBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#copyVolumeGroupBackup." ) ; const pathParams = { "{volumeGroupBackupId}" : copyVolumeGroupBackupRequest . volumeGroupBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : copyVolumeGroupBackupRequest . opcRetryToken , "opc-request-id" : copyVolumeGroupBackupRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , copyVolumeGroupBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeGroupBackups/{volumeGroupBackupId}/actions/copy" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( copyVolumeGroupBackupRequest . copyVolumeGroupBackupDetails , "CopyVolumeGroupBackupDetails" , model . CopyVolumeGroupBackupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CopyVolumeGroupBackupResponse > { } , body : await response . json ( ) , bodyKey : "volumeGroupBackup" , bodyModel : model . VolumeGroupBackup , type : "model.VolumeGroupBackup" , 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 CreateBootVolumeRequest return throws example Click  https to see how to use CreateBootVolume API.
      public async createBootVolume ( createBootVolumeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#createBootVolume." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createBootVolumeRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createBootVolumeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumes" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createBootVolumeRequest . createBootVolumeDetails , "CreateBootVolumeDetails" , model . CreateBootVolumeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateBootVolumeResponse > { } , body : await response . json ( ) , bodyKey : "bootVolume" , bodyModel : model . BootVolume , type : "model.BootVolume" , 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 CreateBootVolumeBackupRequest return throws example Click  https to see how to use CreateBootVolumeBackup API.
        public async createBootVolumeBackup ( createBootVolumeBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#createBootVolumeBackup." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createBootVolumeBackupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createBootVolumeBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumeBackups" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createBootVolumeBackupRequest . createBootVolumeBackupDetails , "CreateBootVolumeBackupDetails" , model . CreateBootVolumeBackupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateBootVolumeBackupResponse > { } , body : await response . json ( ) , bodyKey : "bootVolumeBackup" , bodyModel : model . BootVolumeBackup , type : "model.BootVolumeBackup" , 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 CreateVolumeRequest return throws example Click  https to see how to use CreateVolume API.
        public async createVolume ( createVolumeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#createVolume." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createVolumeRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createVolumeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumes" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createVolumeRequest . createVolumeDetails , "CreateVolumeDetails" , model . CreateVolumeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateVolumeResponse > { } , body : await response . json ( ) , bodyKey : "volume" , bodyModel : model . Volume , type : "model.Volume" , 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 CreateVolumeBackupRequest return throws example Click  https to see how to use CreateVolumeBackup API.
        public async createVolumeBackup ( createVolumeBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#createVolumeBackup." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createVolumeBackupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createVolumeBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackups" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createVolumeBackupRequest . createVolumeBackupDetails , "CreateVolumeBackupDetails" , model . CreateVolumeBackupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateVolumeBackupResponse > { } , body : await response . json ( ) , bodyKey : "volumeBackup" , bodyModel : model . VolumeBackup , type : "model.VolumeBackup" , 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 CreateVolumeBackupPolicyRequest return throws example Click  https to see how to use CreateVolumeBackupPolicy API.
        public async createVolumeBackupPolicy ( createVolumeBackupPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#createVolumeBackupPolicy." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createVolumeBackupPolicyRequest . opcRetryToken , "opc-request-id" : createVolumeBackupPolicyRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createVolumeBackupPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackupPolicies" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createVolumeBackupPolicyRequest . createVolumeBackupPolicyDetails , "CreateVolumeBackupPolicyDetails" , model . CreateVolumeBackupPolicyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateVolumeBackupPolicyResponse > { } , body : await response . json ( ) , bodyKey : "volumeBackupPolicy" , bodyModel : model . VolumeBackupPolicy , type : "model.VolumeBackupPolicy" , 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 CreateVolumeBackupPolicyAssignmentRequest return throws example Click  https to see how to use CreateVolumeBackupPolicyAssignment API.
      public async createVolumeBackupPolicyAssignment ( createVolumeBackupPolicyAssignmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#createVolumeBackupPolicyAssignment." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createVolumeBackupPolicyAssignmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackupPolicyAssignments" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createVolumeBackupPolicyAssignmentRequest . createVolumeBackupPolicyAssignmentDetails , "CreateVolumeBackupPolicyAssignmentDetails" , model . CreateVolumeBackupPolicyAssignmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateVolumeBackupPolicyAssignmentResponse > { } , body : await response . json ( ) , bodyKey : "volumeBackupPolicyAssignment" , bodyModel : model . VolumeBackupPolicyAssignment , type : "model.VolumeBackupPolicyAssignment" , 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 CreateVolumeGroupRequest return throws example Click  https to see how to use CreateVolumeGroup API.
        public async createVolumeGroup ( createVolumeGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#createVolumeGroup." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createVolumeGroupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createVolumeGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeGroups" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createVolumeGroupRequest . createVolumeGroupDetails , "CreateVolumeGroupDetails" , model . CreateVolumeGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateVolumeGroupResponse > { } , body : await response . json ( ) , bodyKey : "volumeGroup" , bodyModel : model . VolumeGroup , type : "model.VolumeGroup" , 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 CreateVolumeGroupBackupRequest return throws example Click  https to see how to use CreateVolumeGroupBackup API.
      public async createVolumeGroupBackup ( createVolumeGroupBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#createVolumeGroupBackup." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createVolumeGroupBackupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createVolumeGroupBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeGroupBackups" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createVolumeGroupBackupRequest . createVolumeGroupBackupDetails , "CreateVolumeGroupBackupDetails" , model . CreateVolumeGroupBackupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateVolumeGroupBackupResponse > { } , body : await response . json ( ) , bodyKey : "volumeGroupBackup" , bodyModel : model . VolumeGroupBackup , type : "model.VolumeGroupBackup" , 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 DeleteBootVolumeRequest return throws example Click  https to see how to use DeleteBootVolume API.
      public async deleteBootVolume ( deleteBootVolumeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#deleteBootVolume." ) ; const pathParams = { "{bootVolumeId}" : deleteBootVolumeRequest . bootVolumeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteBootVolumeRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteBootVolumeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumes/{bootVolumeId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteBootVolumeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteBootVolumeBackupRequest return throws example Click  https to see how to use DeleteBootVolumeBackup API.
      public async deleteBootVolumeBackup ( deleteBootVolumeBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#deleteBootVolumeBackup." ) ; const pathParams = { "{bootVolumeBackupId}" : deleteBootVolumeBackupRequest . bootVolumeBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteBootVolumeBackupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteBootVolumeBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumeBackups/{bootVolumeBackupId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteBootVolumeBackupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteBootVolumeKmsKeyRequest return throws example Click  https to see how to use DeleteBootVolumeKmsKey API.
      public async deleteBootVolumeKmsKey ( deleteBootVolumeKmsKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#deleteBootVolumeKmsKey." ) ; const pathParams = { "{bootVolumeId}" : deleteBootVolumeKmsKeyRequest . bootVolumeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteBootVolumeKmsKeyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteBootVolumeKmsKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumes/{bootVolumeId}/kmsKey" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteBootVolumeKmsKeyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteVolumeRequest return throws example Click  https to see how to use DeleteVolume API.
      public async deleteVolume ( deleteVolumeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#deleteVolume." ) ; const pathParams = { "{volumeId}" : deleteVolumeRequest . volumeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteVolumeRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteVolumeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumes/{volumeId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteVolumeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteVolumeBackupRequest return throws example Click  https to see how to use DeleteVolumeBackup API.
      public async deleteVolumeBackup ( deleteVolumeBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#deleteVolumeBackup." ) ; const pathParams = { "{volumeBackupId}" : deleteVolumeBackupRequest . volumeBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteVolumeBackupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteVolumeBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackups/{volumeBackupId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteVolumeBackupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteVolumeBackupPolicyRequest return throws example Click  https to see how to use DeleteVolumeBackupPolicy API.
        public async deleteVolumeBackupPolicy ( deleteVolumeBackupPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#deleteVolumeBackupPolicy." ) ; const pathParams = { "{policyId}" : deleteVolumeBackupPolicyRequest . policyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteVolumeBackupPolicyRequest . opcRequestId , "if-match" : deleteVolumeBackupPolicyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteVolumeBackupPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackupPolicies/{policyId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteVolumeBackupPolicyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteVolumeBackupPolicyAssignmentRequest return throws example Click  https to see how to use DeleteVolumeBackupPolicyAssignment API.
      public async deleteVolumeBackupPolicyAssignment ( deleteVolumeBackupPolicyAssignmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#deleteVolumeBackupPolicyAssignment." ) ; const pathParams = { "{policyAssignmentId}" : deleteVolumeBackupPolicyAssignmentRequest . policyAssignmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteVolumeBackupPolicyAssignmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteVolumeBackupPolicyAssignmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackupPolicyAssignments/{policyAssignmentId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteVolumeBackupPolicyAssignmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteVolumeGroupRequest return throws example Click  https to see how to use DeleteVolumeGroup API.
      public async deleteVolumeGroup ( deleteVolumeGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#deleteVolumeGroup." ) ; const pathParams = { "{volumeGroupId}" : deleteVolumeGroupRequest . volumeGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteVolumeGroupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteVolumeGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeGroups/{volumeGroupId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteVolumeGroupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteVolumeGroupBackupRequest return throws example Click  https to see how to use DeleteVolumeGroupBackup API.
      public async deleteVolumeGroupBackup ( deleteVolumeGroupBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#deleteVolumeGroupBackup." ) ; const pathParams = { "{volumeGroupBackupId}" : deleteVolumeGroupBackupRequest . volumeGroupBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteVolumeGroupBackupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteVolumeGroupBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeGroupBackups/{volumeGroupBackupId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteVolumeGroupBackupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteVolumeKmsKeyRequest return throws example Click  https to see how to use DeleteVolumeKmsKey API.
      public async deleteVolumeKmsKey ( deleteVolumeKmsKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#deleteVolumeKmsKey." ) ; const pathParams = { "{volumeId}" : deleteVolumeKmsKeyRequest . volumeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteVolumeKmsKeyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteVolumeKmsKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumes/{volumeId}/kmsKey" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteVolumeKmsKeyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetBlockVolumeReplicaRequest return throws example Click  https to see how to use GetBlockVolumeReplica API.
      public async getBlockVolumeReplica ( getBlockVolumeReplicaRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#getBlockVolumeReplica." ) ; const pathParams = { "{blockVolumeReplicaId}" : getBlockVolumeReplicaRequest . blockVolumeReplicaId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getBlockVolumeReplicaRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/blockVolumeReplicas/{blockVolumeReplicaId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetBlockVolumeReplicaResponse > { } , body : await response . json ( ) , bodyKey : "blockVolumeReplica" , bodyModel : model . BlockVolumeReplica , type : "model.BlockVolumeReplica" , 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 GetBootVolumeRequest return throws example Click  https to see how to use GetBootVolume API.
      public async getBootVolume ( getBootVolumeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#getBootVolume." ) ; const pathParams = { "{bootVolumeId}" : getBootVolumeRequest . bootVolumeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getBootVolumeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumes/{bootVolumeId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetBootVolumeResponse > { } , body : await response . json ( ) , bodyKey : "bootVolume" , bodyModel : model . BootVolume , type : "model.BootVolume" , 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 GetBootVolumeBackupRequest return throws example Click  https to see how to use GetBootVolumeBackup API.
      public async getBootVolumeBackup ( getBootVolumeBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#getBootVolumeBackup." ) ; const pathParams = { "{bootVolumeBackupId}" : getBootVolumeBackupRequest . bootVolumeBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getBootVolumeBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumeBackups/{bootVolumeBackupId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetBootVolumeBackupResponse > { } , body : await response . json ( ) , bodyKey : "bootVolumeBackup" , bodyModel : model . BootVolumeBackup , type : "model.BootVolumeBackup" , 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 GetBootVolumeKmsKeyRequest return throws example Click  https to see how to use GetBootVolumeKmsKey API.
      public async getBootVolumeKmsKey ( getBootVolumeKmsKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#getBootVolumeKmsKey." ) ; const pathParams = { "{bootVolumeId}" : getBootVolumeKmsKeyRequest . bootVolumeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : getBootVolumeKmsKeyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getBootVolumeKmsKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumes/{bootVolumeId}/kmsKey" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetBootVolumeKmsKeyResponse > { } , body : await response . json ( ) , bodyKey : "bootVolumeKmsKey" , bodyModel : model . BootVolumeKmsKey , type : "model.BootVolumeKmsKey" , 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 GetBootVolumeReplicaRequest return throws example Click  https to see how to use GetBootVolumeReplica API.
      public async getBootVolumeReplica ( getBootVolumeReplicaRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#getBootVolumeReplica." ) ; const pathParams = { "{bootVolumeReplicaId}" : getBootVolumeReplicaRequest . bootVolumeReplicaId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getBootVolumeReplicaRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumeReplicas/{bootVolumeReplicaId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetBootVolumeReplicaResponse > { } , body : await response . json ( ) , bodyKey : "bootVolumeReplica" , bodyModel : model . BootVolumeReplica , type : "model.BootVolumeReplica" , 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 GetVolumeRequest return throws example Click  https to see how to use GetVolume API.
      public async getVolume ( getVolumeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#getVolume." ) ; const pathParams = { "{volumeId}" : getVolumeRequest . volumeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVolumeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumes/{volumeId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVolumeResponse > { } , body : await response . json ( ) , bodyKey : "volume" , bodyModel : model . Volume , type : "model.Volume" , 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 GetVolumeBackupRequest return throws example Click  https to see how to use GetVolumeBackup API.
      public async getVolumeBackup ( getVolumeBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#getVolumeBackup." ) ; const pathParams = { "{volumeBackupId}" : getVolumeBackupRequest . volumeBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVolumeBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackups/{volumeBackupId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVolumeBackupResponse > { } , body : await response . json ( ) , bodyKey : "volumeBackup" , bodyModel : model . VolumeBackup , type : "model.VolumeBackup" , 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 GetVolumeBackupPolicyRequest return throws example Click  https to see how to use GetVolumeBackupPolicy API.
      public async getVolumeBackupPolicy ( getVolumeBackupPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#getVolumeBackupPolicy." ) ; const pathParams = { "{policyId}" : getVolumeBackupPolicyRequest . policyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVolumeBackupPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackupPolicies/{policyId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVolumeBackupPolicyResponse > { } , body : await response . json ( ) , bodyKey : "volumeBackupPolicy" , bodyModel : model . VolumeBackupPolicy , type : "model.VolumeBackupPolicy" , 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 GetVolumeBackupPolicyAssetAssignmentRequest return throws example Click  https to see how to use GetVolumeBackupPolicyAssetAssignment API.
      public async getVolumeBackupPolicyAssetAssignment ( getVolumeBackupPolicyAssetAssignmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#getVolumeBackupPolicyAssetAssignment." ) ; const pathParams = { } ; const queryParams = { "assetId" : getVolumeBackupPolicyAssetAssignmentRequest . assetId , "limit" : getVolumeBackupPolicyAssetAssignmentRequest . limit , "page" : getVolumeBackupPolicyAssetAssignmentRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVolumeBackupPolicyAssetAssignmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackupPolicyAssignments" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVolumeBackupPolicyAssetAssignmentResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . VolumeBackupPolicyAssignment , type : "Array<model.VolumeBackupPolicyAssignment>" , 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 request public getAllVolumeBackupPolicyAssetAssignment ( request ) { return paginateRecords ( request , req => this . getVolumeBackupPolicyAssetAssignment ( req ) ) ; } param request public getAllVolumeBackupPolicyAssetAssignmentResponses ( request ) { return paginateResponses ( request , req => this . getVolumeBackupPolicyAssetAssignment ( req ) ) ; } param request public getVolumeBackupPolicyAssetAssignmentRecordIterator ( request ) { return paginateRecords ( request , req => this . getVolumeBackupPolicyAssetAssignment ( req ) ) ; } param request public getVolumeBackupPolicyAssetAssignmentResponseIterator ( request ) { return paginateResponses ( request , req => this . getVolumeBackupPolicyAssetAssignment ( req ) ) ; } param GetVolumeBackupPolicyAssignmentRequest return throws example Click  https to see how to use GetVolumeBackupPolicyAssignment API.
      public async getVolumeBackupPolicyAssignment ( getVolumeBackupPolicyAssignmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#getVolumeBackupPolicyAssignment." ) ; const pathParams = { "{policyAssignmentId}" : getVolumeBackupPolicyAssignmentRequest . policyAssignmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVolumeBackupPolicyAssignmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackupPolicyAssignments/{policyAssignmentId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVolumeBackupPolicyAssignmentResponse > { } , body : await response . json ( ) , bodyKey : "volumeBackupPolicyAssignment" , bodyModel : model . VolumeBackupPolicyAssignment , type : "model.VolumeBackupPolicyAssignment" , 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 GetVolumeGroupRequest return throws example Click  https to see how to use GetVolumeGroup API.
      public async getVolumeGroup ( getVolumeGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#getVolumeGroup." ) ; const pathParams = { "{volumeGroupId}" : getVolumeGroupRequest . volumeGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVolumeGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeGroups/{volumeGroupId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVolumeGroupResponse > { } , body : await response . json ( ) , bodyKey : "volumeGroup" , bodyModel : model . VolumeGroup , type : "model.VolumeGroup" , 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 GetVolumeGroupBackupRequest return throws example Click  https to see how to use GetVolumeGroupBackup API.
      public async getVolumeGroupBackup ( getVolumeGroupBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#getVolumeGroupBackup." ) ; const pathParams = { "{volumeGroupBackupId}" : getVolumeGroupBackupRequest . volumeGroupBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVolumeGroupBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeGroupBackups/{volumeGroupBackupId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVolumeGroupBackupResponse > { } , body : await response . json ( ) , bodyKey : "volumeGroupBackup" , bodyModel : model . VolumeGroupBackup , type : "model.VolumeGroupBackup" , 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 GetVolumeKmsKeyRequest return throws example Click  https to see how to use GetVolumeKmsKey API.
      public async getVolumeKmsKey ( getVolumeKmsKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#getVolumeKmsKey." ) ; const pathParams = { "{volumeId}" : getVolumeKmsKeyRequest . volumeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : getVolumeKmsKeyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVolumeKmsKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumes/{volumeId}/kmsKey" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVolumeKmsKeyResponse > { } , body : await response . json ( ) , bodyKey : "volumeKmsKey" , bodyModel : model . VolumeKmsKey , type : "model.VolumeKmsKey" , 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 ListBlockVolumeReplicasRequest return throws example Click  https to see how to use ListBlockVolumeReplicas API.
      public async listBlockVolumeReplicas ( listBlockVolumeReplicasRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#listBlockVolumeReplicas." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listBlockVolumeReplicasRequest . availabilityDomain , "compartmentId" : listBlockVolumeReplicasRequest . compartmentId , "limit" : listBlockVolumeReplicasRequest . limit , "page" : listBlockVolumeReplicasRequest . page , "displayName" : listBlockVolumeReplicasRequest . displayName , "sortBy" : listBlockVolumeReplicasRequest . sortBy , "sortOrder" : listBlockVolumeReplicasRequest . sortOrder , "lifecycleState" : listBlockVolumeReplicasRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listBlockVolumeReplicasRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/blockVolumeReplicas" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListBlockVolumeReplicasResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . BlockVolumeReplica , type : "Array<model.BlockVolumeReplica>" , 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 request public listAllBlockVolumeReplicas ( request ) { return paginateRecords ( request , req => this . listBlockVolumeReplicas ( req ) ) ; } param request public listAllBlockVolumeReplicasResponses ( request ) { return paginateResponses ( request , req => this . listBlockVolumeReplicas ( req ) ) ; } param request public listBlockVolumeReplicasRecordIterator ( request ) { return paginateRecords ( request , req => this . listBlockVolumeReplicas ( req ) ) ; } param request public listBlockVolumeReplicasResponseIterator ( request ) { return paginateResponses ( request , req => this . listBlockVolumeReplicas ( req ) ) ; } param ListBootVolumeBackupsRequest return throws example Click  https to see how to use ListBootVolumeBackups API.
      public async listBootVolumeBackups ( listBootVolumeBackupsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#listBootVolumeBackups." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listBootVolumeBackupsRequest . compartmentId , "bootVolumeId" : listBootVolumeBackupsRequest . bootVolumeId , "limit" : listBootVolumeBackupsRequest . limit , "page" : listBootVolumeBackupsRequest . page , "displayName" : listBootVolumeBackupsRequest . displayName , "sourceBootVolumeBackupId" : listBootVolumeBackupsRequest . sourceBootVolumeBackupId , "sortBy" : listBootVolumeBackupsRequest . sortBy , "sortOrder" : listBootVolumeBackupsRequest . sortOrder , "lifecycleState" : listBootVolumeBackupsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listBootVolumeBackupsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumeBackups" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListBootVolumeBackupsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . BootVolumeBackup , type : "Array<model.BootVolumeBackup>" , 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 request public listAllBootVolumeBackups ( request ) { return paginateRecords ( request , req => this . listBootVolumeBackups ( req ) ) ; } param request public listAllBootVolumeBackupsResponses ( request ) { return paginateResponses ( request , req => this . listBootVolumeBackups ( req ) ) ; } param request public listBootVolumeBackupsRecordIterator ( request ) { return paginateRecords ( request , req => this . listBootVolumeBackups ( req ) ) ; } param request public listBootVolumeBackupsResponseIterator ( request ) { return paginateResponses ( request , req => this . listBootVolumeBackups ( req ) ) ; } param ListBootVolumeReplicasRequest return throws example Click  https to see how to use ListBootVolumeReplicas API.
      public async listBootVolumeReplicas ( listBootVolumeReplicasRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#listBootVolumeReplicas." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listBootVolumeReplicasRequest . availabilityDomain , "compartmentId" : listBootVolumeReplicasRequest . compartmentId , "limit" : listBootVolumeReplicasRequest . limit , "page" : listBootVolumeReplicasRequest . page , "displayName" : listBootVolumeReplicasRequest . displayName , "sortBy" : listBootVolumeReplicasRequest . sortBy , "sortOrder" : listBootVolumeReplicasRequest . sortOrder , "lifecycleState" : listBootVolumeReplicasRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listBootVolumeReplicasRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumeReplicas" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListBootVolumeReplicasResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . BootVolumeReplica , type : "Array<model.BootVolumeReplica>" , 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 request public listAllBootVolumeReplicas ( request ) { return paginateRecords ( request , req => this . listBootVolumeReplicas ( req ) ) ; } param request public listAllBootVolumeReplicasResponses ( request ) { return paginateResponses ( request , req => this . listBootVolumeReplicas ( req ) ) ; } param request public listBootVolumeReplicasRecordIterator ( request ) { return paginateRecords ( request , req => this . listBootVolumeReplicas ( req ) ) ; } param request public listBootVolumeReplicasResponseIterator ( request ) { return paginateResponses ( request , req => this . listBootVolumeReplicas ( req ) ) ; } param ListBootVolumesRequest return throws example Click  https to see how to use ListBootVolumes API.
      public async listBootVolumes ( listBootVolumesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#listBootVolumes." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listBootVolumesRequest . availabilityDomain , "compartmentId" : listBootVolumesRequest . compartmentId , "limit" : listBootVolumesRequest . limit , "page" : listBootVolumesRequest . page , "volumeGroupId" : listBootVolumesRequest . volumeGroupId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listBootVolumesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListBootVolumesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . BootVolume , type : "Array<model.BootVolume>" , 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 request public listAllBootVolumes ( request ) { return paginateRecords ( request , req => this . listBootVolumes ( req ) ) ; } param request public listAllBootVolumesResponses ( request ) { return paginateResponses ( request , req => this . listBootVolumes ( req ) ) ; } param request public listBootVolumesRecordIterator ( request ) { return paginateRecords ( request , req => this . listBootVolumes ( req ) ) ; } param request public listBootVolumesResponseIterator ( request ) { return paginateResponses ( request , req => this . listBootVolumes ( req ) ) ; } param ListVolumeBackupPoliciesRequest return throws example Click  https to see how to use ListVolumeBackupPolicies API.
        public async listVolumeBackupPolicies ( listVolumeBackupPoliciesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#listVolumeBackupPolicies." ) ; const pathParams = { } ; const queryParams = { "limit" : listVolumeBackupPoliciesRequest . limit , "page" : listVolumeBackupPoliciesRequest . page , "compartmentId" : listVolumeBackupPoliciesRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listVolumeBackupPoliciesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackupPolicies" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListVolumeBackupPoliciesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . VolumeBackupPolicy , type : "Array<model.VolumeBackupPolicy>" , 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 request public listAllVolumeBackupPolicies ( request ) { return paginateRecords ( request , req => this . listVolumeBackupPolicies ( req ) ) ; } param request public listAllVolumeBackupPoliciesResponses ( request ) { return paginateResponses ( request , req => this . listVolumeBackupPolicies ( req ) ) ; } param request public listVolumeBackupPoliciesRecordIterator ( request ) { return paginateRecords ( request , req => this . listVolumeBackupPolicies ( req ) ) ; } param request public listVolumeBackupPoliciesResponseIterator ( request ) { return paginateResponses ( request , req => this . listVolumeBackupPolicies ( req ) ) ; } param ListVolumeBackupsRequest return throws example Click  https to see how to use ListVolumeBackups API.
      public async listVolumeBackups ( listVolumeBackupsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#listVolumeBackups." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listVolumeBackupsRequest . compartmentId , "volumeId" : listVolumeBackupsRequest . volumeId , "limit" : listVolumeBackupsRequest . limit , "page" : listVolumeBackupsRequest . page , "displayName" : listVolumeBackupsRequest . displayName , "sourceVolumeBackupId" : listVolumeBackupsRequest . sourceVolumeBackupId , "sortBy" : listVolumeBackupsRequest . sortBy , "sortOrder" : listVolumeBackupsRequest . sortOrder , "lifecycleState" : listVolumeBackupsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listVolumeBackupsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackups" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListVolumeBackupsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . VolumeBackup , type : "Array<model.VolumeBackup>" , 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 request public listAllVolumeBackups ( request ) { return paginateRecords ( request , req => this . listVolumeBackups ( req ) ) ; } param request public listAllVolumeBackupsResponses ( request ) { return paginateResponses ( request , req => this . listVolumeBackups ( req ) ) ; } param request public listVolumeBackupsRecordIterator ( request ) { return paginateRecords ( request , req => this . listVolumeBackups ( req ) ) ; } param request public listVolumeBackupsResponseIterator ( request ) { return paginateResponses ( request , req => this . listVolumeBackups ( req ) ) ; } param ListVolumeGroupBackupsRequest return throws example Click  https to see how to use ListVolumeGroupBackups API.
      public async listVolumeGroupBackups ( listVolumeGroupBackupsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#listVolumeGroupBackups." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listVolumeGroupBackupsRequest . compartmentId , "volumeGroupId" : listVolumeGroupBackupsRequest . volumeGroupId , "limit" : listVolumeGroupBackupsRequest . limit , "page" : listVolumeGroupBackupsRequest . page , "displayName" : listVolumeGroupBackupsRequest . displayName , "sortBy" : listVolumeGroupBackupsRequest . sortBy , "sortOrder" : listVolumeGroupBackupsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listVolumeGroupBackupsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeGroupBackups" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListVolumeGroupBackupsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . VolumeGroupBackup , type : "Array<model.VolumeGroupBackup>" , 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 request public listAllVolumeGroupBackups ( request ) { return paginateRecords ( request , req => this . listVolumeGroupBackups ( req ) ) ; } param request public listAllVolumeGroupBackupsResponses ( request ) { return paginateResponses ( request , req => this . listVolumeGroupBackups ( req ) ) ; } param request public listVolumeGroupBackupsRecordIterator ( request ) { return paginateRecords ( request , req => this . listVolumeGroupBackups ( req ) ) ; } param request public listVolumeGroupBackupsResponseIterator ( request ) { return paginateResponses ( request , req => this . listVolumeGroupBackups ( req ) ) ; } param ListVolumeGroupsRequest return throws example Click  https to see how to use ListVolumeGroups API.
      public async listVolumeGroups ( listVolumeGroupsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#listVolumeGroups." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listVolumeGroupsRequest . availabilityDomain , "compartmentId" : listVolumeGroupsRequest . compartmentId , "limit" : listVolumeGroupsRequest . limit , "page" : listVolumeGroupsRequest . page , "displayName" : listVolumeGroupsRequest . displayName , "sortBy" : listVolumeGroupsRequest . sortBy , "sortOrder" : listVolumeGroupsRequest . sortOrder , "lifecycleState" : listVolumeGroupsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listVolumeGroupsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeGroups" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListVolumeGroupsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . VolumeGroup , type : "Array<model.VolumeGroup>" , 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 request public listAllVolumeGroups ( request ) { return paginateRecords ( request , req => this . listVolumeGroups ( req ) ) ; } param request public listAllVolumeGroupsResponses ( request ) { return paginateResponses ( request , req => this . listVolumeGroups ( req ) ) ; } param request public listVolumeGroupsRecordIterator ( request ) { return paginateRecords ( request , req => this . listVolumeGroups ( req ) ) ; } param request public listVolumeGroupsResponseIterator ( request ) { return paginateResponses ( request , req => this . listVolumeGroups ( req ) ) ; } param ListVolumesRequest return throws example Click  https to see how to use ListVolumes API.
      public async listVolumes ( listVolumesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#listVolumes." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listVolumesRequest . availabilityDomain , "compartmentId" : listVolumesRequest . compartmentId , "limit" : listVolumesRequest . limit , "page" : listVolumesRequest . page , "displayName" : listVolumesRequest . displayName , "sortBy" : listVolumesRequest . sortBy , "sortOrder" : listVolumesRequest . sortOrder , "volumeGroupId" : listVolumesRequest . volumeGroupId , "lifecycleState" : listVolumesRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listVolumesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListVolumesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Volume , type : "Array<model.Volume>" , 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 request public listAllVolumes ( request ) { return paginateRecords ( request , req => this . listVolumes ( req ) ) ; } param request public listAllVolumesResponses ( request ) { return paginateResponses ( request , req => this . listVolumes ( req ) ) ; } param request public listVolumesRecordIterator ( request ) { return paginateRecords ( request , req => this . listVolumes ( req ) ) ; } param request public listVolumesResponseIterator ( request ) { return paginateResponses ( request , req => this . listVolumes ( req ) ) ; } param UpdateBootVolumeRequest return throws example Click  https to see how to use UpdateBootVolume API.
      public async updateBootVolume ( updateBootVolumeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#updateBootVolume." ) ; const pathParams = { "{bootVolumeId}" : updateBootVolumeRequest . bootVolumeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateBootVolumeRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateBootVolumeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumes/{bootVolumeId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateBootVolumeRequest . updateBootVolumeDetails , "UpdateBootVolumeDetails" , model . UpdateBootVolumeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateBootVolumeResponse > { } , body : await response . json ( ) , bodyKey : "bootVolume" , bodyModel : model . BootVolume , type : "model.BootVolume" , 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 UpdateBootVolumeBackupRequest return throws example Click  https to see how to use UpdateBootVolumeBackup API.
      public async updateBootVolumeBackup ( updateBootVolumeBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#updateBootVolumeBackup." ) ; const pathParams = { "{bootVolumeBackupId}" : updateBootVolumeBackupRequest . bootVolumeBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateBootVolumeBackupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateBootVolumeBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumeBackups/{bootVolumeBackupId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateBootVolumeBackupRequest . updateBootVolumeBackupDetails , "UpdateBootVolumeBackupDetails" , model . UpdateBootVolumeBackupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateBootVolumeBackupResponse > { } , body : await response . json ( ) , bodyKey : "bootVolumeBackup" , bodyModel : model . BootVolumeBackup , type : "model.BootVolumeBackup" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateBootVolumeKmsKeyRequest return throws example Click  https to see how to use UpdateBootVolumeKmsKey API.
      public async updateBootVolumeKmsKey ( updateBootVolumeKmsKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#updateBootVolumeKmsKey." ) ; const pathParams = { "{bootVolumeId}" : updateBootVolumeKmsKeyRequest . bootVolumeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateBootVolumeKmsKeyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateBootVolumeKmsKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumes/{bootVolumeId}/kmsKey" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateBootVolumeKmsKeyRequest . updateBootVolumeKmsKeyDetails , "UpdateBootVolumeKmsKeyDetails" , model . UpdateBootVolumeKmsKeyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateBootVolumeKmsKeyResponse > { } , body : await response . json ( ) , bodyKey : "bootVolumeKmsKey" , bodyModel : model . BootVolumeKmsKey , type : "model.BootVolumeKmsKey" , 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 UpdateVolumeRequest return throws example Click  https to see how to use UpdateVolume API.
      public async updateVolume ( updateVolumeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#updateVolume." ) ; const pathParams = { "{volumeId}" : updateVolumeRequest . volumeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateVolumeRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateVolumeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumes/{volumeId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateVolumeRequest . updateVolumeDetails , "UpdateVolumeDetails" , model . UpdateVolumeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateVolumeResponse > { } , body : await response . json ( ) , bodyKey : "volume" , bodyModel : model . Volume , type : "model.Volume" , 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 UpdateVolumeBackupRequest return throws example Click  https to see how to use UpdateVolumeBackup API.
      public async updateVolumeBackup ( updateVolumeBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#updateVolumeBackup." ) ; const pathParams = { "{volumeBackupId}" : updateVolumeBackupRequest . volumeBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateVolumeBackupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateVolumeBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackups/{volumeBackupId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateVolumeBackupRequest . updateVolumeBackupDetails , "UpdateVolumeBackupDetails" , model . UpdateVolumeBackupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateVolumeBackupResponse > { } , body : await response . json ( ) , bodyKey : "volumeBackup" , bodyModel : model . VolumeBackup , type : "model.VolumeBackup" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateVolumeBackupPolicyRequest return throws example Click  https to see how to use UpdateVolumeBackupPolicy API.
        public async updateVolumeBackupPolicy ( updateVolumeBackupPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#updateVolumeBackupPolicy." ) ; const pathParams = { "{policyId}" : updateVolumeBackupPolicyRequest . policyId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateVolumeBackupPolicyRequest . ifMatch , "opc-request-id" : updateVolumeBackupPolicyRequest . opcRequestId , "opc-retry-token" : updateVolumeBackupPolicyRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateVolumeBackupPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeBackupPolicies/{policyId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateVolumeBackupPolicyRequest . updateVolumeBackupPolicyDetails , "UpdateVolumeBackupPolicyDetails" , model . UpdateVolumeBackupPolicyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateVolumeBackupPolicyResponse > { } , body : await response . json ( ) , bodyKey : "volumeBackupPolicy" , bodyModel : model . VolumeBackupPolicy , type : "model.VolumeBackupPolicy" , 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 UpdateVolumeGroupRequest return throws example Click  https to see how to use UpdateVolumeGroup API.
        public async updateVolumeGroup ( updateVolumeGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#updateVolumeGroup." ) ; const pathParams = { "{volumeGroupId}" : updateVolumeGroupRequest . volumeGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateVolumeGroupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateVolumeGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeGroups/{volumeGroupId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateVolumeGroupRequest . updateVolumeGroupDetails , "UpdateVolumeGroupDetails" , model . UpdateVolumeGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateVolumeGroupResponse > { } , body : await response . json ( ) , bodyKey : "volumeGroup" , bodyModel : model . VolumeGroup , type : "model.VolumeGroup" , 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 UpdateVolumeGroupBackupRequest return throws example Click  https to see how to use UpdateVolumeGroupBackup API.
      public async updateVolumeGroupBackup ( updateVolumeGroupBackupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#updateVolumeGroupBackup." ) ; const pathParams = { "{volumeGroupBackupId}" : updateVolumeGroupBackupRequest . volumeGroupBackupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateVolumeGroupBackupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateVolumeGroupBackupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeGroupBackups/{volumeGroupBackupId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateVolumeGroupBackupRequest . updateVolumeGroupBackupDetails , "UpdateVolumeGroupBackupDetails" , model . UpdateVolumeGroupBackupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateVolumeGroupBackupResponse > { } , body : await response . json ( ) , bodyKey : "volumeGroupBackup" , bodyModel : model . VolumeGroupBackup , type : "model.VolumeGroupBackup" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateVolumeKmsKeyRequest return throws example Click  https to see how to use UpdateVolumeKmsKey API.
      public async updateVolumeKmsKey ( updateVolumeKmsKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation BlockstorageClient#updateVolumeKmsKey." ) ; const pathParams = { "{volumeId}" : updateVolumeKmsKeyRequest . volumeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateVolumeKmsKeyRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateVolumeKmsKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumes/{volumeId}/kmsKey" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateVolumeKmsKeyRequest . updateVolumeKmsKeyDetails , "UpdateVolumeKmsKeyDetails" , model . UpdateVolumeKmsKeyDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateVolumeKmsKeyResponse > { } , body : await response . json ( ) , bodyKey : "volumeKmsKey" , bodyModel : model . VolumeKmsKey , type : "model.VolumeKmsKey" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } } export enum ComputeApiKeys { } /**
 * This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
 */ export class ComputeClient { protected static serviceEndpointTemplate = "https://iaas.{region}.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : ComputeWaiter ; 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 = false ; 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 + "/20160918" ; if ( this . logger ) this . logger . info ( `ComputeClient 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 ( ComputeClient . 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 ( ComputeClient . serviceEndpointTemplate , regionId ) ; } param workRequestClient param config return public createWaiters ( workRequestClient , config ? ) { this . _waiters = new ComputeWaiter ( this , workRequestClient , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param AcceptShieldedIntegrityPolicyRequest return throws example Click  https to see how to use AcceptShieldedIntegrityPolicy API.
      public async acceptShieldedIntegrityPolicy ( acceptShieldedIntegrityPolicyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#acceptShieldedIntegrityPolicy." ) ; const pathParams = { "{instanceId}" : acceptShieldedIntegrityPolicyRequest . instanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : acceptShieldedIntegrityPolicyRequest . opcRequestId , "if-match" : acceptShieldedIntegrityPolicyRequest . ifMatch , "opc-retry-token" : acceptShieldedIntegrityPolicyRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , acceptShieldedIntegrityPolicyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instances/{instanceId}/actions/acceptShieldedIntegrityPolicy" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AcceptShieldedIntegrityPolicyResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AddImageShapeCompatibilityEntryRequest return throws example Click  https to see how to use AddImageShapeCompatibilityEntry API.
      public async addImageShapeCompatibilityEntry ( addImageShapeCompatibilityEntryRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#addImageShapeCompatibilityEntry." ) ; const pathParams = { "{imageId}" : addImageShapeCompatibilityEntryRequest . imageId , "{shapeName}" : addImageShapeCompatibilityEntryRequest . shapeName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , addImageShapeCompatibilityEntryRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/images/{imageId}/shapes/{shapeName}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( addImageShapeCompatibilityEntryRequest . addImageShapeCompatibilityEntryDetails , "AddImageShapeCompatibilityEntryDetails" , model . AddImageShapeCompatibilityEntryDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AddImageShapeCompatibilityEntryResponse > { } , body : await response . json ( ) , bodyKey : "imageShapeCompatibilityEntry" , bodyModel : model . ImageShapeCompatibilityEntry , type : "model.ImageShapeCompatibilityEntry" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AttachBootVolumeRequest return throws example Click  https to see how to use AttachBootVolume API.
      public async attachBootVolume ( attachBootVolumeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#attachBootVolume." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : attachBootVolumeRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , attachBootVolumeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumeAttachments" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( attachBootVolumeRequest . attachBootVolumeDetails , "AttachBootVolumeDetails" , model . AttachBootVolumeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AttachBootVolumeResponse > { } , body : await response . json ( ) , bodyKey : "bootVolumeAttachment" , bodyModel : model . BootVolumeAttachment , type : "model.BootVolumeAttachment" , 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 AttachVnicRequest return throws example Click  https to see how to use AttachVnic API.
      public async attachVnic ( attachVnicRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#attachVnic." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : attachVnicRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , attachVnicRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vnicAttachments" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( attachVnicRequest . attachVnicDetails , "AttachVnicDetails" , model . AttachVnicDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AttachVnicResponse > { } , body : await response . json ( ) , bodyKey : "vnicAttachment" , bodyModel : model . VnicAttachment , type : "model.VnicAttachment" , 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 AttachVolumeRequest return throws example Click  https to see how to use AttachVolume API.
      public async attachVolume ( attachVolumeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#attachVolume." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : attachVolumeRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , attachVolumeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeAttachments" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( attachVolumeRequest . attachVolumeDetails , "AttachVolumeDetails" , model . AttachVolumeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AttachVolumeResponse > { } , body : await response . json ( ) , bodyKey : "volumeAttachment" , bodyModel : model . VolumeAttachment , type : "model.VolumeAttachment" , 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 CaptureConsoleHistoryRequest return throws example Click  https to see how to use CaptureConsoleHistory API.
        public async captureConsoleHistory ( captureConsoleHistoryRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#captureConsoleHistory." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : captureConsoleHistoryRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , captureConsoleHistoryRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConsoleHistories" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( captureConsoleHistoryRequest . captureConsoleHistoryDetails , "CaptureConsoleHistoryDetails" , model . CaptureConsoleHistoryDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CaptureConsoleHistoryResponse > { } , body : await response . json ( ) , bodyKey : "consoleHistory" , bodyModel : model . ConsoleHistory , type : "model.ConsoleHistory" , 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 ChangeComputeCapacityReservationCompartmentRequest return throws example Click  https to see how to use ChangeComputeCapacityReservationCompartment API.
      public async changeComputeCapacityReservationCompartment ( changeComputeCapacityReservationCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#changeComputeCapacityReservationCompartment." ) ; const pathParams = { "{capacityReservationId}" : changeComputeCapacityReservationCompartmentRequest . capacityReservationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeComputeCapacityReservationCompartmentRequest . ifMatch , "opc-request-id" : changeComputeCapacityReservationCompartmentRequest . opcRequestId , "opc-retry-token" : changeComputeCapacityReservationCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeComputeCapacityReservationCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeCapacityReservations/{capacityReservationId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeComputeCapacityReservationCompartmentRequest . changeComputeCapacityReservationCompartmentDetails , "ChangeComputeCapacityReservationCompartmentDetails" , model . ChangeComputeCapacityReservationCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeComputeCapacityReservationCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeComputeImageCapabilitySchemaCompartmentRequest return throws example Click  https to see how to use ChangeComputeImageCapabilitySchemaCompartment API.
      public async changeComputeImageCapabilitySchemaCompartment ( changeComputeImageCapabilitySchemaCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#changeComputeImageCapabilitySchemaCompartment." ) ; const pathParams = { "{computeImageCapabilitySchemaId}" : changeComputeImageCapabilitySchemaCompartmentRequest . computeImageCapabilitySchemaId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeComputeImageCapabilitySchemaCompartmentRequest . ifMatch , "opc-request-id" : changeComputeImageCapabilitySchemaCompartmentRequest . opcRequestId , "opc-retry-token" : changeComputeImageCapabilitySchemaCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeComputeImageCapabilitySchemaCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeImageCapabilitySchemas/{computeImageCapabilitySchemaId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeComputeImageCapabilitySchemaCompartmentRequest . changeComputeImageCapabilitySchemaCompartmentDetails , "ChangeComputeImageCapabilitySchemaCompartmentDetails" , model . ChangeComputeImageCapabilitySchemaCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeComputeImageCapabilitySchemaCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeDedicatedVmHostCompartmentRequest return throws example Click  https to see how to use ChangeDedicatedVmHostCompartment API.
      public async changeDedicatedVmHostCompartment ( changeDedicatedVmHostCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#changeDedicatedVmHostCompartment." ) ; const pathParams = { "{dedicatedVmHostId}" : changeDedicatedVmHostCompartmentRequest . dedicatedVmHostId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeDedicatedVmHostCompartmentRequest . ifMatch , "opc-request-id" : changeDedicatedVmHostCompartmentRequest . opcRequestId , "opc-retry-token" : changeDedicatedVmHostCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeDedicatedVmHostCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dedicatedVmHosts/{dedicatedVmHostId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeDedicatedVmHostCompartmentRequest . changeDedicatedVmHostCompartmentDetails , "ChangeDedicatedVmHostCompartmentDetails" , model . ChangeDedicatedVmHostCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeDedicatedVmHostCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeImageCompartmentRequest return throws example Click  https to see how to use ChangeImageCompartment API.
      public async changeImageCompartment ( changeImageCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#changeImageCompartment." ) ; const pathParams = { "{imageId}" : changeImageCompartmentRequest . imageId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeImageCompartmentRequest . ifMatch , "opc-request-id" : changeImageCompartmentRequest . opcRequestId , "opc-retry-token" : changeImageCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeImageCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/images/{imageId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeImageCompartmentRequest . changeImageCompartmentDetails , "ChangeImageCompartmentDetails" , model . ChangeImageCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeImageCompartmentResponse > { } , 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 ChangeInstanceCompartmentRequest return throws example Click  https to see how to use ChangeInstanceCompartment API.
        public async changeInstanceCompartment ( changeInstanceCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#changeInstanceCompartment." ) ; const pathParams = { "{instanceId}" : changeInstanceCompartmentRequest . instanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeInstanceCompartmentRequest . ifMatch , "opc-request-id" : changeInstanceCompartmentRequest . opcRequestId , "opc-retry-token" : changeInstanceCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeInstanceCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instances/{instanceId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeInstanceCompartmentRequest . changeInstanceCompartmentDetails , "ChangeInstanceCompartmentDetails" , model . ChangeInstanceCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeInstanceCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateAppCatalogSubscriptionRequest return throws example Click  https to see how to use CreateAppCatalogSubscription API.
      public async createAppCatalogSubscription ( createAppCatalogSubscriptionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#createAppCatalogSubscription." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createAppCatalogSubscriptionRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createAppCatalogSubscriptionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/appCatalogSubscriptions" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createAppCatalogSubscriptionRequest . createAppCatalogSubscriptionDetails , "CreateAppCatalogSubscriptionDetails" , model . CreateAppCatalogSubscriptionDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateAppCatalogSubscriptionResponse > { } , body : await response . json ( ) , bodyKey : "appCatalogSubscription" , bodyModel : model . AppCatalogSubscription , type : "model.AppCatalogSubscription" , 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 CreateComputeCapacityReservationRequest return throws example Click  https to see how to use CreateComputeCapacityReservation API.
      public async createComputeCapacityReservation ( createComputeCapacityReservationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#createComputeCapacityReservation." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createComputeCapacityReservationRequest . opcRequestId , "opc-retry-token" : createComputeCapacityReservationRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createComputeCapacityReservationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeCapacityReservations" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createComputeCapacityReservationRequest . createComputeCapacityReservationDetails , "CreateComputeCapacityReservationDetails" , model . CreateComputeCapacityReservationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateComputeCapacityReservationResponse > { } , body : await response . json ( ) , bodyKey : "computeCapacityReservation" , bodyModel : model . ComputeCapacityReservation , type : "model.ComputeCapacityReservation" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateComputeImageCapabilitySchemaRequest return throws example Click  https to see how to use CreateComputeImageCapabilitySchema API.
      public async createComputeImageCapabilitySchema ( createComputeImageCapabilitySchemaRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#createComputeImageCapabilitySchema." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createComputeImageCapabilitySchemaRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createComputeImageCapabilitySchemaRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeImageCapabilitySchemas" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createComputeImageCapabilitySchemaRequest . createComputeImageCapabilitySchemaDetails , "CreateComputeImageCapabilitySchemaDetails" , model . CreateComputeImageCapabilitySchemaDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateComputeImageCapabilitySchemaResponse > { } , body : await response . json ( ) , bodyKey : "computeImageCapabilitySchema" , bodyModel : model . ComputeImageCapabilitySchema , type : "model.ComputeImageCapabilitySchema" , 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 CreateDedicatedVmHostRequest return throws example Click  https to see how to use CreateDedicatedVmHost API.
      public async createDedicatedVmHost ( createDedicatedVmHostRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#createDedicatedVmHost." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createDedicatedVmHostRequest . opcRequestId , "opc-retry-token" : createDedicatedVmHostRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createDedicatedVmHostRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dedicatedVmHosts" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createDedicatedVmHostRequest . createDedicatedVmHostDetails , "CreateDedicatedVmHostDetails" , model . CreateDedicatedVmHostDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateDedicatedVmHostResponse > { } , body : await response . json ( ) , bodyKey : "dedicatedVmHost" , bodyModel : model . DedicatedVmHost , type : "model.DedicatedVmHost" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Creates a boot disk image for the specified instance or imports an exported image from the Oracle Cloud Infrastructure Object Storage service.
  * <p>
  When creating a new image, you must provide the OCID of the instance you want to use as the basis for the image, and
  * the OCID of the compartment containing that instance. For more information about images,
  * see [Managing Custom Images](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingcustomimages.htm).
  * <p>
  When importing an exported image from Object Storage, you specify the source information
  * in  {@link #imageSourceDetails(ImageSourceDetailsRequest) imageSourceDetails} .
  * <p>
  When importing an image based on the namespace, bucket name, and object name,
  * use  {@link #imageSourceViaObjectStorageTupleDetails(ImageSourceViaObjectStorageTupleDetailsRequest) imageSourceViaObjectStorageTupleDetails} .
  * <p>
  When importing an image based on the Object Storage URL, use
  *  {@link #imageSourceViaObjectStorageUriDetails(ImageSourceViaObjectStorageUriDetailsRequest) imageSourceViaObjectStorageUriDetails} .
  * See [Object Storage URLs](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm#URLs) and [Using Pre-Authenticated Requests](https://docs.cloud.oracle.com/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm)
  * for constructing URLs for image import/export.
  * <p>
  For more information about importing exported images, see
  * [Image Import/Export](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm).
  * <p>
  You may optionally specify a *display name* for the image, which is simply a friendly name or description.
  * It does not have to be unique, and you can change it. See  {@link #updateImage(UpdateImageRequest) updateImage} .
  * Avoid entering confidential information.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateImageRequest return throws example Click  https to see how to use CreateImage API.
        public async createImage ( createImageRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#createImage." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createImageRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createImageRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/images" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createImageRequest . createImageDetails , "CreateImageDetails" , model . CreateImageDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateImageResponse > { } , body : await response . json ( ) , bodyKey : "image" , bodyModel : model . Image , type : "model.Image" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateInstanceConsoleConnectionRequest return throws example Click  https to see how to use CreateInstanceConsoleConnection API.
        public async createInstanceConsoleConnection ( createInstanceConsoleConnectionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#createInstanceConsoleConnection." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createInstanceConsoleConnectionRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createInstanceConsoleConnectionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConsoleConnections" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createInstanceConsoleConnectionRequest . createInstanceConsoleConnectionDetails , "CreateInstanceConsoleConnectionDetails" , model . CreateInstanceConsoleConnectionDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateInstanceConsoleConnectionResponse > { } , body : await response . json ( ) , bodyKey : "instanceConsoleConnection" , bodyModel : model . InstanceConsoleConnection , type : "model.InstanceConsoleConnection" , 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 DeleteAppCatalogSubscriptionRequest return throws example Click  https to see how to use DeleteAppCatalogSubscription API.
      public async deleteAppCatalogSubscription ( deleteAppCatalogSubscriptionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#deleteAppCatalogSubscription." ) ; const pathParams = { } ; const queryParams = { "listingId" : deleteAppCatalogSubscriptionRequest . listingId , "compartmentId" : deleteAppCatalogSubscriptionRequest . compartmentId , "resourceVersion" : deleteAppCatalogSubscriptionRequest . resourceVersion } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteAppCatalogSubscriptionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/appCatalogSubscriptions" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteAppCatalogSubscriptionResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteComputeCapacityReservationRequest return throws example Click  https to see how to use DeleteComputeCapacityReservation API.
      public async deleteComputeCapacityReservation ( deleteComputeCapacityReservationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#deleteComputeCapacityReservation." ) ; const pathParams = { "{capacityReservationId}" : deleteComputeCapacityReservationRequest . capacityReservationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteComputeCapacityReservationRequest . opcRequestId , "if-match" : deleteComputeCapacityReservationRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteComputeCapacityReservationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeCapacityReservations/{capacityReservationId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteComputeCapacityReservationResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteComputeImageCapabilitySchemaRequest return throws example Click  https to see how to use DeleteComputeImageCapabilitySchema API.
      public async deleteComputeImageCapabilitySchema ( deleteComputeImageCapabilitySchemaRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#deleteComputeImageCapabilitySchema." ) ; const pathParams = { "{computeImageCapabilitySchemaId}" : deleteComputeImageCapabilitySchemaRequest . computeImageCapabilitySchemaId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteComputeImageCapabilitySchemaRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteComputeImageCapabilitySchemaRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeImageCapabilitySchemas/{computeImageCapabilitySchemaId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteComputeImageCapabilitySchemaResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteConsoleHistoryRequest return throws example Click  https to see how to use DeleteConsoleHistory API.
      public async deleteConsoleHistory ( deleteConsoleHistoryRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#deleteConsoleHistory." ) ; const pathParams = { "{instanceConsoleHistoryId}" : deleteConsoleHistoryRequest . instanceConsoleHistoryId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteConsoleHistoryRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteConsoleHistoryRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConsoleHistories/{instanceConsoleHistoryId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteConsoleHistoryResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteDedicatedVmHostRequest return throws example Click  https to see how to use DeleteDedicatedVmHost API.
        public async deleteDedicatedVmHost ( deleteDedicatedVmHostRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#deleteDedicatedVmHost." ) ; const pathParams = { "{dedicatedVmHostId}" : deleteDedicatedVmHostRequest . dedicatedVmHostId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteDedicatedVmHostRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteDedicatedVmHostRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dedicatedVmHosts/{dedicatedVmHostId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteDedicatedVmHostResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteImageRequest return throws example Click  https to see how to use DeleteImage API.
      public async deleteImage ( deleteImageRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#deleteImage." ) ; const pathParams = { "{imageId}" : deleteImageRequest . imageId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteImageRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteImageRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/images/{imageId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteImageResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteInstanceConsoleConnectionRequest return throws example Click  https to see how to use DeleteInstanceConsoleConnection API.
      public async deleteInstanceConsoleConnection ( deleteInstanceConsoleConnectionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#deleteInstanceConsoleConnection." ) ; const pathParams = { "{instanceConsoleConnectionId}" : deleteInstanceConsoleConnectionRequest . instanceConsoleConnectionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteInstanceConsoleConnectionRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteInstanceConsoleConnectionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConsoleConnections/{instanceConsoleConnectionId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteInstanceConsoleConnectionResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DetachBootVolumeRequest return throws example Click  https to see how to use DetachBootVolume API.
        public async detachBootVolume ( detachBootVolumeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#detachBootVolume." ) ; const pathParams = { "{bootVolumeAttachmentId}" : detachBootVolumeRequest . bootVolumeAttachmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : detachBootVolumeRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , detachBootVolumeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumeAttachments/{bootVolumeAttachmentId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DetachBootVolumeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Detaches and deletes the specified secondary VNIC.
     * This operation cannot be used on the instance's primary VNIC.
     * When you terminate an instance, all attached VNICs (primary
     * and secondary) are automatically detached and deleted.
     * <p>
     **Important:** If the VNIC has a
     *  PrivateIp that is the
     * [target of a route rule](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip),
     * deleting the VNIC causes that route rule to blackhole and the traffic
     * will be dropped.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param DetachVnicRequest return throws example Click  https to see how to use DetachVnic API.
      public async detachVnic ( detachVnicRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#detachVnic." ) ; const pathParams = { "{vnicAttachmentId}" : detachVnicRequest . vnicAttachmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : detachVnicRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , detachVnicRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vnicAttachments/{vnicAttachmentId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DetachVnicResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DetachVolumeRequest return throws example Click  https to see how to use DetachVolume API.
        public async detachVolume ( detachVolumeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#detachVolume." ) ; const pathParams = { "{volumeAttachmentId}" : detachVolumeRequest . volumeAttachmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : detachVolumeRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , detachVolumeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeAttachments/{volumeAttachmentId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DetachVolumeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ExportImageRequest return throws example Click  https to see how to use ExportImage API.
        public async exportImage ( exportImageRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#exportImage." ) ; const pathParams = { "{imageId}" : exportImageRequest . imageId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : exportImageRequest . opcRetryToken , "if-match" : exportImageRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , exportImageRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/images/{imageId}/actions/export" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( exportImageRequest . exportImageDetails , "ExportImageDetails" , model . ExportImageDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ExportImageResponse > { } , body : await response . json ( ) , bodyKey : "image" , bodyModel : model . Image , type : "model.Image" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetAppCatalogListingRequest return throws example Click  https to see how to use GetAppCatalogListing API.
      public async getAppCatalogListing ( getAppCatalogListingRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getAppCatalogListing." ) ; const pathParams = { "{listingId}" : getAppCatalogListingRequest . listingId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getAppCatalogListingRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/appCatalogListings/{listingId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetAppCatalogListingResponse > { } , body : await response . json ( ) , bodyKey : "appCatalogListing" , bodyModel : model . AppCatalogListing , type : "model.AppCatalogListing" , 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 GetAppCatalogListingAgreementsRequest return throws example Click  https to see how to use GetAppCatalogListingAgreements API.
      public async getAppCatalogListingAgreements ( getAppCatalogListingAgreementsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getAppCatalogListingAgreements." ) ; const pathParams = { "{listingId}" : getAppCatalogListingAgreementsRequest . listingId , "{resourceVersion}" : getAppCatalogListingAgreementsRequest . resourceVersion } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getAppCatalogListingAgreementsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/appCatalogListings/{listingId}/resourceVersions/{resourceVersion}/agreements" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetAppCatalogListingAgreementsResponse > { } , body : await response . json ( ) , bodyKey : "appCatalogListingResourceVersionAgreements" , bodyModel : model . AppCatalogListingResourceVersionAgreements , type : "model.AppCatalogListingResourceVersionAgreements" , 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 GetAppCatalogListingResourceVersionRequest return throws example Click  https to see how to use GetAppCatalogListingResourceVersion API.
      public async getAppCatalogListingResourceVersion ( getAppCatalogListingResourceVersionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getAppCatalogListingResourceVersion." ) ; const pathParams = { "{listingId}" : getAppCatalogListingResourceVersionRequest . listingId , "{resourceVersion}" : getAppCatalogListingResourceVersionRequest . resourceVersion } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getAppCatalogListingResourceVersionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/appCatalogListings/{listingId}/resourceVersions/{resourceVersion}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetAppCatalogListingResourceVersionResponse > { } , body : await response . json ( ) , bodyKey : "appCatalogListingResourceVersion" , bodyModel : model . AppCatalogListingResourceVersion , type : "model.AppCatalogListingResourceVersion" , 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 GetBootVolumeAttachmentRequest return throws example Click  https to see how to use GetBootVolumeAttachment API.
      public async getBootVolumeAttachment ( getBootVolumeAttachmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getBootVolumeAttachment." ) ; const pathParams = { "{bootVolumeAttachmentId}" : getBootVolumeAttachmentRequest . bootVolumeAttachmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getBootVolumeAttachmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumeAttachments/{bootVolumeAttachmentId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetBootVolumeAttachmentResponse > { } , body : await response . json ( ) , bodyKey : "bootVolumeAttachment" , bodyModel : model . BootVolumeAttachment , type : "model.BootVolumeAttachment" , 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 GetComputeCapacityReservationRequest return throws example Click  https to see how to use GetComputeCapacityReservation API.
      public async getComputeCapacityReservation ( getComputeCapacityReservationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getComputeCapacityReservation." ) ; const pathParams = { "{capacityReservationId}" : getComputeCapacityReservationRequest . capacityReservationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getComputeCapacityReservationRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getComputeCapacityReservationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeCapacityReservations/{capacityReservationId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetComputeCapacityReservationResponse > { } , body : await response . json ( ) , bodyKey : "computeCapacityReservation" , bodyModel : model . ComputeCapacityReservation , type : "model.ComputeCapacityReservation" , 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 GetComputeGlobalImageCapabilitySchemaRequest return throws example Click  https to see how to use GetComputeGlobalImageCapabilitySchema API.
      public async getComputeGlobalImageCapabilitySchema ( getComputeGlobalImageCapabilitySchemaRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getComputeGlobalImageCapabilitySchema." ) ; const pathParams = { "{computeGlobalImageCapabilitySchemaId}" : getComputeGlobalImageCapabilitySchemaRequest . computeGlobalImageCapabilitySchemaId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getComputeGlobalImageCapabilitySchemaRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeGlobalImageCapabilitySchemas/{computeGlobalImageCapabilitySchemaId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetComputeGlobalImageCapabilitySchemaResponse > { } , body : await response . json ( ) , bodyKey : "computeGlobalImageCapabilitySchema" , bodyModel : model . ComputeGlobalImageCapabilitySchema , type : "model.ComputeGlobalImageCapabilitySchema" , 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 GetComputeGlobalImageCapabilitySchemaVersionRequest return throws example Click  https to see how to use GetComputeGlobalImageCapabilitySchemaVersion API.
      public async getComputeGlobalImageCapabilitySchemaVersion ( getComputeGlobalImageCapabilitySchemaVersionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getComputeGlobalImageCapabilitySchemaVersion." ) ; const pathParams = { "{computeGlobalImageCapabilitySchemaId}" : getComputeGlobalImageCapabilitySchemaVersionRequest . computeGlobalImageCapabilitySchemaId , "{computeGlobalImageCapabilitySchemaVersionName}" : getComputeGlobalImageCapabilitySchemaVersionRequest . computeGlobalImageCapabilitySchemaVersionName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getComputeGlobalImageCapabilitySchemaVersionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeGlobalImageCapabilitySchemas/{computeGlobalImageCapabilitySchemaId}/versions/{computeGlobalImageCapabilitySchemaVersionName}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetComputeGlobalImageCapabilitySchemaVersionResponse > { } , body : await response . json ( ) , bodyKey : "computeGlobalImageCapabilitySchemaVersion" , bodyModel : model . ComputeGlobalImageCapabilitySchemaVersion , type : "model.ComputeGlobalImageCapabilitySchemaVersion" , 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 GetComputeImageCapabilitySchemaRequest return throws example Click  https to see how to use GetComputeImageCapabilitySchema API.
      public async getComputeImageCapabilitySchema ( getComputeImageCapabilitySchemaRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getComputeImageCapabilitySchema." ) ; const pathParams = { "{computeImageCapabilitySchemaId}" : getComputeImageCapabilitySchemaRequest . computeImageCapabilitySchemaId } ; const queryParams = { "isMergeEnabled" : getComputeImageCapabilitySchemaRequest . isMergeEnabled } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getComputeImageCapabilitySchemaRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeImageCapabilitySchemas/{computeImageCapabilitySchemaId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetComputeImageCapabilitySchemaResponse > { } , body : await response . json ( ) , bodyKey : "computeImageCapabilitySchema" , bodyModel : model . ComputeImageCapabilitySchema , type : "model.ComputeImageCapabilitySchema" , 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 ; } } /**
     * Shows the metadata for the specified console history.
     * See  {@link #captureConsoleHistory(CaptureConsoleHistoryRequest) captureConsoleHistory} * for details about using the console history operations.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param GetConsoleHistoryRequest return throws example Click  https to see how to use GetConsoleHistory API.
      public async getConsoleHistory ( getConsoleHistoryRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getConsoleHistory." ) ; const pathParams = { "{instanceConsoleHistoryId}" : getConsoleHistoryRequest . instanceConsoleHistoryId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getConsoleHistoryRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConsoleHistories/{instanceConsoleHistoryId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetConsoleHistoryResponse > { } , body : await response . json ( ) , bodyKey : "consoleHistory" , bodyModel : model . ConsoleHistory , type : "model.ConsoleHistory" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Gets the actual console history data (not the metadata).
     * See  {@link #captureConsoleHistory(CaptureConsoleHistoryRequest) captureConsoleHistory} * for details about using the console history operations.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param GetConsoleHistoryContentRequest return throws example Click  https to see how to use GetConsoleHistoryContent API.
      public async getConsoleHistoryContent ( getConsoleHistoryContentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getConsoleHistoryContent." ) ; const pathParams = { "{instanceConsoleHistoryId}" : getConsoleHistoryContentRequest . instanceConsoleHistoryId } ; const queryParams = { "offset" : getConsoleHistoryContentRequest . offset , "length" : getConsoleHistoryContentRequest . length } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getConsoleHistoryContentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConsoleHistories/{instanceConsoleHistoryId}/data" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetConsoleHistoryContentResponse > { } , body : await response . json ( ) , bodyKey : "value" , bodyModel : "string" , type : "string" , responseHeaders : [ { value : response . headers . get ( "opc-bytes-remaining" ) , key : "opcBytesRemaining" , dataType : "number" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetDedicatedVmHostRequest return throws example Click  https to see how to use GetDedicatedVmHost API.
      public async getDedicatedVmHost ( getDedicatedVmHostRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getDedicatedVmHost." ) ; const pathParams = { "{dedicatedVmHostId}" : getDedicatedVmHostRequest . dedicatedVmHostId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getDedicatedVmHostRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDedicatedVmHostRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dedicatedVmHosts/{dedicatedVmHostId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDedicatedVmHostResponse > { } , body : await response . json ( ) , bodyKey : "dedicatedVmHost" , bodyModel : model . DedicatedVmHost , type : "model.DedicatedVmHost" , 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 GetImageRequest return throws example Click  https to see how to use GetImage API.
      public async getImage ( getImageRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getImage." ) ; const pathParams = { "{imageId}" : getImageRequest . imageId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getImageRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/images/{imageId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetImageResponse > { } , body : await response . json ( ) , bodyKey : "image" , bodyModel : model . Image , type : "model.Image" , 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 GetImageShapeCompatibilityEntryRequest return throws example Click  https to see how to use GetImageShapeCompatibilityEntry API.
      public async getImageShapeCompatibilityEntry ( getImageShapeCompatibilityEntryRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getImageShapeCompatibilityEntry." ) ; const pathParams = { "{imageId}" : getImageShapeCompatibilityEntryRequest . imageId , "{shapeName}" : getImageShapeCompatibilityEntryRequest . shapeName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getImageShapeCompatibilityEntryRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getImageShapeCompatibilityEntryRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/images/{imageId}/shapes/{shapeName}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetImageShapeCompatibilityEntryResponse > { } , body : await response . json ( ) , bodyKey : "imageShapeCompatibilityEntry" , bodyModel : model . ImageShapeCompatibilityEntry , type : "model.ImageShapeCompatibilityEntry" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetInstanceRequest return throws example Click  https to see how to use GetInstance API.
      public async getInstance ( getInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getInstance." ) ; const pathParams = { "{instanceId}" : getInstanceRequest . instanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instances/{instanceId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetInstanceResponse > { } , body : await response . json ( ) , bodyKey : "instance" , bodyModel : model . Instance , type : "model.Instance" , 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 GetInstanceConsoleConnectionRequest return throws example Click  https to see how to use GetInstanceConsoleConnection API.
      public async getInstanceConsoleConnection ( getInstanceConsoleConnectionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getInstanceConsoleConnection." ) ; const pathParams = { "{instanceConsoleConnectionId}" : getInstanceConsoleConnectionRequest . instanceConsoleConnectionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getInstanceConsoleConnectionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConsoleConnections/{instanceConsoleConnectionId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetInstanceConsoleConnectionResponse > { } , body : await response . json ( ) , bodyKey : "instanceConsoleConnection" , bodyModel : model . InstanceConsoleConnection , type : "model.InstanceConsoleConnection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetMeasuredBootReportRequest return throws example Click  https to see how to use GetMeasuredBootReport API.
      public async getMeasuredBootReport ( getMeasuredBootReportRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getMeasuredBootReport." ) ; const pathParams = { "{instanceId}" : getMeasuredBootReportRequest . instanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getMeasuredBootReportRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getMeasuredBootReportRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instances/{instanceId}/measuredBootReport" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetMeasuredBootReportResponse > { } , body : await response . json ( ) , bodyKey : "measuredBootReport" , bodyModel : model . MeasuredBootReport , type : "model.MeasuredBootReport" , 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 GetVnicAttachmentRequest return throws example Click  https to see how to use GetVnicAttachment API.
      public async getVnicAttachment ( getVnicAttachmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getVnicAttachment." ) ; const pathParams = { "{vnicAttachmentId}" : getVnicAttachmentRequest . vnicAttachmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVnicAttachmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vnicAttachments/{vnicAttachmentId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVnicAttachmentResponse > { } , body : await response . json ( ) , bodyKey : "vnicAttachment" , bodyModel : model . VnicAttachment , type : "model.VnicAttachment" , 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 GetVolumeAttachmentRequest return throws example Click  https to see how to use GetVolumeAttachment API.
      public async getVolumeAttachment ( getVolumeAttachmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getVolumeAttachment." ) ; const pathParams = { "{volumeAttachmentId}" : getVolumeAttachmentRequest . volumeAttachmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVolumeAttachmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeAttachments/{volumeAttachmentId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVolumeAttachmentResponse > { } , body : await response . json ( ) , bodyKey : "volumeAttachment" , bodyModel : model . VolumeAttachment , type : "model.VolumeAttachment" , 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 GetWindowsInstanceInitialCredentialsRequest return throws example Click  https to see how to use GetWindowsInstanceInitialCredentials API.
      public async getWindowsInstanceInitialCredentials ( getWindowsInstanceInitialCredentialsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#getWindowsInstanceInitialCredentials." ) ; const pathParams = { "{instanceId}" : getWindowsInstanceInitialCredentialsRequest . instanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getWindowsInstanceInitialCredentialsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instances/{instanceId}/initialCredentials" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetWindowsInstanceInitialCredentialsResponse > { } , body : await response . json ( ) , bodyKey : "instanceCredentials" , bodyModel : model . InstanceCredentials , type : "model.InstanceCredentials" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param InstanceActionRequest return throws example Click  https to see how to use InstanceAction API.
        public async instanceAction ( instanceActionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#instanceAction." ) ; const pathParams = { "{instanceId}" : instanceActionRequest . instanceId } ; const queryParams = { "action" : instanceActionRequest . action } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : instanceActionRequest . opcRetryToken , "if-match" : instanceActionRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , instanceActionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instances/{instanceId}" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . InstanceActionResponse > { } , body : await response . json ( ) , bodyKey : "instance" , bodyModel : model . Instance , type : "model.Instance" , 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 ; } } /**
       * Creates a new instance in the specified compartment and the specified availability domain.
  * For general information about instances, see
  * [Overview of the Compute Service](https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm).
  * <p>
  For information about access control and compartments, see
  * [Overview of the IAM Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
  * <p>
  For information about availability domains, see
  * [Regions and Availability Domains](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm).
  * To get a list of availability domains, use the `ListAvailabilityDomains` operation
  * in the Identity and Access Management Service API.
  * <p>
  All Oracle Cloud Infrastructure resources, including instances, get an Oracle-assigned,
  * unique ID called an Oracle Cloud Identifier (OCID).
  * When you create a resource, you can find its OCID in the response. You can
  * also retrieve a resource's OCID by using a List API operation
  * on that resource type, or by viewing the resource in the Console.
  * <p>
  To launch an instance using an image or a boot volume use the `sourceDetails` parameter in  LaunchInstanceDetails .
  * <p>
  When you launch an instance, it is automatically attached to a virtual
  * network interface card (VNIC), called the *primary VNIC*. The VNIC
  * has a private IP address from the subnet's CIDR. You can either assign a
  * private IP address of your choice or let Oracle automatically assign one.
  * You can choose whether the instance has a public IP address. To retrieve the
  * addresses, use the  {@link #listVnicAttachments(ListVnicAttachmentsRequest) listVnicAttachments} * operation to get the VNIC ID for the instance, and then call
  *  {@link #getVnic(GetVnicRequest) getVnic} with the VNIC ID.
  * <p>
  You can later add secondary VNICs to an instance. For more information, see
  * [Virtual Network Interface Cards (VNICs)](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm).
  * <p>
  To launch an instance from a Marketplace image listing, you must provide the image ID of the
  * listing resource version that you want, but you also must subscribe to the listing before you try
  * to launch the instance. To subscribe to the listing, use the  {@link #getAppCatalogListingAgreements(GetAppCatalogListingAgreementsRequest) getAppCatalogListingAgreements} * operation to get the signature for the terms of use agreement for the desired listing resource version.
  * Then, call  {@link #createAppCatalogSubscription(CreateAppCatalogSubscriptionRequest) createAppCatalogSubscription} * with the signature. To get the image ID for the LaunchInstance operation, call
  *  {@link #getAppCatalogListingResourceVersion(GetAppCatalogListingResourceVersionRequest) getAppCatalogListingResourceVersion} .
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param LaunchInstanceRequest return throws example Click  https to see how to use LaunchInstance API.
        public async launchInstance ( launchInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#launchInstance." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : launchInstanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , launchInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instances" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( launchInstanceRequest . launchInstanceDetails , "LaunchInstanceDetails" , model . LaunchInstanceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . LaunchInstanceResponse > { } , body : await response . json ( ) , bodyKey : "instance" , bodyModel : model . Instance , type : "model.Instance" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListAppCatalogListingResourceVersionsRequest return throws example Click  https to see how to use ListAppCatalogListingResourceVersions API.
      public async listAppCatalogListingResourceVersions ( listAppCatalogListingResourceVersionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listAppCatalogListingResourceVersions." ) ; const pathParams = { "{listingId}" : listAppCatalogListingResourceVersionsRequest . listingId } ; const queryParams = { "limit" : listAppCatalogListingResourceVersionsRequest . limit , "page" : listAppCatalogListingResourceVersionsRequest . page , "sortOrder" : listAppCatalogListingResourceVersionsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAppCatalogListingResourceVersionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/appCatalogListings/{listingId}/resourceVersions" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAppCatalogListingResourceVersionsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . AppCatalogListingResourceVersionSummary , type : "Array<model.AppCatalogListingResourceVersionSummary>" , 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 request public listAllAppCatalogListingResourceVersions ( request ) { return paginateRecords ( request , req => this . listAppCatalogListingResourceVersions ( req ) ) ; } param request public listAllAppCatalogListingResourceVersionsResponses ( request ) { return paginateResponses ( request , req => this . listAppCatalogListingResourceVersions ( req ) ) ; } param request public listAppCatalogListingResourceVersionsRecordIterator ( request ) { return paginateRecords ( request , req => this . listAppCatalogListingResourceVersions ( req ) ) ; } param request public listAppCatalogListingResourceVersionsResponseIterator ( request ) { return paginateResponses ( request , req => this . listAppCatalogListingResourceVersions ( req ) ) ; } param ListAppCatalogListingsRequest return throws example Click  https to see how to use ListAppCatalogListings API.
      public async listAppCatalogListings ( listAppCatalogListingsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listAppCatalogListings." ) ; const pathParams = { } ; const queryParams = { "limit" : listAppCatalogListingsRequest . limit , "page" : listAppCatalogListingsRequest . page , "sortOrder" : listAppCatalogListingsRequest . sortOrder , "publisherName" : listAppCatalogListingsRequest . publisherName , "publisherType" : listAppCatalogListingsRequest . publisherType , "displayName" : listAppCatalogListingsRequest . displayName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAppCatalogListingsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/appCatalogListings" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAppCatalogListingsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . AppCatalogListingSummary , type : "Array<model.AppCatalogListingSummary>" , 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 request public listAllAppCatalogListings ( request ) { return paginateRecords ( request , req => this . listAppCatalogListings ( req ) ) ; } param request public listAllAppCatalogListingsResponses ( request ) { return paginateResponses ( request , req => this . listAppCatalogListings ( req ) ) ; } param request public listAppCatalogListingsRecordIterator ( request ) { return paginateRecords ( request , req => this . listAppCatalogListings ( req ) ) ; } param request public listAppCatalogListingsResponseIterator ( request ) { return paginateResponses ( request , req => this . listAppCatalogListings ( req ) ) ; } param ListAppCatalogSubscriptionsRequest return throws example Click  https to see how to use ListAppCatalogSubscriptions API.
      public async listAppCatalogSubscriptions ( listAppCatalogSubscriptionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listAppCatalogSubscriptions." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listAppCatalogSubscriptionsRequest . compartmentId , "limit" : listAppCatalogSubscriptionsRequest . limit , "page" : listAppCatalogSubscriptionsRequest . page , "sortBy" : listAppCatalogSubscriptionsRequest . sortBy , "sortOrder" : listAppCatalogSubscriptionsRequest . sortOrder , "listingId" : listAppCatalogSubscriptionsRequest . listingId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAppCatalogSubscriptionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/appCatalogSubscriptions" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAppCatalogSubscriptionsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . AppCatalogSubscriptionSummary , type : "Array<model.AppCatalogSubscriptionSummary>" , 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 request public listAllAppCatalogSubscriptions ( request ) { return paginateRecords ( request , req => this . listAppCatalogSubscriptions ( req ) ) ; } param request public listAllAppCatalogSubscriptionsResponses ( request ) { return paginateResponses ( request , req => this . listAppCatalogSubscriptions ( req ) ) ; } param request public listAppCatalogSubscriptionsRecordIterator ( request ) { return paginateRecords ( request , req => this . listAppCatalogSubscriptions ( req ) ) ; } param request public listAppCatalogSubscriptionsResponseIterator ( request ) { return paginateResponses ( request , req => this . listAppCatalogSubscriptions ( req ) ) ; } param ListBootVolumeAttachmentsRequest return throws example Click  https to see how to use ListBootVolumeAttachments API.
      public async listBootVolumeAttachments ( listBootVolumeAttachmentsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listBootVolumeAttachments." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listBootVolumeAttachmentsRequest . availabilityDomain , "compartmentId" : listBootVolumeAttachmentsRequest . compartmentId , "limit" : listBootVolumeAttachmentsRequest . limit , "page" : listBootVolumeAttachmentsRequest . page , "instanceId" : listBootVolumeAttachmentsRequest . instanceId , "bootVolumeId" : listBootVolumeAttachmentsRequest . bootVolumeId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listBootVolumeAttachmentsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/bootVolumeAttachments" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListBootVolumeAttachmentsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . BootVolumeAttachment , type : "Array<model.BootVolumeAttachment>" , 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 request public listAllBootVolumeAttachments ( request ) { return paginateRecords ( request , req => this . listBootVolumeAttachments ( req ) ) ; } param request public listAllBootVolumeAttachmentsResponses ( request ) { return paginateResponses ( request , req => this . listBootVolumeAttachments ( req ) ) ; } param request public listBootVolumeAttachmentsRecordIterator ( request ) { return paginateRecords ( request , req => this . listBootVolumeAttachments ( req ) ) ; } param request public listBootVolumeAttachmentsResponseIterator ( request ) { return paginateResponses ( request , req => this . listBootVolumeAttachments ( req ) ) ; } param ListComputeCapacityReservationInstanceShapesRequest return throws example Click  https to see how to use ListComputeCapacityReservationInstanceShapes API.
      public async listComputeCapacityReservationInstanceShapes ( listComputeCapacityReservationInstanceShapesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listComputeCapacityReservationInstanceShapes." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listComputeCapacityReservationInstanceShapesRequest . availabilityDomain , "compartmentId" : listComputeCapacityReservationInstanceShapesRequest . compartmentId , "limit" : listComputeCapacityReservationInstanceShapesRequest . limit , "page" : listComputeCapacityReservationInstanceShapesRequest . page , "displayName" : listComputeCapacityReservationInstanceShapesRequest . displayName , "sortBy" : listComputeCapacityReservationInstanceShapesRequest . sortBy , "sortOrder" : listComputeCapacityReservationInstanceShapesRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listComputeCapacityReservationInstanceShapesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listComputeCapacityReservationInstanceShapesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeCapacityReservationInstanceShapes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListComputeCapacityReservationInstanceShapesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ComputeCapacityReservationInstanceShapeSummary , type : "Array<model.ComputeCapacityReservationInstanceShapeSummary>" , 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 request public listAllComputeCapacityReservationInstanceShapes ( request ) { return paginateRecords ( request , req => this . listComputeCapacityReservationInstanceShapes ( req ) ) ; } param request public listAllComputeCapacityReservationInstanceShapesResponses ( request ) { return paginateResponses ( request , req => this . listComputeCapacityReservationInstanceShapes ( req ) ) ; } param request public listComputeCapacityReservationInstanceShapesRecordIterator ( request ) { return paginateRecords ( request , req => this . listComputeCapacityReservationInstanceShapes ( req ) ) ; } param request public listComputeCapacityReservationInstanceShapesResponseIterator ( request ) { return paginateResponses ( request , req => this . listComputeCapacityReservationInstanceShapes ( req ) ) ; } param ListComputeCapacityReservationInstancesRequest return throws example Click  https to see how to use ListComputeCapacityReservationInstances API.
      public async listComputeCapacityReservationInstances ( listComputeCapacityReservationInstancesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listComputeCapacityReservationInstances." ) ; const pathParams = { "{capacityReservationId}" : listComputeCapacityReservationInstancesRequest . capacityReservationId } ; const queryParams = { "availabilityDomain" : listComputeCapacityReservationInstancesRequest . availabilityDomain , "compartmentId" : listComputeCapacityReservationInstancesRequest . compartmentId , "limit" : listComputeCapacityReservationInstancesRequest . limit , "page" : listComputeCapacityReservationInstancesRequest . page , "sortBy" : listComputeCapacityReservationInstancesRequest . sortBy , "sortOrder" : listComputeCapacityReservationInstancesRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listComputeCapacityReservationInstancesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listComputeCapacityReservationInstancesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeCapacityReservations/{capacityReservationId}/instances" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListComputeCapacityReservationInstancesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . CapacityReservationInstanceSummary , type : "Array<model.CapacityReservationInstanceSummary>" , 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 request public listAllComputeCapacityReservationInstances ( request ) { return paginateRecords ( request , req => this . listComputeCapacityReservationInstances ( req ) ) ; } param request public listAllComputeCapacityReservationInstancesResponses ( request ) { return paginateResponses ( request , req => this . listComputeCapacityReservationInstances ( req ) ) ; } param request public listComputeCapacityReservationInstancesRecordIterator ( request ) { return paginateRecords ( request , req => this . listComputeCapacityReservationInstances ( req ) ) ; } param request public listComputeCapacityReservationInstancesResponseIterator ( request ) { return paginateResponses ( request , req => this . listComputeCapacityReservationInstances ( req ) ) ; } param ListComputeCapacityReservationsRequest return throws example Click  https to see how to use ListComputeCapacityReservations API.
        public async listComputeCapacityReservations ( listComputeCapacityReservationsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listComputeCapacityReservations." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listComputeCapacityReservationsRequest . availabilityDomain , "compartmentId" : listComputeCapacityReservationsRequest . compartmentId , "lifecycleState" : listComputeCapacityReservationsRequest . lifecycleState , "displayName" : listComputeCapacityReservationsRequest . displayName , "limit" : listComputeCapacityReservationsRequest . limit , "page" : listComputeCapacityReservationsRequest . page , "sortBy" : listComputeCapacityReservationsRequest . sortBy , "sortOrder" : listComputeCapacityReservationsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listComputeCapacityReservationsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listComputeCapacityReservationsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeCapacityReservations" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListComputeCapacityReservationsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ComputeCapacityReservationSummary , type : "Array<model.ComputeCapacityReservationSummary>" , 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 request public listAllComputeCapacityReservations ( request ) { return paginateRecords ( request , req => this . listComputeCapacityReservations ( req ) ) ; } param request public listAllComputeCapacityReservationsResponses ( request ) { return paginateResponses ( request , req => this . listComputeCapacityReservations ( req ) ) ; } param request public listComputeCapacityReservationsRecordIterator ( request ) { return paginateRecords ( request , req => this . listComputeCapacityReservations ( req ) ) ; } param request public listComputeCapacityReservationsResponseIterator ( request ) { return paginateResponses ( request , req => this . listComputeCapacityReservations ( req ) ) ; } param ListComputeGlobalImageCapabilitySchemaVersionsRequest return throws example Click  https to see how to use ListComputeGlobalImageCapabilitySchemaVersions API.
      public async listComputeGlobalImageCapabilitySchemaVersions ( listComputeGlobalImageCapabilitySchemaVersionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listComputeGlobalImageCapabilitySchemaVersions." ) ; const pathParams = { "{computeGlobalImageCapabilitySchemaId}" : listComputeGlobalImageCapabilitySchemaVersionsRequest . computeGlobalImageCapabilitySchemaId } ; const queryParams = { "displayName" : listComputeGlobalImageCapabilitySchemaVersionsRequest . displayName , "limit" : listComputeGlobalImageCapabilitySchemaVersionsRequest . limit , "page" : listComputeGlobalImageCapabilitySchemaVersionsRequest . page , "sortBy" : listComputeGlobalImageCapabilitySchemaVersionsRequest . sortBy , "sortOrder" : listComputeGlobalImageCapabilitySchemaVersionsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listComputeGlobalImageCapabilitySchemaVersionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeGlobalImageCapabilitySchemas/{computeGlobalImageCapabilitySchemaId}/versions" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListComputeGlobalImageCapabilitySchemaVersionsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ComputeGlobalImageCapabilitySchemaVersionSummary , type : "Array<model.ComputeGlobalImageCapabilitySchemaVersionSummary>" , 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 request public listAllComputeGlobalImageCapabilitySchemaVersions ( request ) { return paginateRecords ( request , req => this . listComputeGlobalImageCapabilitySchemaVersions ( req ) ) ; } param request public listAllComputeGlobalImageCapabilitySchemaVersionsResponses ( request ) { return paginateResponses ( request , req => this . listComputeGlobalImageCapabilitySchemaVersions ( req ) ) ; } param request public listComputeGlobalImageCapabilitySchemaVersionsRecordIterator ( request ) { return paginateRecords ( request , req => this . listComputeGlobalImageCapabilitySchemaVersions ( req ) ) ; } param request public listComputeGlobalImageCapabilitySchemaVersionsResponseIterator ( request ) { return paginateResponses ( request , req => this . listComputeGlobalImageCapabilitySchemaVersions ( req ) ) ; } param ListComputeGlobalImageCapabilitySchemasRequest return throws example Click  https to see how to use ListComputeGlobalImageCapabilitySchemas API.
      public async listComputeGlobalImageCapabilitySchemas ( listComputeGlobalImageCapabilitySchemasRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listComputeGlobalImageCapabilitySchemas." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listComputeGlobalImageCapabilitySchemasRequest . compartmentId , "displayName" : listComputeGlobalImageCapabilitySchemasRequest . displayName , "limit" : listComputeGlobalImageCapabilitySchemasRequest . limit , "page" : listComputeGlobalImageCapabilitySchemasRequest . page , "sortBy" : listComputeGlobalImageCapabilitySchemasRequest . sortBy , "sortOrder" : listComputeGlobalImageCapabilitySchemasRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listComputeGlobalImageCapabilitySchemasRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeGlobalImageCapabilitySchemas" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListComputeGlobalImageCapabilitySchemasResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ComputeGlobalImageCapabilitySchemaSummary , type : "Array<model.ComputeGlobalImageCapabilitySchemaSummary>" , 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 request public listAllComputeGlobalImageCapabilitySchemas ( request ) { return paginateRecords ( request , req => this . listComputeGlobalImageCapabilitySchemas ( req ) ) ; } param request public listAllComputeGlobalImageCapabilitySchemasResponses ( request ) { return paginateResponses ( request , req => this . listComputeGlobalImageCapabilitySchemas ( req ) ) ; } param request public listComputeGlobalImageCapabilitySchemasRecordIterator ( request ) { return paginateRecords ( request , req => this . listComputeGlobalImageCapabilitySchemas ( req ) ) ; } param request public listComputeGlobalImageCapabilitySchemasResponseIterator ( request ) { return paginateResponses ( request , req => this . listComputeGlobalImageCapabilitySchemas ( req ) ) ; } param ListComputeImageCapabilitySchemasRequest return throws example Click  https to see how to use ListComputeImageCapabilitySchemas API.
      public async listComputeImageCapabilitySchemas ( listComputeImageCapabilitySchemasRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listComputeImageCapabilitySchemas." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listComputeImageCapabilitySchemasRequest . compartmentId , "imageId" : listComputeImageCapabilitySchemasRequest . imageId , "displayName" : listComputeImageCapabilitySchemasRequest . displayName , "limit" : listComputeImageCapabilitySchemasRequest . limit , "page" : listComputeImageCapabilitySchemasRequest . page , "sortBy" : listComputeImageCapabilitySchemasRequest . sortBy , "sortOrder" : listComputeImageCapabilitySchemasRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listComputeImageCapabilitySchemasRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeImageCapabilitySchemas" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListComputeImageCapabilitySchemasResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ComputeImageCapabilitySchemaSummary , type : "Array<model.ComputeImageCapabilitySchemaSummary>" , 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 request public listAllComputeImageCapabilitySchemas ( request ) { return paginateRecords ( request , req => this . listComputeImageCapabilitySchemas ( req ) ) ; } param request public listAllComputeImageCapabilitySchemasResponses ( request ) { return paginateResponses ( request , req => this . listComputeImageCapabilitySchemas ( req ) ) ; } param request public listComputeImageCapabilitySchemasRecordIterator ( request ) { return paginateRecords ( request , req => this . listComputeImageCapabilitySchemas ( req ) ) ; } param request public listComputeImageCapabilitySchemasResponseIterator ( request ) { return paginateResponses ( request , req => this . listComputeImageCapabilitySchemas ( req ) ) ; } param ListConsoleHistoriesRequest return throws example Click  https to see how to use ListConsoleHistories API.
      public async listConsoleHistories ( listConsoleHistoriesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listConsoleHistories." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listConsoleHistoriesRequest . availabilityDomain , "compartmentId" : listConsoleHistoriesRequest . compartmentId , "limit" : listConsoleHistoriesRequest . limit , "page" : listConsoleHistoriesRequest . page , "instanceId" : listConsoleHistoriesRequest . instanceId , "sortBy" : listConsoleHistoriesRequest . sortBy , "sortOrder" : listConsoleHistoriesRequest . sortOrder , "lifecycleState" : listConsoleHistoriesRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listConsoleHistoriesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConsoleHistories" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListConsoleHistoriesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ConsoleHistory , type : "Array<model.ConsoleHistory>" , 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 request public listAllConsoleHistories ( request ) { return paginateRecords ( request , req => this . listConsoleHistories ( req ) ) ; } param request public listAllConsoleHistoriesResponses ( request ) { return paginateResponses ( request , req => this . listConsoleHistories ( req ) ) ; } param request public listConsoleHistoriesRecordIterator ( request ) { return paginateRecords ( request , req => this . listConsoleHistories ( req ) ) ; } param request public listConsoleHistoriesResponseIterator ( request ) { return paginateResponses ( request , req => this . listConsoleHistories ( req ) ) ; } param ListDedicatedVmHostInstanceShapesRequest return throws example Click  https to see how to use ListDedicatedVmHostInstanceShapes API.
      public async listDedicatedVmHostInstanceShapes ( listDedicatedVmHostInstanceShapesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listDedicatedVmHostInstanceShapes." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listDedicatedVmHostInstanceShapesRequest . availabilityDomain , "compartmentId" : listDedicatedVmHostInstanceShapesRequest . compartmentId , "dedicatedVmHostShape" : listDedicatedVmHostInstanceShapesRequest . dedicatedVmHostShape , "limit" : listDedicatedVmHostInstanceShapesRequest . limit , "page" : listDedicatedVmHostInstanceShapesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listDedicatedVmHostInstanceShapesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDedicatedVmHostInstanceShapesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dedicatedVmHostInstanceShapes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDedicatedVmHostInstanceShapesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DedicatedVmHostInstanceShapeSummary , type : "Array<model.DedicatedVmHostInstanceShapeSummary>" , 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 request public listAllDedicatedVmHostInstanceShapes ( request ) { return paginateRecords ( request , req => this . listDedicatedVmHostInstanceShapes ( req ) ) ; } param request public listAllDedicatedVmHostInstanceShapesResponses ( request ) { return paginateResponses ( request , req => this . listDedicatedVmHostInstanceShapes ( req ) ) ; } param request public listDedicatedVmHostInstanceShapesRecordIterator ( request ) { return paginateRecords ( request , req => this . listDedicatedVmHostInstanceShapes ( req ) ) ; } param request public listDedicatedVmHostInstanceShapesResponseIterator ( request ) { return paginateResponses ( request , req => this . listDedicatedVmHostInstanceShapes ( req ) ) ; } param ListDedicatedVmHostInstancesRequest return throws example Click  https to see how to use ListDedicatedVmHostInstances API.
      public async listDedicatedVmHostInstances ( listDedicatedVmHostInstancesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listDedicatedVmHostInstances." ) ; const pathParams = { "{dedicatedVmHostId}" : listDedicatedVmHostInstancesRequest . dedicatedVmHostId } ; const queryParams = { "availabilityDomain" : listDedicatedVmHostInstancesRequest . availabilityDomain , "compartmentId" : listDedicatedVmHostInstancesRequest . compartmentId , "limit" : listDedicatedVmHostInstancesRequest . limit , "page" : listDedicatedVmHostInstancesRequest . page , "sortBy" : listDedicatedVmHostInstancesRequest . sortBy , "sortOrder" : listDedicatedVmHostInstancesRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listDedicatedVmHostInstancesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDedicatedVmHostInstancesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dedicatedVmHosts/{dedicatedVmHostId}/instances" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDedicatedVmHostInstancesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DedicatedVmHostInstanceSummary , type : "Array<model.DedicatedVmHostInstanceSummary>" , 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 request public listAllDedicatedVmHostInstances ( request ) { return paginateRecords ( request , req => this . listDedicatedVmHostInstances ( req ) ) ; } param request public listAllDedicatedVmHostInstancesResponses ( request ) { return paginateResponses ( request , req => this . listDedicatedVmHostInstances ( req ) ) ; } param request public listDedicatedVmHostInstancesRecordIterator ( request ) { return paginateRecords ( request , req => this . listDedicatedVmHostInstances ( req ) ) ; } param request public listDedicatedVmHostInstancesResponseIterator ( request ) { return paginateResponses ( request , req => this . listDedicatedVmHostInstances ( req ) ) ; } param ListDedicatedVmHostShapesRequest return throws example Click  https to see how to use ListDedicatedVmHostShapes API.
      public async listDedicatedVmHostShapes ( listDedicatedVmHostShapesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listDedicatedVmHostShapes." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listDedicatedVmHostShapesRequest . availabilityDomain , "compartmentId" : listDedicatedVmHostShapesRequest . compartmentId , "instanceShapeName" : listDedicatedVmHostShapesRequest . instanceShapeName , "limit" : listDedicatedVmHostShapesRequest . limit , "page" : listDedicatedVmHostShapesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listDedicatedVmHostShapesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDedicatedVmHostShapesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dedicatedVmHostShapes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDedicatedVmHostShapesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DedicatedVmHostShapeSummary , type : "Array<model.DedicatedVmHostShapeSummary>" , 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 request public listAllDedicatedVmHostShapes ( request ) { return paginateRecords ( request , req => this . listDedicatedVmHostShapes ( req ) ) ; } param request public listAllDedicatedVmHostShapesResponses ( request ) { return paginateResponses ( request , req => this . listDedicatedVmHostShapes ( req ) ) ; } param request public listDedicatedVmHostShapesRecordIterator ( request ) { return paginateRecords ( request , req => this . listDedicatedVmHostShapes ( req ) ) ; } param request public listDedicatedVmHostShapesResponseIterator ( request ) { return paginateResponses ( request , req => this . listDedicatedVmHostShapes ( req ) ) ; } param ListDedicatedVmHostsRequest return throws example Click  https to see how to use ListDedicatedVmHosts API.
        public async listDedicatedVmHosts ( listDedicatedVmHostsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listDedicatedVmHosts." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listDedicatedVmHostsRequest . availabilityDomain , "compartmentId" : listDedicatedVmHostsRequest . compartmentId , "lifecycleState" : listDedicatedVmHostsRequest . lifecycleState , "displayName" : listDedicatedVmHostsRequest . displayName , "instanceShapeName" : listDedicatedVmHostsRequest . instanceShapeName , "limit" : listDedicatedVmHostsRequest . limit , "page" : listDedicatedVmHostsRequest . page , "sortBy" : listDedicatedVmHostsRequest . sortBy , "sortOrder" : listDedicatedVmHostsRequest . sortOrder , "remainingMemoryInGBsGreaterThanOrEqualTo" : listDedicatedVmHostsRequest . remainingMemoryInGBsGreaterThanOrEqualTo , "remainingOcpusGreaterThanOrEqualTo" : listDedicatedVmHostsRequest . remainingOcpusGreaterThanOrEqualTo } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listDedicatedVmHostsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDedicatedVmHostsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dedicatedVmHosts" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDedicatedVmHostsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DedicatedVmHostSummary , type : "Array<model.DedicatedVmHostSummary>" , 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 request public listAllDedicatedVmHosts ( request ) { return paginateRecords ( request , req => this . listDedicatedVmHosts ( req ) ) ; } param request public listAllDedicatedVmHostsResponses ( request ) { return paginateResponses ( request , req => this . listDedicatedVmHosts ( req ) ) ; } param request public listDedicatedVmHostsRecordIterator ( request ) { return paginateRecords ( request , req => this . listDedicatedVmHosts ( req ) ) ; } param request public listDedicatedVmHostsResponseIterator ( request ) { return paginateResponses ( request , req => this . listDedicatedVmHosts ( req ) ) ; } param ListImageShapeCompatibilityEntriesRequest return throws example Click  https to see how to use ListImageShapeCompatibilityEntries API.
      public async listImageShapeCompatibilityEntries ( listImageShapeCompatibilityEntriesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listImageShapeCompatibilityEntries." ) ; const pathParams = { "{imageId}" : listImageShapeCompatibilityEntriesRequest . imageId } ; const queryParams = { "limit" : listImageShapeCompatibilityEntriesRequest . limit , "page" : listImageShapeCompatibilityEntriesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listImageShapeCompatibilityEntriesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listImageShapeCompatibilityEntriesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/images/{imageId}/shapes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListImageShapeCompatibilityEntriesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ImageShapeCompatibilitySummary , type : "Array<model.ImageShapeCompatibilitySummary>" , 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 request public listAllImageShapeCompatibilityEntries ( request ) { return paginateRecords ( request , req => this . listImageShapeCompatibilityEntries ( req ) ) ; } param request public listAllImageShapeCompatibilityEntriesResponses ( request ) { return paginateResponses ( request , req => this . listImageShapeCompatibilityEntries ( req ) ) ; } param request public listImageShapeCompatibilityEntriesRecordIterator ( request ) { return paginateRecords ( request , req => this . listImageShapeCompatibilityEntries ( req ) ) ; } param request public listImageShapeCompatibilityEntriesResponseIterator ( request ) { return paginateResponses ( request , req => this . listImageShapeCompatibilityEntries ( req ) ) ; } param ListImagesRequest return throws example Click  https to see how to use ListImages API.
        public async listImages ( listImagesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listImages." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listImagesRequest . compartmentId , "displayName" : listImagesRequest . displayName , "operatingSystem" : listImagesRequest . operatingSystem , "operatingSystemVersion" : listImagesRequest . operatingSystemVersion , "shape" : listImagesRequest . shape , "limit" : listImagesRequest . limit , "page" : listImagesRequest . page , "sortBy" : listImagesRequest . sortBy , "sortOrder" : listImagesRequest . sortOrder , "lifecycleState" : listImagesRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listImagesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/images" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListImagesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Image , type : "Array<model.Image>" , 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 request public listAllImages ( request ) { return paginateRecords ( request , req => this . listImages ( req ) ) ; } param request public listAllImagesResponses ( request ) { return paginateResponses ( request , req => this . listImages ( req ) ) ; } param request public listImagesRecordIterator ( request ) { return paginateRecords ( request , req => this . listImages ( req ) ) ; } param request public listImagesResponseIterator ( request ) { return paginateResponses ( request , req => this . listImages ( req ) ) ; } param ListInstanceConsoleConnectionsRequest return throws example Click  https to see how to use ListInstanceConsoleConnections API.
        public async listInstanceConsoleConnections ( listInstanceConsoleConnectionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listInstanceConsoleConnections." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listInstanceConsoleConnectionsRequest . compartmentId , "instanceId" : listInstanceConsoleConnectionsRequest . instanceId , "limit" : listInstanceConsoleConnectionsRequest . limit , "page" : listInstanceConsoleConnectionsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listInstanceConsoleConnectionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConsoleConnections" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListInstanceConsoleConnectionsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . InstanceConsoleConnection , type : "Array<model.InstanceConsoleConnection>" , 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 request public listAllInstanceConsoleConnections ( request ) { return paginateRecords ( request , req => this . listInstanceConsoleConnections ( req ) ) ; } param request public listAllInstanceConsoleConnectionsResponses ( request ) { return paginateResponses ( request , req => this . listInstanceConsoleConnections ( req ) ) ; } param request public listInstanceConsoleConnectionsRecordIterator ( request ) { return paginateRecords ( request , req => this . listInstanceConsoleConnections ( req ) ) ; } param request public listInstanceConsoleConnectionsResponseIterator ( request ) { return paginateResponses ( request , req => this . listInstanceConsoleConnections ( req ) ) ; } param ListInstanceDevicesRequest return throws example Click  https to see how to use ListInstanceDevices API.
      public async listInstanceDevices ( listInstanceDevicesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listInstanceDevices." ) ; const pathParams = { "{instanceId}" : listInstanceDevicesRequest . instanceId } ; const queryParams = { "isAvailable" : listInstanceDevicesRequest . isAvailable , "name" : listInstanceDevicesRequest . name , "limit" : listInstanceDevicesRequest . limit , "page" : listInstanceDevicesRequest . page , "sortBy" : listInstanceDevicesRequest . sortBy , "sortOrder" : listInstanceDevicesRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listInstanceDevicesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listInstanceDevicesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instances/{instanceId}/devices" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListInstanceDevicesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Device , type : "Array<model.Device>" , 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 request public listAllInstanceDevices ( request ) { return paginateRecords ( request , req => this . listInstanceDevices ( req ) ) ; } param request public listAllInstanceDevicesResponses ( request ) { return paginateResponses ( request , req => this . listInstanceDevices ( req ) ) ; } param request public listInstanceDevicesRecordIterator ( request ) { return paginateRecords ( request , req => this . listInstanceDevices ( req ) ) ; } param request public listInstanceDevicesResponseIterator ( request ) { return paginateResponses ( request , req => this . listInstanceDevices ( req ) ) ; } param ListInstancesRequest return throws example Click  https to see how to use ListInstances API.
      public async listInstances ( listInstancesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listInstances." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listInstancesRequest . availabilityDomain , "capacityReservationId" : listInstancesRequest . capacityReservationId , "compartmentId" : listInstancesRequest . compartmentId , "displayName" : listInstancesRequest . displayName , "limit" : listInstancesRequest . limit , "page" : listInstancesRequest . page , "sortBy" : listInstancesRequest . sortBy , "sortOrder" : listInstancesRequest . sortOrder , "lifecycleState" : listInstancesRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listInstancesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instances" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListInstancesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Instance , type : "Array<model.Instance>" , 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 request public listAllInstances ( request ) { return paginateRecords ( request , req => this . listInstances ( req ) ) ; } param request public listAllInstancesResponses ( request ) { return paginateResponses ( request , req => this . listInstances ( req ) ) ; } param request public listInstancesRecordIterator ( request ) { return paginateRecords ( request , req => this . listInstances ( req ) ) ; } param request public listInstancesResponseIterator ( request ) { return paginateResponses ( request , req => this . listInstances ( req ) ) ; } param ListShapesRequest return throws example Click  https to see how to use ListShapes API.
      public async listShapes ( listShapesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listShapes." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listShapesRequest . availabilityDomain , "compartmentId" : listShapesRequest . compartmentId , "limit" : listShapesRequest . limit , "page" : listShapesRequest . page , "imageId" : listShapesRequest . imageId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listShapesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/shapes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListShapesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Shape , type : "Array<model.Shape>" , 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 request public listAllShapes ( request ) { return paginateRecords ( request , req => this . listShapes ( req ) ) ; } param request public listAllShapesResponses ( request ) { return paginateResponses ( request , req => this . listShapes ( req ) ) ; } param request public listShapesRecordIterator ( request ) { return paginateRecords ( request , req => this . listShapes ( req ) ) ; } param request public listShapesResponseIterator ( request ) { return paginateResponses ( request , req => this . listShapes ( req ) ) ; } param ListVnicAttachmentsRequest return throws example Click  https to see how to use ListVnicAttachments API.
      public async listVnicAttachments ( listVnicAttachmentsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listVnicAttachments." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listVnicAttachmentsRequest . availabilityDomain , "compartmentId" : listVnicAttachmentsRequest . compartmentId , "instanceId" : listVnicAttachmentsRequest . instanceId , "limit" : listVnicAttachmentsRequest . limit , "page" : listVnicAttachmentsRequest . page , "vnicId" : listVnicAttachmentsRequest . vnicId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listVnicAttachmentsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vnicAttachments" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListVnicAttachmentsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . VnicAttachment , type : "Array<model.VnicAttachment>" , 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 request public listAllVnicAttachments ( request ) { return paginateRecords ( request , req => this . listVnicAttachments ( req ) ) ; } param request public listAllVnicAttachmentsResponses ( request ) { return paginateResponses ( request , req => this . listVnicAttachments ( req ) ) ; } param request public listVnicAttachmentsRecordIterator ( request ) { return paginateRecords ( request , req => this . listVnicAttachments ( req ) ) ; } param request public listVnicAttachmentsResponseIterator ( request ) { return paginateResponses ( request , req => this . listVnicAttachments ( req ) ) ; } /**
       * Lists the volume attachments in the specified compartment. You can filter the
  * list by specifying an instance OCID, volume OCID, or both.
  * <p>
  Currently, the only supported volume attachment type are  IScsiVolumeAttachment and
  *  ParavirtualizedVolumeAttachment .
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param ListVolumeAttachmentsRequest return throws example Click  https to see how to use ListVolumeAttachments API.
        public async listVolumeAttachments ( listVolumeAttachmentsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#listVolumeAttachments." ) ; const pathParams = { } ; const queryParams = { "availabilityDomain" : listVolumeAttachmentsRequest . availabilityDomain , "compartmentId" : listVolumeAttachmentsRequest . compartmentId , "limit" : listVolumeAttachmentsRequest . limit , "page" : listVolumeAttachmentsRequest . page , "instanceId" : listVolumeAttachmentsRequest . instanceId , "volumeId" : listVolumeAttachmentsRequest . volumeId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listVolumeAttachmentsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeAttachments" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListVolumeAttachmentsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . VolumeAttachment , type : "Array<model.VolumeAttachment>" , 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 request public listAllVolumeAttachments ( request ) { return paginateRecords ( request , req => this . listVolumeAttachments ( req ) ) ; } param request public listAllVolumeAttachmentsResponses ( request ) { return paginateResponses ( request , req => this . listVolumeAttachments ( req ) ) ; } param request public listVolumeAttachmentsRecordIterator ( request ) { return paginateRecords ( request , req => this . listVolumeAttachments ( req ) ) ; } param request public listVolumeAttachmentsResponseIterator ( request ) { return paginateResponses ( request , req => this . listVolumeAttachments ( req ) ) ; } param RemoveImageShapeCompatibilityEntryRequest return throws example Click  https to see how to use RemoveImageShapeCompatibilityEntry API.
      public async removeImageShapeCompatibilityEntry ( removeImageShapeCompatibilityEntryRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#removeImageShapeCompatibilityEntry." ) ; const pathParams = { "{imageId}" : removeImageShapeCompatibilityEntryRequest . imageId , "{shapeName}" : removeImageShapeCompatibilityEntryRequest . shapeName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , removeImageShapeCompatibilityEntryRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/images/{imageId}/shapes/{shapeName}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RemoveImageShapeCompatibilityEntryResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param TerminateInstanceRequest return throws example Click  https to see how to use TerminateInstance API.
        public async terminateInstance ( terminateInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#terminateInstance." ) ; const pathParams = { "{instanceId}" : terminateInstanceRequest . instanceId } ; const queryParams = { "preserveBootVolume" : terminateInstanceRequest . preserveBootVolume } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : terminateInstanceRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , terminateInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instances/{instanceId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . TerminateInstanceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateComputeCapacityReservationRequest return throws example Click  https to see how to use UpdateComputeCapacityReservation API.
      public async updateComputeCapacityReservation ( updateComputeCapacityReservationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#updateComputeCapacityReservation." ) ; const pathParams = { "{capacityReservationId}" : updateComputeCapacityReservationRequest . capacityReservationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateComputeCapacityReservationRequest . ifMatch , "opc-request-id" : updateComputeCapacityReservationRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateComputeCapacityReservationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeCapacityReservations/{capacityReservationId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateComputeCapacityReservationRequest . updateComputeCapacityReservationDetails , "UpdateComputeCapacityReservationDetails" , model . UpdateComputeCapacityReservationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateComputeCapacityReservationResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateComputeImageCapabilitySchemaRequest return throws example Click  https to see how to use UpdateComputeImageCapabilitySchema API.
      public async updateComputeImageCapabilitySchema ( updateComputeImageCapabilitySchemaRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#updateComputeImageCapabilitySchema." ) ; const pathParams = { "{computeImageCapabilitySchemaId}" : updateComputeImageCapabilitySchemaRequest . computeImageCapabilitySchemaId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateComputeImageCapabilitySchemaRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateComputeImageCapabilitySchemaRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/computeImageCapabilitySchemas/{computeImageCapabilitySchemaId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateComputeImageCapabilitySchemaRequest . updateComputeImageCapabilitySchemaDetails , "UpdateComputeImageCapabilitySchemaDetails" , model . UpdateComputeImageCapabilitySchemaDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateComputeImageCapabilitySchemaResponse > { } , body : await response . json ( ) , bodyKey : "computeImageCapabilitySchema" , bodyModel : model . ComputeImageCapabilitySchema , type : "model.ComputeImageCapabilitySchema" , 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 UpdateConsoleHistoryRequest return throws example Click  https to see how to use UpdateConsoleHistory API.
      public async updateConsoleHistory ( updateConsoleHistoryRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#updateConsoleHistory." ) ; const pathParams = { "{instanceConsoleHistoryId}" : updateConsoleHistoryRequest . instanceConsoleHistoryId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateConsoleHistoryRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateConsoleHistoryRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConsoleHistories/{instanceConsoleHistoryId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateConsoleHistoryRequest . updateConsoleHistoryDetails , "UpdateConsoleHistoryDetails" , model . UpdateConsoleHistoryDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateConsoleHistoryResponse > { } , body : await response . json ( ) , bodyKey : "consoleHistory" , bodyModel : model . ConsoleHistory , type : "model.ConsoleHistory" , 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 UpdateDedicatedVmHostRequest return throws example Click  https to see how to use UpdateDedicatedVmHost API.
      public async updateDedicatedVmHost ( updateDedicatedVmHostRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#updateDedicatedVmHost." ) ; const pathParams = { "{dedicatedVmHostId}" : updateDedicatedVmHostRequest . dedicatedVmHostId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateDedicatedVmHostRequest . ifMatch , "opc-request-id" : updateDedicatedVmHostRequest . opcRequestId , "opc-retry-token" : updateDedicatedVmHostRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateDedicatedVmHostRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dedicatedVmHosts/{dedicatedVmHostId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateDedicatedVmHostRequest . updateDedicatedVmHostDetails , "UpdateDedicatedVmHostDetails" , model . UpdateDedicatedVmHostDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateDedicatedVmHostResponse > { } , body : await response . json ( ) , bodyKey : "dedicatedVmHost" , bodyModel : model . DedicatedVmHost , type : "model.DedicatedVmHost" , 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 UpdateImageRequest return throws example Click  https to see how to use UpdateImage API.
      public async updateImage ( updateImageRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#updateImage." ) ; const pathParams = { "{imageId}" : updateImageRequest . imageId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : updateImageRequest . opcRetryToken , "if-match" : updateImageRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateImageRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/images/{imageId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateImageRequest . updateImageDetails , "UpdateImageDetails" , model . UpdateImageDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateImageResponse > { } , body : await response . json ( ) , bodyKey : "image" , bodyModel : model . Image , type : "model.Image" , 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 UpdateInstanceRequest return throws example Click  https to see how to use UpdateInstance API.
        public async updateInstance ( updateInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#updateInstance." ) ; const pathParams = { "{instanceId}" : updateInstanceRequest . instanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : updateInstanceRequest . opcRetryToken , "if-match" : updateInstanceRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instances/{instanceId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateInstanceRequest . updateInstanceDetails , "UpdateInstanceDetails" , model . UpdateInstanceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateInstanceResponse > { } , body : await response . json ( ) , bodyKey : "instance" , bodyModel : model . Instance , type : "model.Instance" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateInstanceConsoleConnectionRequest return throws example Click  https to see how to use UpdateInstanceConsoleConnection API.
      public async updateInstanceConsoleConnection ( updateInstanceConsoleConnectionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#updateInstanceConsoleConnection." ) ; const pathParams = { "{instanceConsoleConnectionId}" : updateInstanceConsoleConnectionRequest . instanceConsoleConnectionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateInstanceConsoleConnectionRequest . opcRequestId , "if-match" : updateInstanceConsoleConnectionRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateInstanceConsoleConnectionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConsoleConnections/{instanceConsoleConnectionId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateInstanceConsoleConnectionRequest . updateInstanceConsoleConnectionDetails , "UpdateInstanceConsoleConnectionDetails" , model . UpdateInstanceConsoleConnectionDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateInstanceConsoleConnectionResponse > { } , body : await response . json ( ) , bodyKey : "instanceConsoleConnection" , bodyModel : model . InstanceConsoleConnection , type : "model.InstanceConsoleConnection" , 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 UpdateVolumeAttachmentRequest return throws example Click  https to see how to use UpdateVolumeAttachment API.
      public async updateVolumeAttachment ( updateVolumeAttachmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeClient#updateVolumeAttachment." ) ; const pathParams = { "{volumeAttachmentId}" : updateVolumeAttachmentRequest . volumeAttachmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateVolumeAttachmentRequest . opcRequestId , "if-match" : updateVolumeAttachmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateVolumeAttachmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/volumeAttachments/{volumeAttachmentId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateVolumeAttachmentRequest . updateVolumeAttachmentDetails , "UpdateVolumeAttachmentDetails" , model . UpdateVolumeAttachmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateVolumeAttachmentResponse > { } , body : await response . json ( ) , bodyKey : "volumeAttachment" , bodyModel : model . VolumeAttachment , type : "model.VolumeAttachment" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } } export enum ComputeManagementApiKeys { } /**
 * 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 ComputeManagementClient { protected static serviceEndpointTemplate = "https://iaas.{region}.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : ComputeManagementWaiter ; 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 + "/20160918" ; if ( this . logger ) this . logger . info ( `ComputeManagementClient 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 ( ComputeManagementClient . 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 ( ComputeManagementClient . serviceEndpointTemplate , regionId ) ; } param workRequestClient param config return public createWaiters ( workRequestClient , config ? ) { this . _waiters = new ComputeManagementWaiter ( this , workRequestClient , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param AttachInstancePoolInstanceRequest return throws example Click  https to see how to use AttachInstancePoolInstance API.
      public async attachInstancePoolInstance ( attachInstancePoolInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#attachInstancePoolInstance." ) ; const pathParams = { "{instancePoolId}" : attachInstancePoolInstanceRequest . instancePoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : attachInstancePoolInstanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , attachInstancePoolInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}/instances" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( attachInstancePoolInstanceRequest . attachInstancePoolInstanceDetails , "AttachInstancePoolInstanceDetails" , model . AttachInstancePoolInstanceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AttachInstancePoolInstanceResponse > { } , body : await response . json ( ) , bodyKey : "instancePoolInstance" , bodyModel : model . InstancePoolInstance , type : "model.InstancePoolInstance" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AttachLoadBalancerRequest return throws example Click  https to see how to use AttachLoadBalancer API.
      public async attachLoadBalancer ( attachLoadBalancerRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#attachLoadBalancer." ) ; const pathParams = { "{instancePoolId}" : attachLoadBalancerRequest . instancePoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : attachLoadBalancerRequest . opcRetryToken , "if-match" : attachLoadBalancerRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , attachLoadBalancerRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}/actions/attachLoadBalancer" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( attachLoadBalancerRequest . attachLoadBalancerDetails , "AttachLoadBalancerDetails" , model . AttachLoadBalancerDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AttachLoadBalancerResponse > { } , body : await response . json ( ) , bodyKey : "instancePool" , bodyModel : model . InstancePool , type : "model.InstancePool" , 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 ChangeClusterNetworkCompartmentRequest return throws example Click  https to see how to use ChangeClusterNetworkCompartment API.
        public async changeClusterNetworkCompartment ( changeClusterNetworkCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#changeClusterNetworkCompartment." ) ; const pathParams = { "{clusterNetworkId}" : changeClusterNetworkCompartmentRequest . clusterNetworkId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeClusterNetworkCompartmentRequest . ifMatch , "opc-request-id" : changeClusterNetworkCompartmentRequest . opcRequestId , "opc-retry-token" : changeClusterNetworkCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeClusterNetworkCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/clusterNetworks/{clusterNetworkId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeClusterNetworkCompartmentRequest . changeClusterNetworkCompartmentDetails , "ChangeClusterNetworkCompartmentDetails" , model . ChangeClusterNetworkCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeClusterNetworkCompartmentResponse > { } , 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 ChangeInstanceConfigurationCompartmentRequest return throws example Click  https to see how to use ChangeInstanceConfigurationCompartment API.
        public async changeInstanceConfigurationCompartment ( changeInstanceConfigurationCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#changeInstanceConfigurationCompartment." ) ; const pathParams = { "{instanceConfigurationId}" : changeInstanceConfigurationCompartmentRequest . instanceConfigurationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeInstanceConfigurationCompartmentRequest . ifMatch , "opc-request-id" : changeInstanceConfigurationCompartmentRequest . opcRequestId , "opc-retry-token" : changeInstanceConfigurationCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeInstanceConfigurationCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConfigurations/{instanceConfigurationId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeInstanceConfigurationCompartmentRequest . changeInstanceConfigurationCompartmentDetails , "ChangeInstanceConfigurationCompartmentDetails" , model . ChangeInstanceConfigurationCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeInstanceConfigurationCompartmentResponse > { } , 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 ChangeInstancePoolCompartmentRequest return throws example Click  https to see how to use ChangeInstancePoolCompartment API.
        public async changeInstancePoolCompartment ( changeInstancePoolCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#changeInstancePoolCompartment." ) ; const pathParams = { "{instancePoolId}" : changeInstancePoolCompartmentRequest . instancePoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeInstancePoolCompartmentRequest . ifMatch , "opc-request-id" : changeInstancePoolCompartmentRequest . opcRequestId , "opc-retry-token" : changeInstancePoolCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeInstancePoolCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeInstancePoolCompartmentRequest . changeInstancePoolCompartmentDetails , "ChangeInstancePoolCompartmentDetails" , model . ChangeInstancePoolCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeInstancePoolCompartmentResponse > { } , 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 CreateClusterNetworkRequest return throws example Click  https to see how to use CreateClusterNetwork API.
      public async createClusterNetwork ( createClusterNetworkRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#createClusterNetwork." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createClusterNetworkRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createClusterNetworkRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/clusterNetworks" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createClusterNetworkRequest . createClusterNetworkDetails , "CreateClusterNetworkDetails" , model . CreateClusterNetworkDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateClusterNetworkResponse > { } , body : await response . json ( ) , bodyKey : "clusterNetwork" , bodyModel : model . ClusterNetwork , type : "model.ClusterNetwork" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateInstanceConfigurationRequest return throws example Click  https to see how to use CreateInstanceConfiguration API.
      public async createInstanceConfiguration ( createInstanceConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#createInstanceConfiguration." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createInstanceConfigurationRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createInstanceConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConfigurations" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createInstanceConfigurationRequest . createInstanceConfiguration , "CreateInstanceConfigurationBase" , model . CreateInstanceConfigurationBase . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateInstanceConfigurationResponse > { } , body : await response . json ( ) , bodyKey : "instanceConfiguration" , bodyModel : model . InstanceConfiguration , type : "model.InstanceConfiguration" , 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 CreateInstancePoolRequest return throws example Click  https to see how to use CreateInstancePool API.
      public async createInstancePool ( createInstancePoolRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#createInstancePool." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createInstancePoolRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createInstancePoolRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createInstancePoolRequest . createInstancePoolDetails , "CreateInstancePoolDetails" , model . CreateInstancePoolDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateInstancePoolResponse > { } , body : await response . json ( ) , bodyKey : "instancePool" , bodyModel : model . InstancePool , type : "model.InstancePool" , 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 DeleteInstanceConfigurationRequest return throws example Click  https to see how to use DeleteInstanceConfiguration API.
      public async deleteInstanceConfiguration ( deleteInstanceConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#deleteInstanceConfiguration." ) ; const pathParams = { "{instanceConfigurationId}" : deleteInstanceConfigurationRequest . instanceConfigurationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteInstanceConfigurationRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteInstanceConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConfigurations/{instanceConfigurationId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteInstanceConfigurationResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DetachInstancePoolInstanceRequest return throws example Click  https to see how to use DetachInstancePoolInstance API.
      public async detachInstancePoolInstance ( detachInstancePoolInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#detachInstancePoolInstance." ) ; const pathParams = { "{instancePoolId}" : detachInstancePoolInstanceRequest . instancePoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : detachInstancePoolInstanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , detachInstancePoolInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}/actions/detachInstance" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( detachInstancePoolInstanceRequest . detachInstancePoolInstanceDetails , "DetachInstancePoolInstanceDetails" , model . DetachInstancePoolInstanceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DetachInstancePoolInstanceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DetachLoadBalancerRequest return throws example Click  https to see how to use DetachLoadBalancer API.
      public async detachLoadBalancer ( detachLoadBalancerRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#detachLoadBalancer." ) ; const pathParams = { "{instancePoolId}" : detachLoadBalancerRequest . instancePoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : detachLoadBalancerRequest . opcRetryToken , "if-match" : detachLoadBalancerRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , detachLoadBalancerRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}/actions/detachLoadBalancer" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( detachLoadBalancerRequest . detachLoadBalancerDetails , "DetachLoadBalancerDetails" , model . DetachLoadBalancerDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DetachLoadBalancerResponse > { } , body : await response . json ( ) , bodyKey : "instancePool" , bodyModel : model . InstancePool , type : "model.InstancePool" , 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 GetClusterNetworkRequest return throws example Click  https to see how to use GetClusterNetwork API.
      public async getClusterNetwork ( getClusterNetworkRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#getClusterNetwork." ) ; const pathParams = { "{clusterNetworkId}" : getClusterNetworkRequest . clusterNetworkId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getClusterNetworkRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/clusterNetworks/{clusterNetworkId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetClusterNetworkResponse > { } , body : await response . json ( ) , bodyKey : "clusterNetwork" , bodyModel : model . ClusterNetwork , type : "model.ClusterNetwork" , 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 GetInstanceConfigurationRequest return throws example Click  https to see how to use GetInstanceConfiguration API.
      public async getInstanceConfiguration ( getInstanceConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#getInstanceConfiguration." ) ; const pathParams = { "{instanceConfigurationId}" : getInstanceConfigurationRequest . instanceConfigurationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getInstanceConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConfigurations/{instanceConfigurationId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetInstanceConfigurationResponse > { } , body : await response . json ( ) , bodyKey : "instanceConfiguration" , bodyModel : model . InstanceConfiguration , type : "model.InstanceConfiguration" , 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 GetInstancePoolRequest return throws example Click  https to see how to use GetInstancePool API.
      public async getInstancePool ( getInstancePoolRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#getInstancePool." ) ; const pathParams = { "{instancePoolId}" : getInstancePoolRequest . instancePoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getInstancePoolRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetInstancePoolResponse > { } , body : await response . json ( ) , bodyKey : "instancePool" , bodyModel : model . InstancePool , type : "model.InstancePool" , 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 GetInstancePoolInstanceRequest return throws example Click  https to see how to use GetInstancePoolInstance API.
      public async getInstancePoolInstance ( getInstancePoolInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#getInstancePoolInstance." ) ; const pathParams = { "{instancePoolId}" : getInstancePoolInstanceRequest . instancePoolId , "{instanceId}" : getInstancePoolInstanceRequest . instanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getInstancePoolInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}/instances/{instanceId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetInstancePoolInstanceResponse > { } , body : await response . json ( ) , bodyKey : "instancePoolInstance" , bodyModel : model . InstancePoolInstance , type : "model.InstancePoolInstance" , 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 GetInstancePoolLoadBalancerAttachmentRequest return throws example Click  https to see how to use GetInstancePoolLoadBalancerAttachment API.
      public async getInstancePoolLoadBalancerAttachment ( getInstancePoolLoadBalancerAttachmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#getInstancePoolLoadBalancerAttachment." ) ; const pathParams = { "{instancePoolId}" : getInstancePoolLoadBalancerAttachmentRequest . instancePoolId , "{instancePoolLoadBalancerAttachmentId}" : getInstancePoolLoadBalancerAttachmentRequest . instancePoolLoadBalancerAttachmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getInstancePoolLoadBalancerAttachmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}/loadBalancerAttachments/{instancePoolLoadBalancerAttachmentId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetInstancePoolLoadBalancerAttachmentResponse > { } , body : await response . json ( ) , bodyKey : "instancePoolLoadBalancerAttachment" , bodyModel : model . InstancePoolLoadBalancerAttachment , type : "model.InstancePoolLoadBalancerAttachment" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Launches an instance from an instance configuration.
  * <p>
  If the instance configuration does not include all of the parameters that are
  * required to launch an instance, such as the availability domain and subnet ID, you must
  * provide these parameters when you launch an instance from the instance configuration.
  * For more information, see the  InstanceConfiguration * resource.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param LaunchInstanceConfigurationRequest return throws example Click  https to see how to use LaunchInstanceConfiguration API.
        public async launchInstanceConfiguration ( launchInstanceConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#launchInstanceConfiguration." ) ; const pathParams = { "{instanceConfigurationId}" : launchInstanceConfigurationRequest . instanceConfigurationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : launchInstanceConfigurationRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , launchInstanceConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConfigurations/{instanceConfigurationId}/actions/launch" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( launchInstanceConfigurationRequest . instanceConfiguration , "InstanceConfigurationInstanceDetails" , model . InstanceConfigurationInstanceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . LaunchInstanceConfigurationResponse > { } , body : await response . json ( ) , bodyKey : "instance" , bodyModel : model . Instance , type : "model.Instance" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListClusterNetworkInstancesRequest return throws example Click  https to see how to use ListClusterNetworkInstances API.
      public async listClusterNetworkInstances ( listClusterNetworkInstancesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#listClusterNetworkInstances." ) ; const pathParams = { "{clusterNetworkId}" : listClusterNetworkInstancesRequest . clusterNetworkId } ; const queryParams = { "compartmentId" : listClusterNetworkInstancesRequest . compartmentId , "displayName" : listClusterNetworkInstancesRequest . displayName , "limit" : listClusterNetworkInstancesRequest . limit , "page" : listClusterNetworkInstancesRequest . page , "sortBy" : listClusterNetworkInstancesRequest . sortBy , "sortOrder" : listClusterNetworkInstancesRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listClusterNetworkInstancesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/clusterNetworks/{clusterNetworkId}/instances" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListClusterNetworkInstancesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . InstanceSummary , type : "Array<model.InstanceSummary>" , 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 request public listAllClusterNetworkInstances ( request ) { return paginateRecords ( request , req => this . listClusterNetworkInstances ( req ) ) ; } param request public listAllClusterNetworkInstancesResponses ( request ) { return paginateResponses ( request , req => this . listClusterNetworkInstances ( req ) ) ; } param request public listClusterNetworkInstancesRecordIterator ( request ) { return paginateRecords ( request , req => this . listClusterNetworkInstances ( req ) ) ; } param request public listClusterNetworkInstancesResponseIterator ( request ) { return paginateResponses ( request , req => this . listClusterNetworkInstances ( req ) ) ; } param ListClusterNetworksRequest return throws example Click  https to see how to use ListClusterNetworks API.
      public async listClusterNetworks ( listClusterNetworksRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#listClusterNetworks." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listClusterNetworksRequest . compartmentId , "displayName" : listClusterNetworksRequest . displayName , "limit" : listClusterNetworksRequest . limit , "page" : listClusterNetworksRequest . page , "sortBy" : listClusterNetworksRequest . sortBy , "sortOrder" : listClusterNetworksRequest . sortOrder , "lifecycleState" : listClusterNetworksRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listClusterNetworksRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/clusterNetworks" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListClusterNetworksResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ClusterNetworkSummary , type : "Array<model.ClusterNetworkSummary>" , 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 request public listAllClusterNetworks ( request ) { return paginateRecords ( request , req => this . listClusterNetworks ( req ) ) ; } param request public listAllClusterNetworksResponses ( request ) { return paginateResponses ( request , req => this . listClusterNetworks ( req ) ) ; } param request public listClusterNetworksRecordIterator ( request ) { return paginateRecords ( request , req => this . listClusterNetworks ( req ) ) ; } param request public listClusterNetworksResponseIterator ( request ) { return paginateResponses ( request , req => this . listClusterNetworks ( req ) ) ; } param ListInstanceConfigurationsRequest return throws example Click  https to see how to use ListInstanceConfigurations API.
      public async listInstanceConfigurations ( listInstanceConfigurationsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#listInstanceConfigurations." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listInstanceConfigurationsRequest . compartmentId , "limit" : listInstanceConfigurationsRequest . limit , "page" : listInstanceConfigurationsRequest . page , "sortBy" : listInstanceConfigurationsRequest . sortBy , "sortOrder" : listInstanceConfigurationsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listInstanceConfigurationsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConfigurations" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListInstanceConfigurationsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . InstanceConfigurationSummary , type : "Array<model.InstanceConfigurationSummary>" , 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 request public listAllInstanceConfigurations ( request ) { return paginateRecords ( request , req => this . listInstanceConfigurations ( req ) ) ; } param request public listAllInstanceConfigurationsResponses ( request ) { return paginateResponses ( request , req => this . listInstanceConfigurations ( req ) ) ; } param request public listInstanceConfigurationsRecordIterator ( request ) { return paginateRecords ( request , req => this . listInstanceConfigurations ( req ) ) ; } param request public listInstanceConfigurationsResponseIterator ( request ) { return paginateResponses ( request , req => this . listInstanceConfigurations ( req ) ) ; } param ListInstancePoolInstancesRequest return throws example Click  https to see how to use ListInstancePoolInstances API.
      public async listInstancePoolInstances ( listInstancePoolInstancesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#listInstancePoolInstances." ) ; const pathParams = { "{instancePoolId}" : listInstancePoolInstancesRequest . instancePoolId } ; const queryParams = { "compartmentId" : listInstancePoolInstancesRequest . compartmentId , "displayName" : listInstancePoolInstancesRequest . displayName , "limit" : listInstancePoolInstancesRequest . limit , "page" : listInstancePoolInstancesRequest . page , "sortBy" : listInstancePoolInstancesRequest . sortBy , "sortOrder" : listInstancePoolInstancesRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listInstancePoolInstancesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}/instances" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListInstancePoolInstancesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . InstanceSummary , type : "Array<model.InstanceSummary>" , 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 request public listAllInstancePoolInstances ( request ) { return paginateRecords ( request , req => this . listInstancePoolInstances ( req ) ) ; } param request public listAllInstancePoolInstancesResponses ( request ) { return paginateResponses ( request , req => this . listInstancePoolInstances ( req ) ) ; } param request public listInstancePoolInstancesRecordIterator ( request ) { return paginateRecords ( request , req => this . listInstancePoolInstances ( req ) ) ; } param request public listInstancePoolInstancesResponseIterator ( request ) { return paginateResponses ( request , req => this . listInstancePoolInstances ( req ) ) ; } param ListInstancePoolsRequest return throws example Click  https to see how to use ListInstancePools API.
      public async listInstancePools ( listInstancePoolsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#listInstancePools." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listInstancePoolsRequest . compartmentId , "displayName" : listInstancePoolsRequest . displayName , "limit" : listInstancePoolsRequest . limit , "page" : listInstancePoolsRequest . page , "sortBy" : listInstancePoolsRequest . sortBy , "sortOrder" : listInstancePoolsRequest . sortOrder , "lifecycleState" : listInstancePoolsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listInstancePoolsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListInstancePoolsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . InstancePoolSummary , type : "Array<model.InstancePoolSummary>" , 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 request public listAllInstancePools ( request ) { return paginateRecords ( request , req => this . listInstancePools ( req ) ) ; } param request public listAllInstancePoolsResponses ( request ) { return paginateResponses ( request , req => this . listInstancePools ( req ) ) ; } param request public listInstancePoolsRecordIterator ( request ) { return paginateRecords ( request , req => this . listInstancePools ( req ) ) ; } param request public listInstancePoolsResponseIterator ( request ) { return paginateResponses ( request , req => this . listInstancePools ( req ) ) ; } param ResetInstancePoolRequest return throws example Click  https to see how to use ResetInstancePool API.
      public async resetInstancePool ( resetInstancePoolRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#resetInstancePool." ) ; const pathParams = { "{instancePoolId}" : resetInstancePoolRequest . instancePoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : resetInstancePoolRequest . opcRetryToken , "if-match" : resetInstancePoolRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , resetInstancePoolRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}/actions/reset" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ResetInstancePoolResponse > { } , body : await response . json ( ) , bodyKey : "instancePool" , bodyModel : model . InstancePool , type : "model.InstancePool" , 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 SoftresetInstancePoolRequest return throws example Click  https to see how to use SoftresetInstancePool API.
        public async softresetInstancePool ( softresetInstancePoolRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#softresetInstancePool." ) ; const pathParams = { "{instancePoolId}" : softresetInstancePoolRequest . instancePoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : softresetInstancePoolRequest . opcRetryToken , "if-match" : softresetInstancePoolRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , softresetInstancePoolRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}/actions/softreset" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SoftresetInstancePoolResponse > { } , body : await response . json ( ) , bodyKey : "instancePool" , bodyModel : model . InstancePool , type : "model.InstancePool" , 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 StartInstancePoolRequest return throws example Click  https to see how to use StartInstancePool API.
      public async startInstancePool ( startInstancePoolRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#startInstancePool." ) ; const pathParams = { "{instancePoolId}" : startInstancePoolRequest . instancePoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : startInstancePoolRequest . opcRetryToken , "if-match" : startInstancePoolRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , startInstancePoolRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}/actions/start" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . StartInstancePoolResponse > { } , body : await response . json ( ) , bodyKey : "instancePool" , bodyModel : model . InstancePool , type : "model.InstancePool" , 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 StopInstancePoolRequest return throws example Click  https to see how to use StopInstancePool API.
      public async stopInstancePool ( stopInstancePoolRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#stopInstancePool." ) ; const pathParams = { "{instancePoolId}" : stopInstancePoolRequest . instancePoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : stopInstancePoolRequest . opcRetryToken , "if-match" : stopInstancePoolRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , stopInstancePoolRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}/actions/stop" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . StopInstancePoolResponse > { } , body : await response . json ( ) , bodyKey : "instancePool" , bodyModel : model . InstancePool , type : "model.InstancePool" , 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 TerminateClusterNetworkRequest return throws example Click  https to see how to use TerminateClusterNetwork API.
        public async terminateClusterNetwork ( terminateClusterNetworkRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#terminateClusterNetwork." ) ; const pathParams = { "{clusterNetworkId}" : terminateClusterNetworkRequest . clusterNetworkId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : terminateClusterNetworkRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , terminateClusterNetworkRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/clusterNetworks/{clusterNetworkId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . TerminateClusterNetworkResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param TerminateInstancePoolRequest return throws example Click  https to see how to use TerminateInstancePool API.
        public async terminateInstancePool ( terminateInstancePoolRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#terminateInstancePool." ) ; const pathParams = { "{instancePoolId}" : terminateInstancePoolRequest . instancePoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : terminateInstancePoolRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , terminateInstancePoolRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . TerminateInstancePoolResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateClusterNetworkRequest return throws example Click  https to see how to use UpdateClusterNetwork API.
      public async updateClusterNetwork ( updateClusterNetworkRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#updateClusterNetwork." ) ; const pathParams = { "{clusterNetworkId}" : updateClusterNetworkRequest . clusterNetworkId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : updateClusterNetworkRequest . opcRetryToken , "if-match" : updateClusterNetworkRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateClusterNetworkRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/clusterNetworks/{clusterNetworkId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateClusterNetworkRequest . updateClusterNetworkDetails , "UpdateClusterNetworkDetails" , model . UpdateClusterNetworkDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateClusterNetworkResponse > { } , body : await response . json ( ) , bodyKey : "clusterNetwork" , bodyModel : model . ClusterNetwork , type : "model.ClusterNetwork" , 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 UpdateInstanceConfigurationRequest return throws example Click  https to see how to use UpdateInstanceConfiguration API.
      public async updateInstanceConfiguration ( updateInstanceConfigurationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#updateInstanceConfiguration." ) ; const pathParams = { "{instanceConfigurationId}" : updateInstanceConfigurationRequest . instanceConfigurationId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : updateInstanceConfigurationRequest . opcRetryToken , "if-match" : updateInstanceConfigurationRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateInstanceConfigurationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instanceConfigurations/{instanceConfigurationId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateInstanceConfigurationRequest . updateInstanceConfigurationDetails , "UpdateInstanceConfigurationDetails" , model . UpdateInstanceConfigurationDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateInstanceConfigurationResponse > { } , body : await response . json ( ) , bodyKey : "instanceConfiguration" , bodyModel : model . InstanceConfiguration , type : "model.InstanceConfiguration" , 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 UpdateInstancePoolRequest return throws example Click  https to see how to use UpdateInstancePool API.
        public async updateInstancePool ( updateInstancePoolRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation ComputeManagementClient#updateInstancePool." ) ; const pathParams = { "{instancePoolId}" : updateInstancePoolRequest . instancePoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : updateInstancePoolRequest . opcRetryToken , "if-match" : updateInstancePoolRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateInstancePoolRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/instancePools/{instancePoolId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateInstancePoolRequest . updateInstancePoolDetails , "UpdateInstancePoolDetails" , model . UpdateInstancePoolDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateInstancePoolResponse > { } , body : await response . json ( ) , bodyKey : "instancePool" , bodyModel : model . InstancePool , type : "model.InstancePool" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } } export enum VirtualNetworkApiKeys { } /**
 * 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 VirtualNetworkClient { protected static serviceEndpointTemplate = "https://iaas.{region}.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : VirtualNetworkWaiter ; 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 + "/20160918" ; if ( this . logger ) this . logger . info ( `VirtualNetworkClient 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 ( VirtualNetworkClient . 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 ( VirtualNetworkClient . serviceEndpointTemplate , regionId ) ; } param workRequestClient param config return public createWaiters ( workRequestClient , config ? ) { this . _waiters = new VirtualNetworkWaiter ( this , workRequestClient , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param AddDrgRouteDistributionStatementsRequest return throws example Click  https to see how to use AddDrgRouteDistributionStatements API.
      public async addDrgRouteDistributionStatements ( addDrgRouteDistributionStatementsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#addDrgRouteDistributionStatements." ) ; const pathParams = { "{drgRouteDistributionId}" : addDrgRouteDistributionStatementsRequest . drgRouteDistributionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , addDrgRouteDistributionStatementsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteDistributions/{drgRouteDistributionId}/actions/addDrgRouteDistributionStatements" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( addDrgRouteDistributionStatementsRequest . addDrgRouteDistributionStatementsDetails , "AddDrgRouteDistributionStatementsDetails" , model . AddDrgRouteDistributionStatementsDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AddDrgRouteDistributionStatementsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DrgRouteDistributionStatement , type : "Array<model.DrgRouteDistributionStatement>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AddDrgRouteRulesRequest return throws example Click  https to see how to use AddDrgRouteRules API.
      public async addDrgRouteRules ( addDrgRouteRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#addDrgRouteRules." ) ; const pathParams = { "{drgRouteTableId}" : addDrgRouteRulesRequest . drgRouteTableId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : addDrgRouteRulesRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , addDrgRouteRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteTables/{drgRouteTableId}/actions/addDrgRouteRules" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( addDrgRouteRulesRequest . addDrgRouteRulesDetails , "AddDrgRouteRulesDetails" , model . AddDrgRouteRulesDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AddDrgRouteRulesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DrgRouteRule , type : "Array<model.DrgRouteRule>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AddIpv6VcnCidrRequest return throws example Click  https to see how to use AddIpv6VcnCidr API.
      public async addIpv6VcnCidr ( addIpv6VcnCidrRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#addIpv6VcnCidr." ) ; const pathParams = { "{vcnId}" : addIpv6VcnCidrRequest . vcnId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : addIpv6VcnCidrRequest . opcRequestId , "opc-retry-token" : addIpv6VcnCidrRequest . opcRetryToken , "if-match" : addIpv6VcnCidrRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , addIpv6VcnCidrRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vcns/{vcnId}/actions/addIpv6Cidr" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AddIpv6VcnCidrResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AddNetworkSecurityGroupSecurityRulesRequest return throws example Click  https to see how to use AddNetworkSecurityGroupSecurityRules API.
      public async addNetworkSecurityGroupSecurityRules ( addNetworkSecurityGroupSecurityRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#addNetworkSecurityGroupSecurityRules." ) ; const pathParams = { "{networkSecurityGroupId}" : addNetworkSecurityGroupSecurityRulesRequest . networkSecurityGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , addNetworkSecurityGroupSecurityRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSecurityGroups/{networkSecurityGroupId}/actions/addSecurityRules" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( addNetworkSecurityGroupSecurityRulesRequest . addNetworkSecurityGroupSecurityRulesDetails , "AddNetworkSecurityGroupSecurityRulesDetails" , model . AddNetworkSecurityGroupSecurityRulesDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AddNetworkSecurityGroupSecurityRulesResponse > { } , body : await response . json ( ) , bodyKey : "addedNetworkSecurityGroupSecurityRules" , bodyModel : model . AddedNetworkSecurityGroupSecurityRules , type : "model.AddedNetworkSecurityGroupSecurityRules" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AddPublicIpPoolCapacityRequest return throws example Click  https to see how to use AddPublicIpPoolCapacity API.
        public async addPublicIpPoolCapacity ( addPublicIpPoolCapacityRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#addPublicIpPoolCapacity." ) ; const pathParams = { "{publicIpPoolId}" : addPublicIpPoolCapacityRequest . publicIpPoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : addPublicIpPoolCapacityRequest . opcRequestId , "opc-retry-token" : addPublicIpPoolCapacityRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , addPublicIpPoolCapacityRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIpPools/{publicIpPoolId}/actions/addCapacity" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( addPublicIpPoolCapacityRequest . addPublicIpPoolCapacityDetails , "AddPublicIpPoolCapacityDetails" , model . AddPublicIpPoolCapacityDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AddPublicIpPoolCapacityResponse > { } , body : await response . json ( ) , bodyKey : "publicIpPool" , bodyModel : model . PublicIpPool , type : "model.PublicIpPool" , 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 AddVcnCidrRequest return throws example Click  https to see how to use AddVcnCidr API.
        public async addVcnCidr ( addVcnCidrRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#addVcnCidr." ) ; const pathParams = { "{vcnId}" : addVcnCidrRequest . vcnId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : addVcnCidrRequest . opcRequestId , "opc-retry-token" : addVcnCidrRequest . opcRetryToken , "if-match" : addVcnCidrRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , addVcnCidrRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vcns/{vcnId}/actions/addCidr" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( addVcnCidrRequest . addVcnCidrDetails , "AddVcnCidrDetails" , model . AddVcnCidrDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AddVcnCidrResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AdvertiseByoipRangeRequest return throws example Click  https to see how to use AdvertiseByoipRange API.
      public async advertiseByoipRange ( advertiseByoipRangeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#advertiseByoipRange." ) ; const pathParams = { "{byoipRangeId}" : advertiseByoipRangeRequest . byoipRangeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : advertiseByoipRangeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , advertiseByoipRangeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/byoipRanges/{byoipRangeId}/actions/advertise" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AdvertiseByoipRangeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Adds the specified  Service to the list of enabled
     * `Service` objects for the specified gateway. You must also set up a route rule with the
     * `cidrBlock` of the `Service` as the rule's destination and the service gateway as the rule's
     * target. See  RouteTable .
     * <p>
     **Note:** The `AttachServiceId` operation is an easy way to add an individual `Service` to
     * the service gateway. Compare it with
     *  {@link #updateServiceGateway(UpdateServiceGatewayRequest) updateServiceGateway} , which replaces
     * the entire existing list of enabled `Service` objects with the list that you provide in the
     * `Update` call.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param AttachServiceIdRequest return throws example Click  https to see how to use AttachServiceId API.
      public async attachServiceId ( attachServiceIdRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#attachServiceId." ) ; const pathParams = { "{serviceGatewayId}" : attachServiceIdRequest . serviceGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : attachServiceIdRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , attachServiceIdRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceGateways/{serviceGatewayId}/actions/attachService" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( attachServiceIdRequest . attachServiceDetails , "ServiceIdRequestDetails" , model . ServiceIdRequestDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AttachServiceIdResponse > { } , body : await response . json ( ) , bodyKey : "serviceGateway" , bodyModel : model . ServiceGateway , type : "model.ServiceGateway" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Adds one or more customer public IP prefixes to the specified public virtual circuit.
     * Use this operation (and not  {@link #updateVirtualCircuit(UpdateVirtualCircuitRequest) updateVirtualCircuit} )
     * to add prefixes to the virtual circuit. Oracle must verify the customer's ownership
     * of each prefix before traffic for that prefix will flow across the virtual circuit.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param BulkAddVirtualCircuitPublicPrefixesRequest return throws example Click  https to see how to use BulkAddVirtualCircuitPublicPrefixes API.
      public async bulkAddVirtualCircuitPublicPrefixes ( bulkAddVirtualCircuitPublicPrefixesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#bulkAddVirtualCircuitPublicPrefixes." ) ; const pathParams = { "{virtualCircuitId}" : bulkAddVirtualCircuitPublicPrefixesRequest . virtualCircuitId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , bulkAddVirtualCircuitPublicPrefixesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/virtualCircuits/{virtualCircuitId}/actions/bulkAddPublicPrefixes" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( bulkAddVirtualCircuitPublicPrefixesRequest . bulkAddVirtualCircuitPublicPrefixesDetails , "BulkAddVirtualCircuitPublicPrefixesDetails" , model . BulkAddVirtualCircuitPublicPrefixesDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . BulkAddVirtualCircuitPublicPrefixesResponse > { } , responseHeaders : [ ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Removes one or more customer public IP prefixes from the specified public virtual circuit.
     * Use this operation (and not  {@link #updateVirtualCircuit(UpdateVirtualCircuitRequest) updateVirtualCircuit} )
     * to remove prefixes from the virtual circuit. When the virtual circuit's state switches
     * back to PROVISIONED, Oracle stops advertising the specified prefixes across the connection.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param BulkDeleteVirtualCircuitPublicPrefixesRequest return throws example Click  https to see how to use BulkDeleteVirtualCircuitPublicPrefixes API.
      public async bulkDeleteVirtualCircuitPublicPrefixes ( bulkDeleteVirtualCircuitPublicPrefixesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#bulkDeleteVirtualCircuitPublicPrefixes." ) ; const pathParams = { "{virtualCircuitId}" : bulkDeleteVirtualCircuitPublicPrefixesRequest . virtualCircuitId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , bulkDeleteVirtualCircuitPublicPrefixesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/virtualCircuits/{virtualCircuitId}/actions/bulkDeletePublicPrefixes" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( bulkDeleteVirtualCircuitPublicPrefixesRequest . bulkDeleteVirtualCircuitPublicPrefixesDetails , "BulkDeleteVirtualCircuitPublicPrefixesDetails" , model . BulkDeleteVirtualCircuitPublicPrefixesDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . BulkDeleteVirtualCircuitPublicPrefixesResponse > { } , responseHeaders : [ ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeByoipRangeCompartmentRequest return throws example Click  https to see how to use ChangeByoipRangeCompartment API.
      public async changeByoipRangeCompartment ( changeByoipRangeCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeByoipRangeCompartment." ) ; const pathParams = { "{byoipRangeId}" : changeByoipRangeCompartmentRequest . byoipRangeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeByoipRangeCompartmentRequest . opcRequestId , "opc-retry-token" : changeByoipRangeCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeByoipRangeCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/byoipRanges/{byoipRangeId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeByoipRangeCompartmentRequest . changeByoipRangeCompartmentDetails , "ChangeByoipRangeCompartmentDetails" , model . ChangeByoipRangeCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeByoipRangeCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeCpeCompartmentRequest return throws example Click  https to see how to use ChangeCpeCompartment API.
      public async changeCpeCompartment ( changeCpeCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeCpeCompartment." ) ; const pathParams = { "{cpeId}" : changeCpeCompartmentRequest . cpeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeCpeCompartmentRequest . opcRequestId , "opc-retry-token" : changeCpeCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeCpeCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/cpes/{cpeId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeCpeCompartmentRequest . changeCpeCompartmentDetails , "ChangeCpeCompartmentDetails" , model . ChangeCpeCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeCpeCompartmentResponse > { } , 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 ChangeCrossConnectCompartmentRequest return throws example Click  https to see how to use ChangeCrossConnectCompartment API.
      public async changeCrossConnectCompartment ( changeCrossConnectCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeCrossConnectCompartment." ) ; const pathParams = { "{crossConnectId}" : changeCrossConnectCompartmentRequest . crossConnectId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeCrossConnectCompartmentRequest . opcRequestId , "opc-retry-token" : changeCrossConnectCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeCrossConnectCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnects/{crossConnectId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeCrossConnectCompartmentRequest . changeCrossConnectCompartmentDetails , "ChangeCrossConnectCompartmentDetails" , model . ChangeCrossConnectCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeCrossConnectCompartmentResponse > { } , 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 ChangeCrossConnectGroupCompartmentRequest return throws example Click  https to see how to use ChangeCrossConnectGroupCompartment API.
      public async changeCrossConnectGroupCompartment ( changeCrossConnectGroupCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeCrossConnectGroupCompartment." ) ; const pathParams = { "{crossConnectGroupId}" : changeCrossConnectGroupCompartmentRequest . crossConnectGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeCrossConnectGroupCompartmentRequest . opcRequestId , "opc-retry-token" : changeCrossConnectGroupCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeCrossConnectGroupCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnectGroups/{crossConnectGroupId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeCrossConnectGroupCompartmentRequest . changeCrossConnectGroupCompartmentDetails , "ChangeCrossConnectGroupCompartmentDetails" , model . ChangeCrossConnectGroupCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeCrossConnectGroupCompartmentResponse > { } , 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 ChangeDhcpOptionsCompartmentRequest return throws example Click  https to see how to use ChangeDhcpOptionsCompartment API.
      public async changeDhcpOptionsCompartment ( changeDhcpOptionsCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeDhcpOptionsCompartment." ) ; const pathParams = { "{dhcpId}" : changeDhcpOptionsCompartmentRequest . dhcpId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeDhcpOptionsCompartmentRequest . opcRequestId , "opc-retry-token" : changeDhcpOptionsCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeDhcpOptionsCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dhcps/{dhcpId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeDhcpOptionsCompartmentRequest . changeDhcpOptionsCompartmentDetails , "ChangeDhcpOptionsCompartmentDetails" , model . ChangeDhcpOptionsCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeDhcpOptionsCompartmentResponse > { } , 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 ChangeDrgCompartmentRequest return throws example Click  https to see how to use ChangeDrgCompartment API.
      public async changeDrgCompartment ( changeDrgCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeDrgCompartment." ) ; const pathParams = { "{drgId}" : changeDrgCompartmentRequest . drgId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeDrgCompartmentRequest . opcRequestId , "opc-retry-token" : changeDrgCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeDrgCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgs/{drgId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeDrgCompartmentRequest . changeDrgCompartmentDetails , "ChangeDrgCompartmentDetails" , model . ChangeDrgCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeDrgCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeIPSecConnectionCompartmentRequest return throws example Click  https to see how to use ChangeIPSecConnectionCompartment API.
      public async changeIPSecConnectionCompartment ( changeIPSecConnectionCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeIPSecConnectionCompartment." ) ; const pathParams = { "{ipscId}" : changeIPSecConnectionCompartmentRequest . ipscId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeIPSecConnectionCompartmentRequest . opcRequestId , "opc-retry-token" : changeIPSecConnectionCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeIPSecConnectionCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeIPSecConnectionCompartmentRequest . changeIPSecConnectionCompartmentDetails , "ChangeIPSecConnectionCompartmentDetails" , model . ChangeIPSecConnectionCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeIPSecConnectionCompartmentResponse > { } , 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 ChangeInternetGatewayCompartmentRequest return throws example Click  https to see how to use ChangeInternetGatewayCompartment API.
      public async changeInternetGatewayCompartment ( changeInternetGatewayCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeInternetGatewayCompartment." ) ; const pathParams = { "{igId}" : changeInternetGatewayCompartmentRequest . igId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeInternetGatewayCompartmentRequest . opcRequestId , "opc-retry-token" : changeInternetGatewayCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeInternetGatewayCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/internetGateways/{igId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeInternetGatewayCompartmentRequest . changeInternetGatewayCompartmentDetails , "ChangeInternetGatewayCompartmentDetails" , model . ChangeInternetGatewayCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeInternetGatewayCompartmentResponse > { } , 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 ChangeLocalPeeringGatewayCompartmentRequest return throws example Click  https to see how to use ChangeLocalPeeringGatewayCompartment API.
      public async changeLocalPeeringGatewayCompartment ( changeLocalPeeringGatewayCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeLocalPeeringGatewayCompartment." ) ; const pathParams = { "{localPeeringGatewayId}" : changeLocalPeeringGatewayCompartmentRequest . localPeeringGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeLocalPeeringGatewayCompartmentRequest . opcRequestId , "opc-retry-token" : changeLocalPeeringGatewayCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeLocalPeeringGatewayCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/localPeeringGateways/{localPeeringGatewayId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeLocalPeeringGatewayCompartmentRequest . changeLocalPeeringGatewayCompartmentDetails , "ChangeLocalPeeringGatewayCompartmentDetails" , model . ChangeLocalPeeringGatewayCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeLocalPeeringGatewayCompartmentResponse > { } , 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 ChangeNatGatewayCompartmentRequest return throws example Click  https to see how to use ChangeNatGatewayCompartment API.
      public async changeNatGatewayCompartment ( changeNatGatewayCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeNatGatewayCompartment." ) ; const pathParams = { "{natGatewayId}" : changeNatGatewayCompartmentRequest . natGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeNatGatewayCompartmentRequest . opcRequestId , "opc-retry-token" : changeNatGatewayCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeNatGatewayCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/natGateways/{natGatewayId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeNatGatewayCompartmentRequest . changeNatGatewayCompartmentDetails , "ChangeNatGatewayCompartmentDetails" , model . ChangeNatGatewayCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeNatGatewayCompartmentResponse > { } , 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 ChangeNetworkSecurityGroupCompartmentRequest return throws example Click  https to see how to use ChangeNetworkSecurityGroupCompartment API.
      public async changeNetworkSecurityGroupCompartment ( changeNetworkSecurityGroupCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeNetworkSecurityGroupCompartment." ) ; const pathParams = { "{networkSecurityGroupId}" : changeNetworkSecurityGroupCompartmentRequest . networkSecurityGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeNetworkSecurityGroupCompartmentRequest . opcRequestId , "opc-retry-token" : changeNetworkSecurityGroupCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeNetworkSecurityGroupCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSecurityGroups/{networkSecurityGroupId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeNetworkSecurityGroupCompartmentRequest . changeNetworkSecurityGroupCompartmentDetails , "ChangeNetworkSecurityGroupCompartmentDetails" , model . ChangeNetworkSecurityGroupCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeNetworkSecurityGroupCompartmentResponse > { } , 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 ChangePublicIpCompartmentRequest return throws example Click  https to see how to use ChangePublicIpCompartment API.
        public async changePublicIpCompartment ( changePublicIpCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changePublicIpCompartment." ) ; const pathParams = { "{publicIpId}" : changePublicIpCompartmentRequest . publicIpId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changePublicIpCompartmentRequest . opcRequestId , "opc-retry-token" : changePublicIpCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changePublicIpCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIps/{publicIpId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changePublicIpCompartmentRequest . changePublicIpCompartmentDetails , "ChangePublicIpCompartmentDetails" , model . ChangePublicIpCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangePublicIpCompartmentResponse > { } , 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 ChangePublicIpPoolCompartmentRequest return throws example Click  https to see how to use ChangePublicIpPoolCompartment API.
      public async changePublicIpPoolCompartment ( changePublicIpPoolCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changePublicIpPoolCompartment." ) ; const pathParams = { "{publicIpPoolId}" : changePublicIpPoolCompartmentRequest . publicIpPoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changePublicIpPoolCompartmentRequest . opcRequestId , "opc-retry-token" : changePublicIpPoolCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changePublicIpPoolCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIpPools/{publicIpPoolId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changePublicIpPoolCompartmentRequest . changePublicIpPoolCompartmentDetails , "ChangePublicIpPoolCompartmentDetails" , model . ChangePublicIpPoolCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangePublicIpPoolCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeRemotePeeringConnectionCompartmentRequest return throws example Click  https to see how to use ChangeRemotePeeringConnectionCompartment API.
      public async changeRemotePeeringConnectionCompartment ( changeRemotePeeringConnectionCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeRemotePeeringConnectionCompartment." ) ; const pathParams = { "{remotePeeringConnectionId}" : changeRemotePeeringConnectionCompartmentRequest . remotePeeringConnectionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeRemotePeeringConnectionCompartmentRequest . opcRequestId , "opc-retry-token" : changeRemotePeeringConnectionCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeRemotePeeringConnectionCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/remotePeeringConnections/{remotePeeringConnectionId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeRemotePeeringConnectionCompartmentRequest . changeRemotePeeringConnectionCompartmentDetails , "ChangeRemotePeeringConnectionCompartmentDetails" , model . ChangeRemotePeeringConnectionCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeRemotePeeringConnectionCompartmentResponse > { } , 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 ChangeRouteTableCompartmentRequest return throws example Click  https to see how to use ChangeRouteTableCompartment API.
      public async changeRouteTableCompartment ( changeRouteTableCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeRouteTableCompartment." ) ; const pathParams = { "{rtId}" : changeRouteTableCompartmentRequest . rtId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeRouteTableCompartmentRequest . opcRequestId , "opc-retry-token" : changeRouteTableCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeRouteTableCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/routeTables/{rtId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeRouteTableCompartmentRequest . changeRouteTableCompartmentDetails , "ChangeRouteTableCompartmentDetails" , model . ChangeRouteTableCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeRouteTableCompartmentResponse > { } , 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 ChangeSecurityListCompartmentRequest return throws example Click  https to see how to use ChangeSecurityListCompartment API.
      public async changeSecurityListCompartment ( changeSecurityListCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeSecurityListCompartment." ) ; const pathParams = { "{securityListId}" : changeSecurityListCompartmentRequest . securityListId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeSecurityListCompartmentRequest . opcRequestId , "opc-retry-token" : changeSecurityListCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeSecurityListCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityLists/{securityListId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeSecurityListCompartmentRequest . changeSecurityListCompartmentDetails , "ChangeSecurityListCompartmentDetails" , model . ChangeSecurityListCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeSecurityListCompartmentResponse > { } , 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 ChangeServiceGatewayCompartmentRequest return throws example Click  https to see how to use ChangeServiceGatewayCompartment API.
      public async changeServiceGatewayCompartment ( changeServiceGatewayCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeServiceGatewayCompartment." ) ; const pathParams = { "{serviceGatewayId}" : changeServiceGatewayCompartmentRequest . serviceGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeServiceGatewayCompartmentRequest . opcRequestId , "opc-retry-token" : changeServiceGatewayCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeServiceGatewayCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceGateways/{serviceGatewayId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeServiceGatewayCompartmentRequest . changeServiceGatewayCompartmentDetails , "ChangeServiceGatewayCompartmentDetails" , model . ChangeServiceGatewayCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeServiceGatewayCompartmentResponse > { } , 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 ChangeSubnetCompartmentRequest return throws example Click  https to see how to use ChangeSubnetCompartment API.
      public async changeSubnetCompartment ( changeSubnetCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeSubnetCompartment." ) ; const pathParams = { "{subnetId}" : changeSubnetCompartmentRequest . subnetId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeSubnetCompartmentRequest . opcRequestId , "opc-retry-token" : changeSubnetCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeSubnetCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/subnets/{subnetId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeSubnetCompartmentRequest . changeSubnetCompartmentDetails , "ChangeSubnetCompartmentDetails" , model . ChangeSubnetCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeSubnetCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeVcnCompartmentRequest return throws example Click  https to see how to use ChangeVcnCompartment API.
      public async changeVcnCompartment ( changeVcnCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeVcnCompartment." ) ; const pathParams = { "{vcnId}" : changeVcnCompartmentRequest . vcnId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeVcnCompartmentRequest . opcRequestId , "opc-retry-token" : changeVcnCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeVcnCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vcns/{vcnId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeVcnCompartmentRequest . changeVcnCompartmentDetails , "ChangeVcnCompartmentDetails" , model . ChangeVcnCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeVcnCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeVirtualCircuitCompartmentRequest return throws example Click  https to see how to use ChangeVirtualCircuitCompartment API.
      public async changeVirtualCircuitCompartment ( changeVirtualCircuitCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeVirtualCircuitCompartment." ) ; const pathParams = { "{virtualCircuitId}" : changeVirtualCircuitCompartmentRequest . virtualCircuitId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeVirtualCircuitCompartmentRequest . opcRequestId , "opc-retry-token" : changeVirtualCircuitCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeVirtualCircuitCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/virtualCircuits/{virtualCircuitId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeVirtualCircuitCompartmentRequest . changeVirtualCircuitCompartmentDetails , "ChangeVirtualCircuitCompartmentDetails" , model . ChangeVirtualCircuitCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeVirtualCircuitCompartmentResponse > { } , 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 ChangeVlanCompartmentRequest return throws example Click  https to see how to use ChangeVlanCompartment API.
      public async changeVlanCompartment ( changeVlanCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#changeVlanCompartment." ) ; const pathParams = { "{vlanId}" : changeVlanCompartmentRequest . vlanId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeVlanCompartmentRequest . ifMatch , "opc-request-id" : changeVlanCompartmentRequest . opcRequestId , "opc-retry-token" : changeVlanCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeVlanCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vlans/{vlanId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeVlanCompartmentRequest . changeVlanCompartmentDetails , "ChangeVlanCompartmentDetails" , model . ChangeVlanCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeVlanCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ConnectLocalPeeringGatewaysRequest return throws example Click  https to see how to use ConnectLocalPeeringGateways API.
        public async connectLocalPeeringGateways ( connectLocalPeeringGatewaysRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#connectLocalPeeringGateways." ) ; const pathParams = { "{localPeeringGatewayId}" : connectLocalPeeringGatewaysRequest . localPeeringGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , connectLocalPeeringGatewaysRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/localPeeringGateways/{localPeeringGatewayId}/actions/connect" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( connectLocalPeeringGatewaysRequest . connectLocalPeeringGatewaysDetails , "ConnectLocalPeeringGatewaysDetails" , model . ConnectLocalPeeringGatewaysDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ConnectLocalPeeringGatewaysResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ConnectRemotePeeringConnectionsRequest return throws example Click  https to see how to use ConnectRemotePeeringConnections API.
        public async connectRemotePeeringConnections ( connectRemotePeeringConnectionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#connectRemotePeeringConnections." ) ; const pathParams = { "{remotePeeringConnectionId}" : connectRemotePeeringConnectionsRequest . remotePeeringConnectionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , connectRemotePeeringConnectionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/remotePeeringConnections/{remotePeeringConnectionId}/actions/connect" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( connectRemotePeeringConnectionsRequest . connectRemotePeeringConnectionsDetails , "ConnectRemotePeeringConnectionsDetails" , model . ConnectRemotePeeringConnectionsDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ConnectRemotePeeringConnectionsResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateByoipRangeRequest return throws example Click  https to see how to use CreateByoipRange API.
      public async createByoipRange ( createByoipRangeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createByoipRange." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createByoipRangeRequest . opcRequestId , "opc-retry-token" : createByoipRangeRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createByoipRangeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/byoipRanges" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createByoipRangeRequest . createByoipRangeDetails , "CreateByoipRangeDetails" , model . CreateByoipRangeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateByoipRangeResponse > { } , body : await response . json ( ) , bodyKey : "byoipRange" , bodyModel : model . ByoipRange , type : "model.ByoipRange" , 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 CreateCpeRequest return throws example Click  https to see how to use CreateCpe API.
        public async createCpe ( createCpeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createCpe." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createCpeRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createCpeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/cpes" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createCpeRequest . createCpeDetails , "CreateCpeDetails" , model . CreateCpeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateCpeResponse > { } , body : await response . json ( ) , bodyKey : "cpe" , bodyModel : model . Cpe , type : "model.Cpe" , 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 ; } } /**
       * Creates a new cross-connect. Oracle recommends you create each cross-connect in a
  *  CrossConnectGroup so you can use link aggregation
  * with the connection.
  * <p>
  After creating the `CrossConnect` object, you need to go the FastConnect location
  * and request to have the physical cable installed. For more information, see
  * [FastConnect Overview](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
  * <p>
  For the purposes of access control, you must provide the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the
  * compartment where you want the cross-connect to reside. If you're
  * not sure which compartment to use, put the cross-connect in the
  * same compartment with your VCN. For more information about
  * compartments and access control, see
  * [Overview of the IAM Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
  * For information about OCIDs, see
  * [Resource Identifiers](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
  * <p>
  You may optionally specify a *display name* for the cross-connect.
  * It does not have to be unique, and you can change it. Avoid entering confidential information.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateCrossConnectRequest return throws example Click  https to see how to use CreateCrossConnect API.
        public async createCrossConnect ( createCrossConnectRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createCrossConnect." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createCrossConnectRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createCrossConnectRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnects" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createCrossConnectRequest . createCrossConnectDetails , "CreateCrossConnectDetails" , model . CreateCrossConnectDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateCrossConnectResponse > { } , body : await response . json ( ) , bodyKey : "crossConnect" , bodyModel : model . CrossConnect , type : "model.CrossConnect" , 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 CreateCrossConnectGroupRequest return throws example Click  https to see how to use CreateCrossConnectGroup API.
        public async createCrossConnectGroup ( createCrossConnectGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createCrossConnectGroup." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createCrossConnectGroupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createCrossConnectGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnectGroups" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createCrossConnectGroupRequest . createCrossConnectGroupDetails , "CreateCrossConnectGroupDetails" , model . CreateCrossConnectGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateCrossConnectGroupResponse > { } , body : await response . json ( ) , bodyKey : "crossConnectGroup" , bodyModel : model . CrossConnectGroup , type : "model.CrossConnectGroup" , 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 ; } } /**
       * Creates a new set of DHCP options for the specified VCN. For more information, see
  *  DhcpOptions .
  * <p>
  For the purposes of access control, you must provide the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want the set of
  * DHCP options to reside. Notice that the set of options doesn't have to be in the same compartment as the VCN,
  * subnets, or other Networking Service components. If you're not sure which compartment to use, put the set
  * of DHCP options in the same compartment as the VCN. For more information about compartments and access control, see
  * [Overview of the IAM Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see
  * [Resource Identifiers](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
  * <p>
  You may optionally specify a *display name* for the set of DHCP options, otherwise a default is provided.
  * It does not have to be unique, and you can change it. Avoid entering confidential information.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateDhcpOptionsRequest return throws example Click  https to see how to use CreateDhcpOptions API.
        public async createDhcpOptions ( createDhcpOptionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createDhcpOptions." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createDhcpOptionsRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createDhcpOptionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dhcps" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createDhcpOptionsRequest . createDhcpDetails , "CreateDhcpDetails" , model . CreateDhcpDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateDhcpOptionsResponse > { } , body : await response . json ( ) , bodyKey : "dhcpOptions" , bodyModel : model . DhcpOptions , type : "model.DhcpOptions" , 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 CreateDrgRequest return throws example Click  https to see how to use CreateDrg API.
        public async createDrg ( createDrgRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createDrg." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createDrgRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createDrgRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgs" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createDrgRequest . createDrgDetails , "CreateDrgDetails" , model . CreateDrgDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateDrgResponse > { } , body : await response . json ( ) , bodyKey : "drg" , bodyModel : model . Drg , type : "model.Drg" , 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 CreateDrgAttachmentRequest return throws example Click  https to see how to use CreateDrgAttachment API.
        public async createDrgAttachment ( createDrgAttachmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createDrgAttachment." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createDrgAttachmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createDrgAttachmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgAttachments" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createDrgAttachmentRequest . createDrgAttachmentDetails , "CreateDrgAttachmentDetails" , model . CreateDrgAttachmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateDrgAttachmentResponse > { } , body : await response . json ( ) , bodyKey : "drgAttachment" , bodyModel : model . DrgAttachment , type : "model.DrgAttachment" , 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 CreateDrgRouteDistributionRequest return throws example Click  https to see how to use CreateDrgRouteDistribution API.
      public async createDrgRouteDistribution ( createDrgRouteDistributionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createDrgRouteDistribution." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createDrgRouteDistributionRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createDrgRouteDistributionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteDistributions" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createDrgRouteDistributionRequest . createDrgRouteDistributionDetails , "CreateDrgRouteDistributionDetails" , model . CreateDrgRouteDistributionDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateDrgRouteDistributionResponse > { } , body : await response . json ( ) , bodyKey : "drgRouteDistribution" , bodyModel : model . DrgRouteDistribution , type : "model.DrgRouteDistribution" , 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 CreateDrgRouteTableRequest return throws example Click  https to see how to use CreateDrgRouteTable API.
      public async createDrgRouteTable ( createDrgRouteTableRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createDrgRouteTable." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createDrgRouteTableRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createDrgRouteTableRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteTables" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createDrgRouteTableRequest . createDrgRouteTableDetails , "CreateDrgRouteTableDetails" , model . CreateDrgRouteTableDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateDrgRouteTableResponse > { } , body : await response . json ( ) , bodyKey : "drgRouteTable" , bodyModel : model . DrgRouteTable , type : "model.DrgRouteTable" , 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 ; } } /**
       * Creates a new IPSec connection between the specified DRG and CPE. For more information, see
  * [Site-to-Site VPN Overview](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm).
  * <p>
  If you configure at least one tunnel to use static routing, then in the request you must provide
  * at least one valid static route (you're allowed a maximum of 10). For example: 10.0.0.0/16.
  * If you configure both tunnels to use BGP dynamic routing, you can provide an empty list for
  * the static routes. For more information, see the important note in
  *  IPSecConnection .
  * <p>
  For the purposes of access control, you must provide the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want the
  * IPSec connection to reside. Notice that the IPSec connection doesn't have to be in the same compartment
  * as the DRG, CPE, or other Networking Service components. If you're not sure which compartment to
  * use, put the IPSec connection in the same compartment as the DRG. For more information about
  * compartments and access control, see
  * [Overview of the IAM Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
  * <p>
  You may optionally specify a *display name* for the IPSec connection, otherwise a default is provided.
  * It does not have to be unique, and you can change it. Avoid entering confidential information.
  * <p>
  After creating the IPSec connection, you need to configure your on-premises router
  * with tunnel-specific information. For tunnel status and the required configuration information, see:
  * <p>
    *  IPSecConnectionTunnel *   *  IPSecConnectionTunnelSharedSecret * <p>
  For each tunnel, you need the IP address of Oracle's VPN headend and the shared secret
  * (that is, the pre-shared key). For more information, see
  * [CPE Configuration](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm).
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateIPSecConnectionRequest return throws example Click  https to see how to use CreateIPSecConnection API.
        public async createIPSecConnection ( createIPSecConnectionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createIPSecConnection." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createIPSecConnectionRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createIPSecConnectionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createIPSecConnectionRequest . createIPSecConnectionDetails , "CreateIPSecConnectionDetails" , model . CreateIPSecConnectionDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateIPSecConnectionResponse > { } , body : await response . json ( ) , bodyKey : "iPSecConnection" , bodyModel : model . IPSecConnection , type : "model.IPSecConnection" , 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 ; } } /**
       * Creates a new internet gateway for the specified VCN. For more information, see
  * [Access to the Internet](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIGs.htm).
  * <p>
  For the purposes of access control, you must provide the [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment where you want the Internet
  * Gateway to reside. Notice that the internet gateway doesn't have to be in the same compartment as the VCN or
  * other Networking Service components. If you're not sure which compartment to use, put the Internet
  * Gateway in the same compartment with the VCN. For more information about compartments and access control, see
  * [Overview of the IAM Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
  * <p>
  You may optionally specify a *display name* for the internet gateway, otherwise a default is provided. It
  * does not have to be unique, and you can change it. Avoid entering confidential information.
  * <p>
  For traffic to flow between a subnet and an internet gateway, you must create a route rule accordingly in
  * the subnet's route table (for example, 0.0.0.0/0 > internet gateway). See
  *  {@link #updateRouteTable(UpdateRouteTableRequest) updateRouteTable} .
  * <p>
  You must specify whether the internet gateway is enabled when you create it. If it's disabled, that means no
  * traffic will flow to/from the internet even if there's a route rule that enables that traffic. You can later
  * use  {@link #updateInternetGateway(UpdateInternetGatewayRequest) updateInternetGateway} to easily disable/enable
  * the gateway without changing the route rule.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreateInternetGatewayRequest return throws example Click  https to see how to use CreateInternetGateway API.
        public async createInternetGateway ( createInternetGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createInternetGateway." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createInternetGatewayRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createInternetGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/internetGateways" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createInternetGatewayRequest . createInternetGatewayDetails , "CreateInternetGatewayDetails" , model . CreateInternetGatewayDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateInternetGatewayResponse > { } , body : await response . json ( ) , bodyKey : "internetGateway" , bodyModel : model . InternetGateway , type : "model.InternetGateway" , 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 CreateIpv6Request return throws example Click  https to see how to use CreateIpv6 API.
      public async createIpv6 ( createIpv6Request ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createIpv6." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createIpv6Request . opcRequestId , "opc-retry-token" : createIpv6Request . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createIpv6Request . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipv6" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createIpv6Request . createIpv6Details , "CreateIpv6Details" , model . CreateIpv6Details . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateIpv6Response > { } , body : await response . json ( ) , bodyKey : "ipv6" , bodyModel : model . Ipv6 , type : "model.Ipv6" , 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 CreateLocalPeeringGatewayRequest return throws example Click  https to see how to use CreateLocalPeeringGateway API.
      public async createLocalPeeringGateway ( createLocalPeeringGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createLocalPeeringGateway." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createLocalPeeringGatewayRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createLocalPeeringGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/localPeeringGateways" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createLocalPeeringGatewayRequest . createLocalPeeringGatewayDetails , "CreateLocalPeeringGatewayDetails" , model . CreateLocalPeeringGatewayDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateLocalPeeringGatewayResponse > { } , body : await response . json ( ) , bodyKey : "localPeeringGateway" , bodyModel : model . LocalPeeringGateway , type : "model.LocalPeeringGateway" , 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 ; } } /**
     * Creates a new NAT gateway for the specified VCN. You must also set up a route rule with the
     * NAT gateway as the rule's target. See  RouteTable .
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param CreateNatGatewayRequest return throws example Click  https to see how to use CreateNatGateway API.
      public async createNatGateway ( createNatGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createNatGateway." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createNatGatewayRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createNatGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/natGateways" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createNatGatewayRequest . createNatGatewayDetails , "CreateNatGatewayDetails" , model . CreateNatGatewayDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateNatGatewayResponse > { } , body : await response . json ( ) , bodyKey : "natGateway" , bodyModel : model . NatGateway , type : "model.NatGateway" , 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 CreateNetworkSecurityGroupRequest return throws example Click  https to see how to use CreateNetworkSecurityGroup API.
      public async createNetworkSecurityGroup ( createNetworkSecurityGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createNetworkSecurityGroup." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createNetworkSecurityGroupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createNetworkSecurityGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSecurityGroups" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createNetworkSecurityGroupRequest . createNetworkSecurityGroupDetails , "CreateNetworkSecurityGroupDetails" , model . CreateNetworkSecurityGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateNetworkSecurityGroupResponse > { } , body : await response . json ( ) , bodyKey : "networkSecurityGroup" , bodyModel : model . NetworkSecurityGroup , type : "model.NetworkSecurityGroup" , 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 CreatePrivateIpRequest return throws example Click  https to see how to use CreatePrivateIp API.
      public async createPrivateIp ( createPrivateIpRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createPrivateIp." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createPrivateIpRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createPrivateIpRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateIps" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createPrivateIpRequest . createPrivateIpDetails , "CreatePrivateIpDetails" , model . CreatePrivateIpDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreatePrivateIpResponse > { } , body : await response . json ( ) , bodyKey : "privateIp" , bodyModel : model . PrivateIp , type : "model.PrivateIp" , 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 ; } } /**
       * Creates a public IP. Use the `lifetime` property to specify whether it's an ephemeral or
  * reserved public IP. For information about limits on how many you can create, see
  * [Public IP Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm).
  * <p>
  * **For an ephemeral public IP assigned to a private IP:** You must also specify a `privateIpId`
  * with the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary private IP you want to assign the public IP to. The public IP is
  * created in the same availability domain as the private IP. An ephemeral public IP must always be
  * assigned to a private IP, and only to the *primary* private IP on a VNIC, not a secondary
  * private IP. Exception: If you create a  NatGateway , Oracle
  * automatically assigns the NAT gateway a regional ephemeral public IP that you cannot remove.
  * <p>
  * **For a reserved public IP:** You may also optionally assign the public IP to a private
  * IP by specifying `privateIpId`. Or you can later assign the public IP with
  *  {@link #updatePublicIp(UpdatePublicIpRequest) updatePublicIp} .
  * <p>
  **Note:** When assigning a public IP to a private IP, the private IP must not already have
  * a public IP with `lifecycleState` = ASSIGNING or ASSIGNED. If it does, an error is returned.
  * <p>
  Also, for reserved public IPs, the optional assignment part of this operation is
  * asynchronous. Poll the public IP's `lifecycleState` to determine if the assignment
  * succeeded.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param CreatePublicIpRequest return throws example Click  https to see how to use CreatePublicIp API.
        public async createPublicIp ( createPublicIpRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createPublicIp." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createPublicIpRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createPublicIpRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIps" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createPublicIpRequest . createPublicIpDetails , "CreatePublicIpDetails" , model . CreatePublicIpDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreatePublicIpResponse > { } , body : await response . json ( ) , bodyKey : "publicIp" , bodyModel : model . PublicIp , type : "model.PublicIp" , 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 CreatePublicIpPoolRequest return throws example Click  https to see how to use CreatePublicIpPool API.
      public async createPublicIpPool ( createPublicIpPoolRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createPublicIpPool." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createPublicIpPoolRequest . opcRequestId , "opc-retry-token" : createPublicIpPoolRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createPublicIpPoolRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIpPools" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createPublicIpPoolRequest . createPublicIpPoolDetails , "CreatePublicIpPoolDetails" , model . CreatePublicIpPoolDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreatePublicIpPoolResponse > { } , body : await response . json ( ) , bodyKey : "publicIpPool" , bodyModel : model . PublicIpPool , type : "model.PublicIpPool" , 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 CreateRemotePeeringConnectionRequest return throws example Click  https to see how to use CreateRemotePeeringConnection API.
      public async createRemotePeeringConnection ( createRemotePeeringConnectionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createRemotePeeringConnection." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createRemotePeeringConnectionRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createRemotePeeringConnectionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/remotePeeringConnections" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createRemotePeeringConnectionRequest . createRemotePeeringConnectionDetails , "CreateRemotePeeringConnectionDetails" , model . CreateRemotePeeringConnectionDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateRemotePeeringConnectionResponse > { } , body : await response . json ( ) , bodyKey : "remotePeeringConnection" , bodyModel : model . RemotePeeringConnection , type : "model.RemotePeeringConnection" , 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 CreateRouteTableRequest return throws example Click  https to see how to use CreateRouteTable API.
        public async createRouteTable ( createRouteTableRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createRouteTable." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createRouteTableRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createRouteTableRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/routeTables" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createRouteTableRequest . createRouteTableDetails , "CreateRouteTableDetails" , model . CreateRouteTableDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateRouteTableResponse > { } , body : await response . json ( ) , bodyKey : "routeTable" , bodyModel : model . RouteTable , type : "model.RouteTable" , 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 CreateSecurityListRequest return throws example Click  https to see how to use CreateSecurityList API.
        public async createSecurityList ( createSecurityListRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createSecurityList." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createSecurityListRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createSecurityListRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityLists" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createSecurityListRequest . createSecurityListDetails , "CreateSecurityListDetails" , model . CreateSecurityListDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateSecurityListResponse > { } , body : await response . json ( ) , bodyKey : "securityList" , bodyModel : model . SecurityList , type : "model.SecurityList" , 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 CreateServiceGatewayRequest return throws example Click  https to see how to use CreateServiceGateway API.
        public async createServiceGateway ( createServiceGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createServiceGateway." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createServiceGatewayRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createServiceGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceGateways" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createServiceGatewayRequest . createServiceGatewayDetails , "CreateServiceGatewayDetails" , model . CreateServiceGatewayDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateServiceGatewayResponse > { } , body : await response . json ( ) , bodyKey : "serviceGateway" , bodyModel : model . ServiceGateway , type : "model.ServiceGateway" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateSubnetRequest return throws example Click  https to see how to use CreateSubnet API.
        public async createSubnet ( createSubnetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createSubnet." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createSubnetRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createSubnetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/subnets" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createSubnetRequest . createSubnetDetails , "CreateSubnetDetails" , model . CreateSubnetDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateSubnetResponse > { } , body : await response . json ( ) , bodyKey : "subnet" , bodyModel : model . Subnet , type : "model.Subnet" , 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 CreateVcnRequest return throws example Click  https to see how to use CreateVcn API.
        public async createVcn ( createVcnRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createVcn." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createVcnRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createVcnRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vcns" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createVcnRequest . createVcnDetails , "CreateVcnDetails" , model . CreateVcnDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateVcnResponse > { } , body : await response . json ( ) , bodyKey : "vcn" , bodyModel : model . Vcn , type : "model.Vcn" , 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 CreateVirtualCircuitRequest return throws example Click  https to see how to use CreateVirtualCircuit API.
        public async createVirtualCircuit ( createVirtualCircuitRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createVirtualCircuit." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createVirtualCircuitRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createVirtualCircuitRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/virtualCircuits" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createVirtualCircuitRequest . createVirtualCircuitDetails , "CreateVirtualCircuitDetails" , model . CreateVirtualCircuitDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateVirtualCircuitResponse > { } , body : await response . json ( ) , bodyKey : "virtualCircuit" , bodyModel : model . VirtualCircuit , type : "model.VirtualCircuit" , 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 CreateVlanRequest return throws example Click  https to see how to use CreateVlan API.
      public async createVlan ( createVlanRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#createVlan." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createVlanRequest . opcRetryToken , "opc-request-id" : createVlanRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createVlanRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vlans" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createVlanRequest . createVlanDetails , "CreateVlanDetails" , model . CreateVlanDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateVlanResponse > { } , body : await response . json ( ) , bodyKey : "vlan" , bodyModel : model . Vlan , type : "model.Vlan" , 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 DeleteByoipRangeRequest return throws example Click  https to see how to use DeleteByoipRange API.
      public async deleteByoipRange ( deleteByoipRangeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteByoipRange." ) ; const pathParams = { "{byoipRangeId}" : deleteByoipRangeRequest . byoipRangeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteByoipRangeRequest . opcRequestId , "if-match" : deleteByoipRangeRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteByoipRangeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/byoipRanges/{byoipRangeId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteByoipRangeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteCpeRequest return throws example Click  https to see how to use DeleteCpe API.
      public async deleteCpe ( deleteCpeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteCpe." ) ; const pathParams = { "{cpeId}" : deleteCpeRequest . cpeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteCpeRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteCpeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/cpes/{cpeId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteCpeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Deletes the specified cross-connect. It must not be mapped to a
     *  VirtualCircuit .
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param DeleteCrossConnectRequest return throws example Click  https to see how to use DeleteCrossConnect API.
      public async deleteCrossConnect ( deleteCrossConnectRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteCrossConnect." ) ; const pathParams = { "{crossConnectId}" : deleteCrossConnectRequest . crossConnectId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteCrossConnectRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteCrossConnectRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnects/{crossConnectId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteCrossConnectResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Deletes the specified cross-connect group. It must not contain any
     * cross-connects, and it cannot be mapped to a
     *  VirtualCircuit .
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param DeleteCrossConnectGroupRequest return throws example Click  https to see how to use DeleteCrossConnectGroup API.
      public async deleteCrossConnectGroup ( deleteCrossConnectGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteCrossConnectGroup." ) ; const pathParams = { "{crossConnectGroupId}" : deleteCrossConnectGroupRequest . crossConnectGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteCrossConnectGroupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteCrossConnectGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnectGroups/{crossConnectGroupId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteCrossConnectGroupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteDhcpOptionsRequest return throws example Click  https to see how to use DeleteDhcpOptions API.
        public async deleteDhcpOptions ( deleteDhcpOptionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteDhcpOptions." ) ; const pathParams = { "{dhcpId}" : deleteDhcpOptionsRequest . dhcpId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteDhcpOptionsRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteDhcpOptionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dhcps/{dhcpId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteDhcpOptionsResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteDrgRequest return throws example Click  https to see how to use DeleteDrg API.
      public async deleteDrg ( deleteDrgRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteDrg." ) ; const pathParams = { "{drgId}" : deleteDrgRequest . drgId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteDrgRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteDrgRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgs/{drgId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteDrgResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteDrgAttachmentRequest return throws example Click  https to see how to use DeleteDrgAttachment API.
      public async deleteDrgAttachment ( deleteDrgAttachmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteDrgAttachment." ) ; const pathParams = { "{drgAttachmentId}" : deleteDrgAttachmentRequest . drgAttachmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteDrgAttachmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteDrgAttachmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgAttachments/{drgAttachmentId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteDrgAttachmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteDrgRouteDistributionRequest return throws example Click  https to see how to use DeleteDrgRouteDistribution API.
        public async deleteDrgRouteDistribution ( deleteDrgRouteDistributionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteDrgRouteDistribution." ) ; const pathParams = { "{drgRouteDistributionId}" : deleteDrgRouteDistributionRequest . drgRouteDistributionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteDrgRouteDistributionRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteDrgRouteDistributionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteDistributions/{drgRouteDistributionId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteDrgRouteDistributionResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteDrgRouteTableRequest return throws example Click  https to see how to use DeleteDrgRouteTable API.
      public async deleteDrgRouteTable ( deleteDrgRouteTableRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteDrgRouteTable." ) ; const pathParams = { "{drgRouteTableId}" : deleteDrgRouteTableRequest . drgRouteTableId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteDrgRouteTableRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteDrgRouteTableRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteTables/{drgRouteTableId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteDrgRouteTableResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Deletes the specified IPSec connection. If your goal is to disable the Site-to-Site VPN between your VCN and
  * on-premises network, it's easiest to simply detach the DRG but keep all the Site-to-Site VPN components intact.
  * If you were to delete all the components and then later need to create an Site-to-Site VPN again, you would
  * need to configure your on-premises router again with the new information returned from
  *  {@link #createIPSecConnection(CreateIPSecConnectionRequest) createIPSecConnection} .
  * <p>
  This is an asynchronous operation. The connection's `lifecycleState` will change to TERMINATING temporarily
  * until the connection is completely removed.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param DeleteIPSecConnectionRequest return throws example Click  https to see how to use DeleteIPSecConnection API.
        public async deleteIPSecConnection ( deleteIPSecConnectionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteIPSecConnection." ) ; const pathParams = { "{ipscId}" : deleteIPSecConnectionRequest . ipscId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteIPSecConnectionRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteIPSecConnectionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteIPSecConnectionResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteInternetGatewayRequest return throws example Click  https to see how to use DeleteInternetGateway API.
        public async deleteInternetGateway ( deleteInternetGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteInternetGateway." ) ; const pathParams = { "{igId}" : deleteInternetGatewayRequest . igId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteInternetGatewayRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteInternetGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/internetGateways/{igId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteInternetGatewayResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteIpv6Request return throws example Click  https to see how to use DeleteIpv6 API.
      public async deleteIpv6 ( deleteIpv6Request ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteIpv6." ) ; const pathParams = { "{ipv6Id}" : deleteIpv6Request . ipv6Id } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteIpv6Request . ifMatch , "opc-request-id" : deleteIpv6Request . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteIpv6Request . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipv6/{ipv6Id}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteIpv6Response > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteLocalPeeringGatewayRequest return throws example Click  https to see how to use DeleteLocalPeeringGateway API.
        public async deleteLocalPeeringGateway ( deleteLocalPeeringGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteLocalPeeringGateway." ) ; const pathParams = { "{localPeeringGatewayId}" : deleteLocalPeeringGatewayRequest . localPeeringGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteLocalPeeringGatewayRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteLocalPeeringGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/localPeeringGateways/{localPeeringGatewayId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteLocalPeeringGatewayResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteNatGatewayRequest return throws example Click  https to see how to use DeleteNatGateway API.
        public async deleteNatGateway ( deleteNatGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteNatGateway." ) ; const pathParams = { "{natGatewayId}" : deleteNatGatewayRequest . natGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteNatGatewayRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteNatGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/natGateways/{natGatewayId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteNatGatewayResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Deletes the specified network security group. The group must not contain any VNICs.
  * <p>
  To get a list of the VNICs in a network security group, use
  *  {@link #listNetworkSecurityGroupVnics(ListNetworkSecurityGroupVnicsRequest) listNetworkSecurityGroupVnics} .
  * Each returned  NetworkSecurityGroupVnic object
  * contains both the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC and the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC's parent resource (for example,
  * the Compute instance that the VNIC is attached to).
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param DeleteNetworkSecurityGroupRequest return throws example Click  https to see how to use DeleteNetworkSecurityGroup API.
        public async deleteNetworkSecurityGroup ( deleteNetworkSecurityGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteNetworkSecurityGroup." ) ; const pathParams = { "{networkSecurityGroupId}" : deleteNetworkSecurityGroupRequest . networkSecurityGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteNetworkSecurityGroupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteNetworkSecurityGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSecurityGroups/{networkSecurityGroupId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteNetworkSecurityGroupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeletePrivateIpRequest return throws example Click  https to see how to use DeletePrivateIp API.
        public async deletePrivateIp ( deletePrivateIpRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deletePrivateIp." ) ; const pathParams = { "{privateIpId}" : deletePrivateIpRequest . privateIpId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deletePrivateIpRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deletePrivateIpRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateIps/{privateIpId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeletePrivateIpResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Unassigns and deletes the specified public IP (either ephemeral or reserved).
  * You must specify the object's [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). The public IP address is returned to the
  * Oracle Cloud Infrastructure public IP pool.
  * <p>
  **Note:** You cannot update, unassign, or delete the public IP that Oracle automatically
  * assigned to an entity for you (such as a load balancer or NAT gateway). The public IP is
  * automatically deleted if the assigned entity is terminated.
  * <p>
  For an assigned reserved public IP, the initial unassignment portion of this operation
  * is asynchronous. Poll the public IP's `lifecycleState` to determine
  * if the operation succeeded.
  * <p>
  If you want to simply unassign a reserved public IP and return it to your pool
  * of reserved public IPs, instead use
  *  {@link #updatePublicIp(UpdatePublicIpRequest) updatePublicIp} .
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param DeletePublicIpRequest return throws example Click  https to see how to use DeletePublicIp API.
        public async deletePublicIp ( deletePublicIpRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deletePublicIp." ) ; const pathParams = { "{publicIpId}" : deletePublicIpRequest . publicIpId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deletePublicIpRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deletePublicIpRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIps/{publicIpId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeletePublicIpResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeletePublicIpPoolRequest return throws example Click  https to see how to use DeletePublicIpPool API.
      public async deletePublicIpPool ( deletePublicIpPoolRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deletePublicIpPool." ) ; const pathParams = { "{publicIpPoolId}" : deletePublicIpPoolRequest . publicIpPoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deletePublicIpPoolRequest . opcRequestId , "if-match" : deletePublicIpPoolRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deletePublicIpPoolRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIpPools/{publicIpPoolId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeletePublicIpPoolResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteRemotePeeringConnectionRequest return throws example Click  https to see how to use DeleteRemotePeeringConnection API.
        public async deleteRemotePeeringConnection ( deleteRemotePeeringConnectionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteRemotePeeringConnection." ) ; const pathParams = { "{remotePeeringConnectionId}" : deleteRemotePeeringConnectionRequest . remotePeeringConnectionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteRemotePeeringConnectionRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteRemotePeeringConnectionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/remotePeeringConnections/{remotePeeringConnectionId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteRemotePeeringConnectionResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteRouteTableRequest return throws example Click  https to see how to use DeleteRouteTable API.
        public async deleteRouteTable ( deleteRouteTableRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteRouteTable." ) ; const pathParams = { "{rtId}" : deleteRouteTableRequest . rtId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteRouteTableRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteRouteTableRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/routeTables/{rtId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteRouteTableResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteSecurityListRequest return throws example Click  https to see how to use DeleteSecurityList API.
        public async deleteSecurityList ( deleteSecurityListRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteSecurityList." ) ; const pathParams = { "{securityListId}" : deleteSecurityListRequest . securityListId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteSecurityListRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteSecurityListRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityLists/{securityListId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteSecurityListResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteServiceGatewayRequest return throws example Click  https to see how to use DeleteServiceGateway API.
      public async deleteServiceGateway ( deleteServiceGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteServiceGateway." ) ; const pathParams = { "{serviceGatewayId}" : deleteServiceGatewayRequest . serviceGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteServiceGatewayRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteServiceGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceGateways/{serviceGatewayId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteServiceGatewayResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteSubnetRequest return throws example Click  https to see how to use DeleteSubnet API.
      public async deleteSubnet ( deleteSubnetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteSubnet." ) ; const pathParams = { "{subnetId}" : deleteSubnetRequest . subnetId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteSubnetRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteSubnetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/subnets/{subnetId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteSubnetResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteVcnRequest return throws example Click  https to see how to use DeleteVcn API.
      public async deleteVcn ( deleteVcnRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteVcn." ) ; const pathParams = { "{vcnId}" : deleteVcnRequest . vcnId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteVcnRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteVcnRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vcns/{vcnId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteVcnResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteVirtualCircuitRequest return throws example Click  https to see how to use DeleteVirtualCircuit API.
      public async deleteVirtualCircuit ( deleteVirtualCircuitRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteVirtualCircuit." ) ; const pathParams = { "{virtualCircuitId}" : deleteVirtualCircuitRequest . virtualCircuitId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteVirtualCircuitRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteVirtualCircuitRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/virtualCircuits/{virtualCircuitId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteVirtualCircuitResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteVlanRequest return throws example Click  https to see how to use DeleteVlan API.
      public async deleteVlan ( deleteVlanRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#deleteVlan." ) ; const pathParams = { "{vlanId}" : deleteVlanRequest . vlanId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteVlanRequest . ifMatch , "opc-request-id" : deleteVlanRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteVlanRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vlans/{vlanId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteVlanResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Removes the specified  Service from the list of enabled
     * `Service` objects for the specified gateway. You do not need to remove any route
     * rules that specify this `Service` object's `cidrBlock` as the destination CIDR. However, consider
     * removing the rules if your intent is to permanently disable use of the `Service` through this
     * service gateway.
     * <p>
     **Note:** The `DetachServiceId` operation is an easy way to remove an individual `Service` from
     * the service gateway. Compare it with
     *  {@link #updateServiceGateway(UpdateServiceGatewayRequest) updateServiceGateway} , which replaces
     * the entire existing list of enabled `Service` objects with the list that you provide in the
     * `Update` call. `UpdateServiceGateway` also lets you block all traffic through the service
     * gateway without having to remove each of the individual `Service` objects.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param DetachServiceIdRequest return throws example Click  https to see how to use DetachServiceId API.
      public async detachServiceId ( detachServiceIdRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#detachServiceId." ) ; const pathParams = { "{serviceGatewayId}" : detachServiceIdRequest . serviceGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : detachServiceIdRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , detachServiceIdRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceGateways/{serviceGatewayId}/actions/detachService" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( detachServiceIdRequest . detachServiceDetails , "ServiceIdRequestDetails" , model . ServiceIdRequestDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DetachServiceIdResponse > { } , body : await response . json ( ) , bodyKey : "serviceGateway" , bodyModel : model . ServiceGateway , type : "model.ServiceGateway" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetAllDrgAttachmentsRequest return throws example Click  https to see how to use GetAllDrgAttachments API.
      public async getAllDrgAttachments ( getAllDrgAttachmentsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getAllDrgAttachments." ) ; const pathParams = { "{drgId}" : getAllDrgAttachmentsRequest . drgId } ; const queryParams = { "limit" : getAllDrgAttachmentsRequest . limit , "page" : getAllDrgAttachmentsRequest . page , "attachmentType" : getAllDrgAttachmentsRequest . attachmentType , "isCrossTenancy" : getAllDrgAttachmentsRequest . isCrossTenancy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getAllDrgAttachmentsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getAllDrgAttachmentsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgs/{drgId}/actions/getAllDrgAttachments" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetAllDrgAttachmentsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DrgAttachmentInfo , type : "Array<model.DrgAttachmentInfo>" , 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 request public getAllAllDrgAttachments ( request ) { return paginateRecords ( request , req => this . getAllDrgAttachments ( req ) ) ; } param request public getAllAllDrgAttachmentsResponses ( request ) { return paginateResponses ( request , req => this . getAllDrgAttachments ( req ) ) ; } param request public getAllDrgAttachmentsRecordIterator ( request ) { return paginateRecords ( request , req => this . getAllDrgAttachments ( req ) ) ; } param request public getAllDrgAttachmentsResponseIterator ( request ) { return paginateResponses ( request , req => this . getAllDrgAttachments ( req ) ) ; } param GetAllowedIkeIPSecParametersRequest return throws example Click  https to see how to use GetAllowedIkeIPSecParameters API.
      public async getAllowedIkeIPSecParameters ( getAllowedIkeIPSecParametersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getAllowedIkeIPSecParameters." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getAllowedIkeIPSecParametersRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getAllowedIkeIPSecParametersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecAlgorithms" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetAllowedIkeIPSecParametersResponse > { } , body : await response . json ( ) , bodyKey : "allowedIkeIPSecParameters" , bodyModel : model . AllowedIkeIPSecParameters , type : "model.AllowedIkeIPSecParameters" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetByoipRangeRequest return throws example Click  https to see how to use GetByoipRange API.
      public async getByoipRange ( getByoipRangeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getByoipRange." ) ; const pathParams = { "{byoipRangeId}" : getByoipRangeRequest . byoipRangeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getByoipRangeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getByoipRangeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/byoipRanges/{byoipRangeId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetByoipRangeResponse > { } , body : await response . json ( ) , bodyKey : "byoipRange" , bodyModel : model . ByoipRange , type : "model.ByoipRange" , 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 GetCpeRequest return throws example Click  https to see how to use GetCpe API.
      public async getCpe ( getCpeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getCpe." ) ; const pathParams = { "{cpeId}" : getCpeRequest . cpeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getCpeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/cpes/{cpeId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetCpeResponse > { } , body : await response . json ( ) , bodyKey : "cpe" , bodyModel : model . Cpe , type : "model.Cpe" , 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 ; } } /**
       * Renders a set of CPE configuration content that can help a network engineer configure the actual
  * CPE device (for example, a hardware router) represented by the specified  Cpe * object.
  * <p>
  The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the
  *  Cpe must have the CPE's device type specified by the `cpeDeviceShapeId`
  * attribute. The content optionally includes answers that the customer provides (see
  *  {@link #updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest) updateTunnelCpeDeviceConfig} ),
  * merged with a template of other information specific to the CPE device type.
  * <p>
  The operation returns configuration information for *all* of the
  *  IPSecConnection objects that use the specified CPE.
  * Here are similar operations:
  * <p>
    *  {@link #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) getIpsecCpeDeviceConfigContent} *   returns CPE configuration content for all IPSec tunnels in a single IPSec connection.
  *   *  {@link #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) getTunnelCpeDeviceConfigContent} *   returns CPE configuration content for a specific IPSec tunnel in an IPSec connection.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param GetCpeDeviceConfigContentRequest return throws example Click  https to see how to use GetCpeDeviceConfigContent API.
        public async getCpeDeviceConfigContent ( getCpeDeviceConfigContentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getCpeDeviceConfigContent." ) ; const pathParams = { "{cpeId}" : getCpeDeviceConfigContentRequest . cpeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getCpeDeviceConfigContentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getCpeDeviceConfigContentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/cpes/{cpeId}/cpeConfigContent" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetCpeDeviceConfigContentResponse > { } , 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 ; } } /**
     * Gets the detailed information about the specified CPE device type. This might include a set of questions
     * that are specific to the particular CPE device type. The customer must supply answers to those questions
     * (see  {@link #updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest) updateTunnelCpeDeviceConfig} ).
     * The service merges the answers with a template of other information for the CPE device type. The following
     * operations return the merged content:
     * <p>
     *  {@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) getCpeDeviceConfigContent} *   *  {@link #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) getIpsecCpeDeviceConfigContent} *   *  {@link #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) getTunnelCpeDeviceConfigContent} *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param GetCpeDeviceShapeRequest return throws example Click  https to see how to use GetCpeDeviceShape API.
      public async getCpeDeviceShape ( getCpeDeviceShapeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getCpeDeviceShape." ) ; const pathParams = { "{cpeDeviceShapeId}" : getCpeDeviceShapeRequest . cpeDeviceShapeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getCpeDeviceShapeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getCpeDeviceShapeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/cpeDeviceShapes/{cpeDeviceShapeId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetCpeDeviceShapeResponse > { } , body : await response . json ( ) , bodyKey : "cpeDeviceShapeDetail" , bodyModel : model . CpeDeviceShapeDetail , type : "model.CpeDeviceShapeDetail" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetCrossConnectRequest return throws example Click  https to see how to use GetCrossConnect API.
      public async getCrossConnect ( getCrossConnectRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getCrossConnect." ) ; const pathParams = { "{crossConnectId}" : getCrossConnectRequest . crossConnectId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getCrossConnectRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnects/{crossConnectId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetCrossConnectResponse > { } , body : await response . json ( ) , bodyKey : "crossConnect" , bodyModel : model . CrossConnect , type : "model.CrossConnect" , 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 GetCrossConnectGroupRequest return throws example Click  https to see how to use GetCrossConnectGroup API.
      public async getCrossConnectGroup ( getCrossConnectGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getCrossConnectGroup." ) ; const pathParams = { "{crossConnectGroupId}" : getCrossConnectGroupRequest . crossConnectGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getCrossConnectGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnectGroups/{crossConnectGroupId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetCrossConnectGroupResponse > { } , body : await response . json ( ) , bodyKey : "crossConnectGroup" , bodyModel : model . CrossConnectGroup , type : "model.CrossConnectGroup" , 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 GetCrossConnectLetterOfAuthorityRequest return throws example Click  https to see how to use GetCrossConnectLetterOfAuthority API.
      public async getCrossConnectLetterOfAuthority ( getCrossConnectLetterOfAuthorityRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getCrossConnectLetterOfAuthority." ) ; const pathParams = { "{crossConnectId}" : getCrossConnectLetterOfAuthorityRequest . crossConnectId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getCrossConnectLetterOfAuthorityRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnects/{crossConnectId}/letterOfAuthority" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetCrossConnectLetterOfAuthorityResponse > { } , body : await response . json ( ) , bodyKey : "letterOfAuthority" , bodyModel : model . LetterOfAuthority , type : "model.LetterOfAuthority" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetCrossConnectStatusRequest return throws example Click  https to see how to use GetCrossConnectStatus API.
      public async getCrossConnectStatus ( getCrossConnectStatusRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getCrossConnectStatus." ) ; const pathParams = { "{crossConnectId}" : getCrossConnectStatusRequest . crossConnectId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getCrossConnectStatusRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnects/{crossConnectId}/status" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetCrossConnectStatusResponse > { } , body : await response . json ( ) , bodyKey : "crossConnectStatus" , bodyModel : model . CrossConnectStatus , type : "model.CrossConnectStatus" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetDhcpOptionsRequest return throws example Click  https to see how to use GetDhcpOptions API.
      public async getDhcpOptions ( getDhcpOptionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getDhcpOptions." ) ; const pathParams = { "{dhcpId}" : getDhcpOptionsRequest . dhcpId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDhcpOptionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dhcps/{dhcpId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDhcpOptionsResponse > { } , body : await response . json ( ) , bodyKey : "dhcpOptions" , bodyModel : model . DhcpOptions , type : "model.DhcpOptions" , 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 GetDrgRequest return throws example Click  https to see how to use GetDrg API.
      public async getDrg ( getDrgRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getDrg." ) ; const pathParams = { "{drgId}" : getDrgRequest . drgId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDrgRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgs/{drgId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDrgResponse > { } , body : await response . json ( ) , bodyKey : "drg" , bodyModel : model . Drg , type : "model.Drg" , 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 GetDrgAttachmentRequest return throws example Click  https to see how to use GetDrgAttachment API.
      public async getDrgAttachment ( getDrgAttachmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getDrgAttachment." ) ; const pathParams = { "{drgAttachmentId}" : getDrgAttachmentRequest . drgAttachmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDrgAttachmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgAttachments/{drgAttachmentId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDrgAttachmentResponse > { } , body : await response . json ( ) , bodyKey : "drgAttachment" , bodyModel : model . DrgAttachment , type : "model.DrgAttachment" , 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 GetDrgRedundancyStatusRequest return throws example Click  https to see how to use GetDrgRedundancyStatus API.
      public async getDrgRedundancyStatus ( getDrgRedundancyStatusRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getDrgRedundancyStatus." ) ; const pathParams = { "{drgId}" : getDrgRedundancyStatusRequest . drgId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getDrgRedundancyStatusRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDrgRedundancyStatusRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgs/{drgId}/redundancyStatus" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDrgRedundancyStatusResponse > { } , body : await response . json ( ) , bodyKey : "drgRedundancyStatus" , bodyModel : model . DrgRedundancyStatus , type : "model.DrgRedundancyStatus" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetDrgRouteDistributionRequest return throws example Click  https to see how to use GetDrgRouteDistribution API.
      public async getDrgRouteDistribution ( getDrgRouteDistributionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getDrgRouteDistribution." ) ; const pathParams = { "{drgRouteDistributionId}" : getDrgRouteDistributionRequest . drgRouteDistributionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDrgRouteDistributionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteDistributions/{drgRouteDistributionId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDrgRouteDistributionResponse > { } , body : await response . json ( ) , bodyKey : "drgRouteDistribution" , bodyModel : model . DrgRouteDistribution , type : "model.DrgRouteDistribution" , 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 GetDrgRouteTableRequest return throws example Click  https to see how to use GetDrgRouteTable API.
      public async getDrgRouteTable ( getDrgRouteTableRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getDrgRouteTable." ) ; const pathParams = { "{drgRouteTableId}" : getDrgRouteTableRequest . drgRouteTableId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDrgRouteTableRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteTables/{drgRouteTableId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDrgRouteTableResponse > { } , body : await response . json ( ) , bodyKey : "drgRouteTable" , bodyModel : model . DrgRouteTable , type : "model.DrgRouteTable" , 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 GetFastConnectProviderServiceRequest return throws example Click  https to see how to use GetFastConnectProviderService API.
      public async getFastConnectProviderService ( getFastConnectProviderServiceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getFastConnectProviderService." ) ; const pathParams = { "{providerServiceId}" : getFastConnectProviderServiceRequest . providerServiceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getFastConnectProviderServiceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/fastConnectProviderServices/{providerServiceId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetFastConnectProviderServiceResponse > { } , body : await response . json ( ) , bodyKey : "fastConnectProviderService" , bodyModel : model . FastConnectProviderService , type : "model.FastConnectProviderService" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetFastConnectProviderServiceKeyRequest return throws example Click  https to see how to use GetFastConnectProviderServiceKey API.
      public async getFastConnectProviderServiceKey ( getFastConnectProviderServiceKeyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getFastConnectProviderServiceKey." ) ; const pathParams = { "{providerServiceId}" : getFastConnectProviderServiceKeyRequest . providerServiceId , "{providerServiceKeyName}" : getFastConnectProviderServiceKeyRequest . providerServiceKeyName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getFastConnectProviderServiceKeyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/fastConnectProviderServices/{providerServiceId}/providerServiceKeys/{providerServiceKeyName}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetFastConnectProviderServiceKeyResponse > { } , body : await response . json ( ) , bodyKey : "fastConnectProviderServiceKey" , bodyModel : model . FastConnectProviderServiceKey , type : "model.FastConnectProviderServiceKey" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Gets the specified IPSec connection's basic information, including the static routes for the
     * on-premises router. If you want the status of the connection (whether it's up or down), use
     *  {@link #getIPSecConnectionTunnel(GetIPSecConnectionTunnelRequest) getIPSecConnectionTunnel} .
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param GetIPSecConnectionRequest return throws example Click  https to see how to use GetIPSecConnection API.
      public async getIPSecConnection ( getIPSecConnectionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getIPSecConnection." ) ; const pathParams = { "{ipscId}" : getIPSecConnectionRequest . ipscId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getIPSecConnectionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetIPSecConnectionResponse > { } , body : await response . json ( ) , bodyKey : "iPSecConnection" , bodyModel : model . IPSecConnection , type : "model.IPSecConnection" , 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 ; } } /**
     * Deprecated. To get tunnel information, instead use:
     * <p>
     *  {@link #getIPSecConnectionTunnel(GetIPSecConnectionTunnelRequest) getIPSecConnectionTunnel} * *  {@link #getIPSecConnectionTunnelSharedSecret(GetIPSecConnectionTunnelSharedSecretRequest) getIPSecConnectionTunnelSharedSecret} *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param GetIPSecConnectionDeviceConfigRequest return throws example Click  https to see how to use GetIPSecConnectionDeviceConfig API.
      public async getIPSecConnectionDeviceConfig ( getIPSecConnectionDeviceConfigRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getIPSecConnectionDeviceConfig." ) ; const pathParams = { "{ipscId}" : getIPSecConnectionDeviceConfigRequest . ipscId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getIPSecConnectionDeviceConfigRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/deviceConfig" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetIPSecConnectionDeviceConfigResponse > { } , body : await response . json ( ) , bodyKey : "iPSecConnectionDeviceConfig" , bodyModel : model . IPSecConnectionDeviceConfig , type : "model.IPSecConnectionDeviceConfig" , 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 ; } } /**
     * Deprecated. To get the tunnel status, instead use
     *  {@link #getIPSecConnectionTunnel(GetIPSecConnectionTunnelRequest) getIPSecConnectionTunnel} .
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param GetIPSecConnectionDeviceStatusRequest return throws example Click  https to see how to use GetIPSecConnectionDeviceStatus API.
      public async getIPSecConnectionDeviceStatus ( getIPSecConnectionDeviceStatusRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getIPSecConnectionDeviceStatus." ) ; const pathParams = { "{ipscId}" : getIPSecConnectionDeviceStatusRequest . ipscId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getIPSecConnectionDeviceStatusRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/deviceStatus" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetIPSecConnectionDeviceStatusResponse > { } , body : await response . json ( ) , bodyKey : "iPSecConnectionDeviceStatus" , bodyModel : model . IPSecConnectionDeviceStatus , type : "model.IPSecConnectionDeviceStatus" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Gets the specified tunnel's information. The resulting object does not include the tunnel's
     * shared secret (pre-shared key). To retrieve that, use
     *  {@link #getIPSecConnectionTunnelSharedSecret(GetIPSecConnectionTunnelSharedSecretRequest) getIPSecConnectionTunnelSharedSecret} .
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param GetIPSecConnectionTunnelRequest return throws example Click  https to see how to use GetIPSecConnectionTunnel API.
      public async getIPSecConnectionTunnel ( getIPSecConnectionTunnelRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getIPSecConnectionTunnel." ) ; const pathParams = { "{ipscId}" : getIPSecConnectionTunnelRequest . ipscId , "{tunnelId}" : getIPSecConnectionTunnelRequest . tunnelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getIPSecConnectionTunnelRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/tunnels/{tunnelId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetIPSecConnectionTunnelResponse > { } , body : await response . json ( ) , bodyKey : "iPSecConnectionTunnel" , bodyModel : model . IPSecConnectionTunnel , type : "model.IPSecConnectionTunnel" , 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 GetIPSecConnectionTunnelErrorRequest return throws example Click  https to see how to use GetIPSecConnectionTunnelError API.
      public async getIPSecConnectionTunnelError ( getIPSecConnectionTunnelErrorRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getIPSecConnectionTunnelError." ) ; const pathParams = { "{ipscId}" : getIPSecConnectionTunnelErrorRequest . ipscId , "{tunnelId}" : getIPSecConnectionTunnelErrorRequest . tunnelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getIPSecConnectionTunnelErrorRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/error" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetIPSecConnectionTunnelErrorResponse > { } , body : await response . json ( ) , bodyKey : "iPSecConnectionTunnelErrorDetails" , bodyModel : model . IPSecConnectionTunnelErrorDetails , type : "model.IPSecConnectionTunnelErrorDetails" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Gets the specified tunnel's shared secret (pre-shared key). To get other information
     * about the tunnel, use  {@link #getIPSecConnectionTunnel(GetIPSecConnectionTunnelRequest) getIPSecConnectionTunnel} .
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param GetIPSecConnectionTunnelSharedSecretRequest return throws example Click  https to see how to use GetIPSecConnectionTunnelSharedSecret API.
      public async getIPSecConnectionTunnelSharedSecret ( getIPSecConnectionTunnelSharedSecretRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getIPSecConnectionTunnelSharedSecret." ) ; const pathParams = { "{ipscId}" : getIPSecConnectionTunnelSharedSecretRequest . ipscId , "{tunnelId}" : getIPSecConnectionTunnelSharedSecretRequest . tunnelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getIPSecConnectionTunnelSharedSecretRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/sharedSecret" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetIPSecConnectionTunnelSharedSecretResponse > { } , body : await response . json ( ) , bodyKey : "iPSecConnectionTunnelSharedSecret" , bodyModel : model . IPSecConnectionTunnelSharedSecret , type : "model.IPSecConnectionTunnelSharedSecret" , 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 GetInternetGatewayRequest return throws example Click  https to see how to use GetInternetGateway API.
      public async getInternetGateway ( getInternetGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getInternetGateway." ) ; const pathParams = { "{igId}" : getInternetGatewayRequest . igId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getInternetGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/internetGateways/{igId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetInternetGatewayResponse > { } , body : await response . json ( ) , bodyKey : "internetGateway" , bodyModel : model . InternetGateway , type : "model.InternetGateway" , 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 ; } } /**
       * Renders a set of CPE configuration content for the specified IPSec connection (for all the
  * tunnels in the connection). The content helps a network engineer configure the actual CPE
  * device (for example, a hardware router) that the specified IPSec connection terminates on.
  * <p>
  The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the
  *  Cpe used by the specified  IPSecConnection * must have the CPE's device type specified by the `cpeDeviceShapeId` attribute. The content
  * optionally includes answers that the customer provides (see
  *  {@link #updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest) updateTunnelCpeDeviceConfig} ),
  * merged with a template of other information specific to the CPE device type.
  * <p>
  The operation returns configuration information for all tunnels in the single specified
  *  IPSecConnection object. Here are other similar
  * operations:
  * <p>
    *  {@link #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) getTunnelCpeDeviceConfigContent} *   returns CPE configuration content for a specific tunnel within an IPSec connection.
  *   *  {@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) getCpeDeviceConfigContent} *   returns CPE configuration content for *all* IPSec connections that use a specific CPE.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param GetIpsecCpeDeviceConfigContentRequest return throws example Click  https to see how to use GetIpsecCpeDeviceConfigContent API.
        public async getIpsecCpeDeviceConfigContent ( getIpsecCpeDeviceConfigContentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getIpsecCpeDeviceConfigContent." ) ; const pathParams = { "{ipscId}" : getIpsecCpeDeviceConfigContentRequest . ipscId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getIpsecCpeDeviceConfigContentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getIpsecCpeDeviceConfigContentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/cpeConfigContent" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetIpsecCpeDeviceConfigContentResponse > { } , 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 ; } } /**
     * Gets the specified IPv6. You must specify the object's [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
     * Alternatively, you can get the object by using
     *  {@link #listIpv6s(ListIpv6sRequest) listIpv6s} * with the IPv6 address (for example, 2001:0db8:0123:1111:98fe:dcba:9876:4321) and subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param GetIpv6Request return throws example Click  https to see how to use GetIpv6 API.
      public async getIpv6 ( getIpv6Request ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getIpv6." ) ; const pathParams = { "{ipv6Id}" : getIpv6Request . ipv6Id } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getIpv6Request . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getIpv6Request . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipv6/{ipv6Id}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetIpv6Response > { } , body : await response . json ( ) , bodyKey : "ipv6" , bodyModel : model . Ipv6 , type : "model.Ipv6" , 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 GetLocalPeeringGatewayRequest return throws example Click  https to see how to use GetLocalPeeringGateway API.
      public async getLocalPeeringGateway ( getLocalPeeringGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getLocalPeeringGateway." ) ; const pathParams = { "{localPeeringGatewayId}" : getLocalPeeringGatewayRequest . localPeeringGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getLocalPeeringGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/localPeeringGateways/{localPeeringGatewayId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetLocalPeeringGatewayResponse > { } , body : await response . json ( ) , bodyKey : "localPeeringGateway" , bodyModel : model . LocalPeeringGateway , type : "model.LocalPeeringGateway" , 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 GetNatGatewayRequest return throws example Click  https to see how to use GetNatGateway API.
      public async getNatGateway ( getNatGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getNatGateway." ) ; const pathParams = { "{natGatewayId}" : getNatGatewayRequest . natGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getNatGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/natGateways/{natGatewayId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetNatGatewayResponse > { } , body : await response . json ( ) , bodyKey : "natGateway" , bodyModel : model . NatGateway , type : "model.NatGateway" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Gets the specified network security group's information.
  * <p>
  To list the VNICs in an NSG, see
  *  {@link #listNetworkSecurityGroupVnics(ListNetworkSecurityGroupVnicsRequest) listNetworkSecurityGroupVnics} .
  * <p>
  To list the security rules in an NSG, see
  *  {@link #listNetworkSecurityGroupSecurityRules(ListNetworkSecurityGroupSecurityRulesRequest) listNetworkSecurityGroupSecurityRules} .
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param GetNetworkSecurityGroupRequest return throws example Click  https to see how to use GetNetworkSecurityGroup API.
        public async getNetworkSecurityGroup ( getNetworkSecurityGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getNetworkSecurityGroup." ) ; const pathParams = { "{networkSecurityGroupId}" : getNetworkSecurityGroupRequest . networkSecurityGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getNetworkSecurityGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSecurityGroups/{networkSecurityGroupId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetNetworkSecurityGroupResponse > { } , body : await response . json ( ) , bodyKey : "networkSecurityGroup" , bodyModel : model . NetworkSecurityGroup , type : "model.NetworkSecurityGroup" , 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 GetNetworkingTopologyRequest return throws example Click  https to see how to use GetNetworkingTopology API.
      public async getNetworkingTopology ( getNetworkingTopologyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getNetworkingTopology." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : getNetworkingTopologyRequest . compartmentId , "accessLevel" : getNetworkingTopologyRequest . accessLevel , "queryCompartmentSubtree" : getNetworkingTopologyRequest . queryCompartmentSubtree } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getNetworkingTopologyRequest . opcRequestId , "if-none-match" : getNetworkingTopologyRequest . ifNoneMatch , "cache-control" : getNetworkingTopologyRequest . cacheControl } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getNetworkingTopologyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkingTopology" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetNetworkingTopologyResponse > { } , body : await response . json ( ) , bodyKey : "networkingTopology" , bodyModel : model . NetworkingTopology , type : "model.NetworkingTopology" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Gets the specified private IP. You must specify the object's [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     * Alternatively, you can get the object by using
     *  {@link #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} * with the private IP address (for example, 10.0.3.3) and subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param GetPrivateIpRequest return throws example Click  https to see how to use GetPrivateIp API.
      public async getPrivateIp ( getPrivateIpRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getPrivateIp." ) ; const pathParams = { "{privateIpId}" : getPrivateIpRequest . privateIpId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getPrivateIpRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateIps/{privateIpId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetPrivateIpResponse > { } , body : await response . json ( ) , bodyKey : "privateIp" , bodyModel : model . PrivateIp , type : "model.PrivateIp" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Gets the specified public IP. You must specify the object's [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
  * <p>
  Alternatively, you can get the object by using  {@link #getPublicIpByIpAddress(GetPublicIpByIpAddressRequest) getPublicIpByIpAddress} * with the public IP address (for example, 203.0.113.2).
  * <p>
  Or you can use  {@link #getPublicIpByPrivateIpId(GetPublicIpByPrivateIpIdRequest) getPublicIpByPrivateIpId} * with the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP that the public IP is assigned to.
  * <p>
  **Note:** If you're fetching a reserved public IP that is in the process of being
  * moved to a different private IP, the service returns the public IP object with
  * `lifecycleState` = ASSIGNING and `assignedEntityId` = [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param GetPublicIpRequest return throws example Click  https to see how to use GetPublicIp API.
        public async getPublicIp ( getPublicIpRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getPublicIp." ) ; const pathParams = { "{publicIpId}" : getPublicIpRequest . publicIpId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getPublicIpRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIps/{publicIpId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetPublicIpResponse > { } , body : await response . json ( ) , bodyKey : "publicIp" , bodyModel : model . PublicIp , type : "model.PublicIp" , 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 GetPublicIpByIpAddressRequest return throws example Click  https to see how to use GetPublicIpByIpAddress API.
      public async getPublicIpByIpAddress ( getPublicIpByIpAddressRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getPublicIpByIpAddress." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getPublicIpByIpAddressRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIps/actions/getByIpAddress" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( getPublicIpByIpAddressRequest . getPublicIpByIpAddressDetails , "GetPublicIpByIpAddressDetails" , model . GetPublicIpByIpAddressDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetPublicIpByIpAddressResponse > { } , body : await response . json ( ) , bodyKey : "publicIp" , bodyModel : model . PublicIp , type : "model.PublicIp" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Gets the public IP assigned to the specified private IP. You must specify the OCID
     * of the private IP. If no public IP is assigned, a 404 is returned.
     * <p>
     **Note:** If you're fetching a reserved public IP that is in the process of being
     * moved to a different private IP, and you provide the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the original private
     * IP, this operation returns a 404. If you instead provide the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target
     * private IP, or if you instead call
     *  {@link #getPublicIp(GetPublicIpRequest) getPublicIp} or
     *  {@link #getPublicIpByIpAddress(GetPublicIpByIpAddressRequest) getPublicIpByIpAddress} , the
     * service returns the public IP object with `lifecycleState` = ASSIGNING and
     * `assignedEntityId` = [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param GetPublicIpByPrivateIpIdRequest return throws example Click  https to see how to use GetPublicIpByPrivateIpId API.
      public async getPublicIpByPrivateIpId ( getPublicIpByPrivateIpIdRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getPublicIpByPrivateIpId." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getPublicIpByPrivateIpIdRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIps/actions/getByPrivateIpId" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( getPublicIpByPrivateIpIdRequest . getPublicIpByPrivateIpIdDetails , "GetPublicIpByPrivateIpIdDetails" , model . GetPublicIpByPrivateIpIdDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetPublicIpByPrivateIpIdResponse > { } , body : await response . json ( ) , bodyKey : "publicIp" , bodyModel : model . PublicIp , type : "model.PublicIp" , 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 GetPublicIpPoolRequest return throws example Click  https to see how to use GetPublicIpPool API.
      public async getPublicIpPool ( getPublicIpPoolRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getPublicIpPool." ) ; const pathParams = { "{publicIpPoolId}" : getPublicIpPoolRequest . publicIpPoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getPublicIpPoolRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getPublicIpPoolRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIpPools/{publicIpPoolId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetPublicIpPoolResponse > { } , body : await response . json ( ) , bodyKey : "publicIpPool" , bodyModel : model . PublicIpPool , type : "model.PublicIpPool" , 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 GetRemotePeeringConnectionRequest return throws example Click  https to see how to use GetRemotePeeringConnection API.
      public async getRemotePeeringConnection ( getRemotePeeringConnectionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getRemotePeeringConnection." ) ; const pathParams = { "{remotePeeringConnectionId}" : getRemotePeeringConnectionRequest . remotePeeringConnectionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getRemotePeeringConnectionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/remotePeeringConnections/{remotePeeringConnectionId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetRemotePeeringConnectionResponse > { } , body : await response . json ( ) , bodyKey : "remotePeeringConnection" , bodyModel : model . RemotePeeringConnection , type : "model.RemotePeeringConnection" , 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 GetRouteTableRequest return throws example Click  https to see how to use GetRouteTable API.
      public async getRouteTable ( getRouteTableRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getRouteTable." ) ; const pathParams = { "{rtId}" : getRouteTableRequest . rtId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getRouteTableRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/routeTables/{rtId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetRouteTableResponse > { } , body : await response . json ( ) , bodyKey : "routeTable" , bodyModel : model . RouteTable , type : "model.RouteTable" , 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 GetSecurityListRequest return throws example Click  https to see how to use GetSecurityList API.
      public async getSecurityList ( getSecurityListRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getSecurityList." ) ; const pathParams = { "{securityListId}" : getSecurityListRequest . securityListId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getSecurityListRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityLists/{securityListId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetSecurityListResponse > { } , body : await response . json ( ) , bodyKey : "securityList" , bodyModel : model . SecurityList , type : "model.SecurityList" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Gets the specified  Service object.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param GetServiceRequest return throws example Click  https to see how to use GetService API.
      public async getService ( getServiceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getService." ) ; const pathParams = { "{serviceId}" : getServiceRequest . serviceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getServiceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/services/{serviceId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetServiceResponse > { } , body : await response . json ( ) , bodyKey : "service" , bodyModel : model . Service , type : "model.Service" , 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 GetServiceGatewayRequest return throws example Click  https to see how to use GetServiceGateway API.
      public async getServiceGateway ( getServiceGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getServiceGateway." ) ; const pathParams = { "{serviceGatewayId}" : getServiceGatewayRequest . serviceGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getServiceGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceGateways/{serviceGatewayId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetServiceGatewayResponse > { } , body : await response . json ( ) , bodyKey : "serviceGateway" , bodyModel : model . ServiceGateway , type : "model.ServiceGateway" , 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 GetSubnetRequest return throws example Click  https to see how to use GetSubnet API.
      public async getSubnet ( getSubnetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getSubnet." ) ; const pathParams = { "{subnetId}" : getSubnetRequest . subnetId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getSubnetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/subnets/{subnetId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetSubnetResponse > { } , body : await response . json ( ) , bodyKey : "subnet" , bodyModel : model . Subnet , type : "model.Subnet" , 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 GetSubnetTopologyRequest return throws example Click  https to see how to use GetSubnetTopology API.
      public async getSubnetTopology ( getSubnetTopologyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getSubnetTopology." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : getSubnetTopologyRequest . compartmentId , "accessLevel" : getSubnetTopologyRequest . accessLevel , "queryCompartmentSubtree" : getSubnetTopologyRequest . queryCompartmentSubtree , "subnetId" : getSubnetTopologyRequest . subnetId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getSubnetTopologyRequest . opcRequestId , "if-none-match" : getSubnetTopologyRequest . ifNoneMatch , "cache-control" : getSubnetTopologyRequest . cacheControl } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getSubnetTopologyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/subnetTopology" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetSubnetTopologyResponse > { } , body : await response . json ( ) , bodyKey : "subnetTopology" , bodyModel : model . SubnetTopology , type : "model.SubnetTopology" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Gets the set of CPE configuration answers for the tunnel, which the customer provided in
     *  {@link #updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest) updateTunnelCpeDeviceConfig} .
     * To get the full set of content for the tunnel (any answers merged with the template of other
     * information specific to the CPE device type), use
     *  {@link #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) getTunnelCpeDeviceConfigContent} .
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param GetTunnelCpeDeviceConfigRequest return throws example Click  https to see how to use GetTunnelCpeDeviceConfig API.
      public async getTunnelCpeDeviceConfig ( getTunnelCpeDeviceConfigRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getTunnelCpeDeviceConfig." ) ; const pathParams = { "{ipscId}" : getTunnelCpeDeviceConfigRequest . ipscId , "{tunnelId}" : getTunnelCpeDeviceConfigRequest . tunnelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getTunnelCpeDeviceConfigRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getTunnelCpeDeviceConfigRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/tunnelDeviceConfig" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetTunnelCpeDeviceConfigResponse > { } , body : await response . json ( ) , bodyKey : "tunnelCpeDeviceConfig" , bodyModel : model . TunnelCpeDeviceConfig , type : "model.TunnelCpeDeviceConfig" , 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 ; } } /**
       * Renders a set of CPE configuration content for the specified IPSec tunnel. The content helps a
  * network engineer configure the actual CPE device (for example, a hardware router) that the specified
  * IPSec tunnel terminates on.
  * <p>
  The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the
  *  Cpe used by the specified  IPSecConnection * must have the CPE's device type specified by the `cpeDeviceShapeId` attribute. The content
  * optionally includes answers that the customer provides (see
  *  {@link #updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest) updateTunnelCpeDeviceConfig} ),
  * merged with a template of other information specific to the CPE device type.
  * <p>
  The operation returns configuration information for only the specified IPSec tunnel.
  * Here are other similar operations:
  * <p>
    *  {@link #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) getIpsecCpeDeviceConfigContent} *   returns CPE configuration content for all tunnels in a single IPSec connection.
  *   *  {@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) getCpeDeviceConfigContent} *   returns CPE configuration content for *all* IPSec connections that use a specific CPE.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param GetTunnelCpeDeviceConfigContentRequest return throws example Click  https to see how to use GetTunnelCpeDeviceConfigContent API.
        public async getTunnelCpeDeviceConfigContent ( getTunnelCpeDeviceConfigContentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getTunnelCpeDeviceConfigContent." ) ; const pathParams = { "{ipscId}" : getTunnelCpeDeviceConfigContentRequest . ipscId , "{tunnelId}" : getTunnelCpeDeviceConfigContentRequest . tunnelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getTunnelCpeDeviceConfigContentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getTunnelCpeDeviceConfigContentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/tunnelDeviceConfig/content" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetTunnelCpeDeviceConfigContentResponse > { } , 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 GetUpgradeStatusRequest return throws example Click  https to see how to use GetUpgradeStatus API.
      public async getUpgradeStatus ( getUpgradeStatusRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getUpgradeStatus." ) ; const pathParams = { "{drgId}" : getUpgradeStatusRequest . drgId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getUpgradeStatusRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getUpgradeStatusRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgs/{drgId}/actions/upgradeStatus" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetUpgradeStatusResponse > { } , body : await response . json ( ) , bodyKey : "upgradeStatus" , bodyModel : model . UpgradeStatus , type : "model.UpgradeStatus" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetVcnRequest return throws example Click  https to see how to use GetVcn API.
      public async getVcn ( getVcnRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getVcn." ) ; const pathParams = { "{vcnId}" : getVcnRequest . vcnId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVcnRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vcns/{vcnId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVcnResponse > { } , body : await response . json ( ) , bodyKey : "vcn" , bodyModel : model . Vcn , type : "model.Vcn" , 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 GetVcnDnsResolverAssociationRequest return throws example Click  https to see how to use GetVcnDnsResolverAssociation API.
      public async getVcnDnsResolverAssociation ( getVcnDnsResolverAssociationRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getVcnDnsResolverAssociation." ) ; const pathParams = { "{vcnId}" : getVcnDnsResolverAssociationRequest . vcnId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getVcnDnsResolverAssociationRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVcnDnsResolverAssociationRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vcns/{vcnId}/dnsResolverAssociation" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVcnDnsResolverAssociationResponse > { } , body : await response . json ( ) , bodyKey : "vcnDnsResolverAssociation" , bodyModel : model . VcnDnsResolverAssociation , type : "model.VcnDnsResolverAssociation" , 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 GetVcnTopologyRequest return throws example Click  https to see how to use GetVcnTopology API.
      public async getVcnTopology ( getVcnTopologyRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getVcnTopology." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : getVcnTopologyRequest . compartmentId , "accessLevel" : getVcnTopologyRequest . accessLevel , "queryCompartmentSubtree" : getVcnTopologyRequest . queryCompartmentSubtree , "vcnId" : getVcnTopologyRequest . vcnId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getVcnTopologyRequest . opcRequestId , "if-none-match" : getVcnTopologyRequest . ifNoneMatch , "cache-control" : getVcnTopologyRequest . cacheControl } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVcnTopologyRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vcnTopology" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVcnTopologyResponse > { } , body : await response . json ( ) , bodyKey : "vcnTopology" , bodyModel : model . VcnTopology , type : "model.VcnTopology" , 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 GetVirtualCircuitRequest return throws example Click  https to see how to use GetVirtualCircuit API.
      public async getVirtualCircuit ( getVirtualCircuitRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getVirtualCircuit." ) ; const pathParams = { "{virtualCircuitId}" : getVirtualCircuitRequest . virtualCircuitId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVirtualCircuitRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/virtualCircuits/{virtualCircuitId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVirtualCircuitResponse > { } , body : await response . json ( ) , bodyKey : "virtualCircuit" , bodyModel : model . VirtualCircuit , type : "model.VirtualCircuit" , 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 GetVlanRequest return throws example Click  https to see how to use GetVlan API.
      public async getVlan ( getVlanRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getVlan." ) ; const pathParams = { "{vlanId}" : getVlanRequest . vlanId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getVlanRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVlanRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vlans/{vlanId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVlanResponse > { } , body : await response . json ( ) , bodyKey : "vlan" , bodyModel : model . Vlan , type : "model.Vlan" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
     * Gets the information for the specified virtual network interface card (VNIC).
     * You can get the VNIC [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) from the
     *  {@link #listVnicAttachments(ListVnicAttachmentsRequest) listVnicAttachments} * operation.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param GetVnicRequest return throws example Click  https to see how to use GetVnic API.
      public async getVnic ( getVnicRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#getVnic." ) ; const pathParams = { "{vnicId}" : getVnicRequest . vnicId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getVnicRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vnics/{vnicId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetVnicResponse > { } , body : await response . json ( ) , bodyKey : "vnic" , bodyModel : model . Vnic , type : "model.Vnic" , 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 ListAllowedPeerRegionsForRemotePeeringRequest return throws example Click  https to see how to use ListAllowedPeerRegionsForRemotePeering API.
      public async listAllowedPeerRegionsForRemotePeering ( listAllowedPeerRegionsForRemotePeeringRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listAllowedPeerRegionsForRemotePeering." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAllowedPeerRegionsForRemotePeeringRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/allowedPeerRegionsForRemotePeering" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAllowedPeerRegionsForRemotePeeringResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . PeerRegionForRemotePeering , type : "Array<model.PeerRegionForRemotePeering>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListByoipAllocatedRangesRequest return throws example Click  https to see how to use ListByoipAllocatedRanges API.
      public async listByoipAllocatedRanges ( listByoipAllocatedRangesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listByoipAllocatedRanges." ) ; const pathParams = { "{byoipRangeId}" : listByoipAllocatedRangesRequest . byoipRangeId } ; const queryParams = { "limit" : listByoipAllocatedRangesRequest . limit , "page" : listByoipAllocatedRangesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listByoipAllocatedRangesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listByoipAllocatedRangesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/byoipRanges/{byoipRangeId}/byoipAllocatedRanges" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListByoipAllocatedRangesResponse > { } , body : await response . json ( ) , bodyKey : "byoipAllocatedRangeCollection" , bodyModel : model . ByoipAllocatedRangeCollection , type : "model.ByoipAllocatedRangeCollection" , 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 ListByoipRangesRequest return throws example Click  https to see how to use ListByoipRanges API.
      public async listByoipRanges ( listByoipRangesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listByoipRanges." ) ; const pathParams = { } ; const queryParams = { "limit" : listByoipRangesRequest . limit , "page" : listByoipRangesRequest . page , "displayName" : listByoipRangesRequest . displayName , "lifecycleState" : listByoipRangesRequest . lifecycleState , "sortBy" : listByoipRangesRequest . sortBy , "sortOrder" : listByoipRangesRequest . sortOrder , "compartmentId" : listByoipRangesRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listByoipRangesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listByoipRangesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/byoipRanges" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListByoipRangesResponse > { } , body : await response . json ( ) , bodyKey : "byoipRangeCollection" , bodyModel : model . ByoipRangeCollection , type : "model.ByoipRangeCollection" , 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 ; } } /**
       * Lists the CPE device types that the Networking service provides CPE configuration
  * content for (example: Cisco ASA). The content helps a network engineer configure
  * the actual CPE device represented by a  Cpe object.
  * <p>
  If you want to generate CPE configuration content for one of the returned CPE device types,
  * ensure that the  Cpe object's `cpeDeviceShapeId` attribute is set
  * to the CPE device type's [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) (returned by this operation).
  * <p>
  For information about generating CPE configuration content, see these operations:
  * <p>
    *  {@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) getCpeDeviceConfigContent} *   *  {@link #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) getIpsecCpeDeviceConfigContent} *   *  {@link #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) getTunnelCpeDeviceConfigContent} *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param ListCpeDeviceShapesRequest return throws example Click  https to see how to use ListCpeDeviceShapes API.
        public async listCpeDeviceShapes ( listCpeDeviceShapesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listCpeDeviceShapes." ) ; const pathParams = { } ; const queryParams = { "limit" : listCpeDeviceShapesRequest . limit , "page" : listCpeDeviceShapesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listCpeDeviceShapesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listCpeDeviceShapesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/cpeDeviceShapes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListCpeDeviceShapesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . CpeDeviceShapeSummary , type : "Array<model.CpeDeviceShapeSummary>" , 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 request public listAllCpeDeviceShapes ( request ) { return paginateRecords ( request , req => this . listCpeDeviceShapes ( req ) ) ; } param request public listAllCpeDeviceShapesResponses ( request ) { return paginateResponses ( request , req => this . listCpeDeviceShapes ( req ) ) ; } param request public listCpeDeviceShapesRecordIterator ( request ) { return paginateRecords ( request , req => this . listCpeDeviceShapes ( req ) ) ; } param request public listCpeDeviceShapesResponseIterator ( request ) { return paginateResponses ( request , req => this . listCpeDeviceShapes ( req ) ) ; } param ListCpesRequest return throws example Click  https to see how to use ListCpes API.
      public async listCpes ( listCpesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listCpes." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listCpesRequest . compartmentId , "limit" : listCpesRequest . limit , "page" : listCpesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listCpesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/cpes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListCpesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Cpe , type : "Array<model.Cpe>" , 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 request public listAllCpes ( request ) { return paginateRecords ( request , req => this . listCpes ( req ) ) ; } param request public listAllCpesResponses ( request ) { return paginateResponses ( request , req => this . listCpes ( req ) ) ; } param request public listCpesRecordIterator ( request ) { return paginateRecords ( request , req => this . listCpes ( req ) ) ; } param request public listCpesResponseIterator ( request ) { return paginateResponses ( request , req => this . listCpes ( req ) ) ; } param ListCrossConnectGroupsRequest return throws example Click  https to see how to use ListCrossConnectGroups API.
      public async listCrossConnectGroups ( listCrossConnectGroupsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listCrossConnectGroups." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listCrossConnectGroupsRequest . compartmentId , "limit" : listCrossConnectGroupsRequest . limit , "page" : listCrossConnectGroupsRequest . page , "displayName" : listCrossConnectGroupsRequest . displayName , "sortBy" : listCrossConnectGroupsRequest . sortBy , "sortOrder" : listCrossConnectGroupsRequest . sortOrder , "lifecycleState" : listCrossConnectGroupsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listCrossConnectGroupsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnectGroups" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListCrossConnectGroupsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . CrossConnectGroup , type : "Array<model.CrossConnectGroup>" , 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 request public listAllCrossConnectGroups ( request ) { return paginateRecords ( request , req => this . listCrossConnectGroups ( req ) ) ; } param request public listAllCrossConnectGroupsResponses ( request ) { return paginateResponses ( request , req => this . listCrossConnectGroups ( req ) ) ; } param request public listCrossConnectGroupsRecordIterator ( request ) { return paginateRecords ( request , req => this . listCrossConnectGroups ( req ) ) ; } param request public listCrossConnectGroupsResponseIterator ( request ) { return paginateResponses ( request , req => this . listCrossConnectGroups ( req ) ) ; } param ListCrossConnectLocationsRequest return throws example Click  https to see how to use ListCrossConnectLocations API.
      public async listCrossConnectLocations ( listCrossConnectLocationsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listCrossConnectLocations." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listCrossConnectLocationsRequest . compartmentId , "limit" : listCrossConnectLocationsRequest . limit , "page" : listCrossConnectLocationsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listCrossConnectLocationsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnectLocations" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListCrossConnectLocationsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . CrossConnectLocation , type : "Array<model.CrossConnectLocation>" , 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 request public listAllCrossConnectLocations ( request ) { return paginateRecords ( request , req => this . listCrossConnectLocations ( req ) ) ; } param request public listAllCrossConnectLocationsResponses ( request ) { return paginateResponses ( request , req => this . listCrossConnectLocations ( req ) ) ; } param request public listCrossConnectLocationsRecordIterator ( request ) { return paginateRecords ( request , req => this . listCrossConnectLocations ( req ) ) ; } param request public listCrossConnectLocationsResponseIterator ( request ) { return paginateResponses ( request , req => this . listCrossConnectLocations ( req ) ) ; } param ListCrossConnectMappingsRequest return throws example Click  https to see how to use ListCrossConnectMappings API.
      public async listCrossConnectMappings ( listCrossConnectMappingsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listCrossConnectMappings." ) ; const pathParams = { "{virtualCircuitId}" : listCrossConnectMappingsRequest . virtualCircuitId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listCrossConnectMappingsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listCrossConnectMappingsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/virtualCircuits/{virtualCircuitId}/crossConnectMappings" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListCrossConnectMappingsResponse > { } , body : await response . json ( ) , bodyKey : "crossConnectMappingDetailsCollection" , bodyModel : model . CrossConnectMappingDetailsCollection , type : "model.CrossConnectMappingDetailsCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListCrossConnectsRequest return throws example Click  https to see how to use ListCrossConnects API.
      public async listCrossConnects ( listCrossConnectsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listCrossConnects." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listCrossConnectsRequest . compartmentId , "crossConnectGroupId" : listCrossConnectsRequest . crossConnectGroupId , "limit" : listCrossConnectsRequest . limit , "page" : listCrossConnectsRequest . page , "displayName" : listCrossConnectsRequest . displayName , "sortBy" : listCrossConnectsRequest . sortBy , "sortOrder" : listCrossConnectsRequest . sortOrder , "lifecycleState" : listCrossConnectsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listCrossConnectsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnects" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListCrossConnectsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . CrossConnect , type : "Array<model.CrossConnect>" , 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 request public listAllCrossConnects ( request ) { return paginateRecords ( request , req => this . listCrossConnects ( req ) ) ; } param request public listAllCrossConnectsResponses ( request ) { return paginateResponses ( request , req => this . listCrossConnects ( req ) ) ; } param request public listCrossConnectsRecordIterator ( request ) { return paginateRecords ( request , req => this . listCrossConnects ( req ) ) ; } param request public listCrossConnectsResponseIterator ( request ) { return paginateResponses ( request , req => this . listCrossConnects ( req ) ) ; } param ListCrossconnectPortSpeedShapesRequest return throws example Click  https to see how to use ListCrossconnectPortSpeedShapes API.
      public async listCrossconnectPortSpeedShapes ( listCrossconnectPortSpeedShapesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listCrossconnectPortSpeedShapes." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listCrossconnectPortSpeedShapesRequest . compartmentId , "limit" : listCrossconnectPortSpeedShapesRequest . limit , "page" : listCrossconnectPortSpeedShapesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listCrossconnectPortSpeedShapesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnectPortSpeedShapes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListCrossconnectPortSpeedShapesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . CrossConnectPortSpeedShape , type : "Array<model.CrossConnectPortSpeedShape>" , 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 request public listAllCrossconnectPortSpeedShapes ( request ) { return paginateRecords ( request , req => this . listCrossconnectPortSpeedShapes ( req ) ) ; } param request public listAllCrossconnectPortSpeedShapesResponses ( request ) { return paginateResponses ( request , req => this . listCrossconnectPortSpeedShapes ( req ) ) ; } param request public listCrossconnectPortSpeedShapesRecordIterator ( request ) { return paginateRecords ( request , req => this . listCrossconnectPortSpeedShapes ( req ) ) ; } param request public listCrossconnectPortSpeedShapesResponseIterator ( request ) { return paginateResponses ( request , req => this . listCrossconnectPortSpeedShapes ( req ) ) ; } param ListDhcpOptionsRequest return throws example Click  https to see how to use ListDhcpOptions API.
      public async listDhcpOptions ( listDhcpOptionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listDhcpOptions." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listDhcpOptionsRequest . compartmentId , "vcnId" : listDhcpOptionsRequest . vcnId , "limit" : listDhcpOptionsRequest . limit , "page" : listDhcpOptionsRequest . page , "displayName" : listDhcpOptionsRequest . displayName , "sortBy" : listDhcpOptionsRequest . sortBy , "sortOrder" : listDhcpOptionsRequest . sortOrder , "lifecycleState" : listDhcpOptionsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDhcpOptionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dhcps" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDhcpOptionsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DhcpOptions , type : "Array<model.DhcpOptions>" , 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 request public listAllDhcpOptions ( request ) { return paginateRecords ( request , req => this . listDhcpOptions ( req ) ) ; } param request public listAllDhcpOptionsResponses ( request ) { return paginateResponses ( request , req => this . listDhcpOptions ( req ) ) ; } param request public listDhcpOptionsRecordIterator ( request ) { return paginateRecords ( request , req => this . listDhcpOptions ( req ) ) ; } param request public listDhcpOptionsResponseIterator ( request ) { return paginateResponses ( request , req => this . listDhcpOptions ( req ) ) ; } param ListDrgAttachmentsRequest return throws example Click  https to see how to use ListDrgAttachments API.
        public async listDrgAttachments ( listDrgAttachmentsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listDrgAttachments." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listDrgAttachmentsRequest . compartmentId , "vcnId" : listDrgAttachmentsRequest . vcnId , "drgId" : listDrgAttachmentsRequest . drgId , "limit" : listDrgAttachmentsRequest . limit , "page" : listDrgAttachmentsRequest . page , "networkId" : listDrgAttachmentsRequest . networkId , "attachmentType" : listDrgAttachmentsRequest . attachmentType , "drgRouteTableId" : listDrgAttachmentsRequest . drgRouteTableId , "displayName" : listDrgAttachmentsRequest . displayName , "sortBy" : listDrgAttachmentsRequest . sortBy , "sortOrder" : listDrgAttachmentsRequest . sortOrder , "lifecycleState" : listDrgAttachmentsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDrgAttachmentsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgAttachments" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDrgAttachmentsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DrgAttachment , type : "Array<model.DrgAttachment>" , 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 request public listAllDrgAttachments ( request ) { return paginateRecords ( request , req => this . listDrgAttachments ( req ) ) ; } param request public listAllDrgAttachmentsResponses ( request ) { return paginateResponses ( request , req => this . listDrgAttachments ( req ) ) ; } param request public listDrgAttachmentsRecordIterator ( request ) { return paginateRecords ( request , req => this . listDrgAttachments ( req ) ) ; } param request public listDrgAttachmentsResponseIterator ( request ) { return paginateResponses ( request , req => this . listDrgAttachments ( req ) ) ; } param ListDrgRouteDistributionStatementsRequest return throws example Click  https to see how to use ListDrgRouteDistributionStatements API.
      public async listDrgRouteDistributionStatements ( listDrgRouteDistributionStatementsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listDrgRouteDistributionStatements." ) ; const pathParams = { "{drgRouteDistributionId}" : listDrgRouteDistributionStatementsRequest . drgRouteDistributionId } ; const queryParams = { "limit" : listDrgRouteDistributionStatementsRequest . limit , "page" : listDrgRouteDistributionStatementsRequest . page , "sortBy" : listDrgRouteDistributionStatementsRequest . sortBy , "sortOrder" : listDrgRouteDistributionStatementsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDrgRouteDistributionStatementsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteDistributions/{drgRouteDistributionId}/drgRouteDistributionStatements" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDrgRouteDistributionStatementsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DrgRouteDistributionStatement , type : "Array<model.DrgRouteDistributionStatement>" , 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 request public listAllDrgRouteDistributionStatements ( request ) { return paginateRecords ( request , req => this . listDrgRouteDistributionStatements ( req ) ) ; } param request public listAllDrgRouteDistributionStatementsResponses ( request ) { return paginateResponses ( request , req => this . listDrgRouteDistributionStatements ( req ) ) ; } param request public listDrgRouteDistributionStatementsRecordIterator ( request ) { return paginateRecords ( request , req => this . listDrgRouteDistributionStatements ( req ) ) ; } param request public listDrgRouteDistributionStatementsResponseIterator ( request ) { return paginateResponses ( request , req => this . listDrgRouteDistributionStatements ( req ) ) ; } param ListDrgRouteDistributionsRequest return throws example Click  https to see how to use ListDrgRouteDistributions API.
        public async listDrgRouteDistributions ( listDrgRouteDistributionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listDrgRouteDistributions." ) ; const pathParams = { } ; const queryParams = { "drgId" : listDrgRouteDistributionsRequest . drgId , "limit" : listDrgRouteDistributionsRequest . limit , "page" : listDrgRouteDistributionsRequest . page , "displayName" : listDrgRouteDistributionsRequest . displayName , "sortBy" : listDrgRouteDistributionsRequest . sortBy , "sortOrder" : listDrgRouteDistributionsRequest . sortOrder , "lifecycleState" : listDrgRouteDistributionsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDrgRouteDistributionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteDistributions" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDrgRouteDistributionsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DrgRouteDistribution , type : "Array<model.DrgRouteDistribution>" , 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 request public listAllDrgRouteDistributions ( request ) { return paginateRecords ( request , req => this . listDrgRouteDistributions ( req ) ) ; } param request public listAllDrgRouteDistributionsResponses ( request ) { return paginateResponses ( request , req => this . listDrgRouteDistributions ( req ) ) ; } param request public listDrgRouteDistributionsRecordIterator ( request ) { return paginateRecords ( request , req => this . listDrgRouteDistributions ( req ) ) ; } param request public listDrgRouteDistributionsResponseIterator ( request ) { return paginateResponses ( request , req => this . listDrgRouteDistributions ( req ) ) ; } param ListDrgRouteRulesRequest return throws example Click  https to see how to use ListDrgRouteRules API.
      public async listDrgRouteRules ( listDrgRouteRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listDrgRouteRules." ) ; const pathParams = { "{drgRouteTableId}" : listDrgRouteRulesRequest . drgRouteTableId } ; const queryParams = { "limit" : listDrgRouteRulesRequest . limit , "page" : listDrgRouteRulesRequest . page , "routeType" : listDrgRouteRulesRequest . routeType } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDrgRouteRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteTables/{drgRouteTableId}/drgRouteRules" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDrgRouteRulesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DrgRouteRule , type : "Array<model.DrgRouteRule>" , 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 request public listAllDrgRouteRules ( request ) { return paginateRecords ( request , req => this . listDrgRouteRules ( req ) ) ; } param request public listAllDrgRouteRulesResponses ( request ) { return paginateResponses ( request , req => this . listDrgRouteRules ( req ) ) ; } param request public listDrgRouteRulesRecordIterator ( request ) { return paginateRecords ( request , req => this . listDrgRouteRules ( req ) ) ; } param request public listDrgRouteRulesResponseIterator ( request ) { return paginateResponses ( request , req => this . listDrgRouteRules ( req ) ) ; } param ListDrgRouteTablesRequest return throws example Click  https to see how to use ListDrgRouteTables API.
        public async listDrgRouteTables ( listDrgRouteTablesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listDrgRouteTables." ) ; const pathParams = { } ; const queryParams = { "drgId" : listDrgRouteTablesRequest . drgId , "limit" : listDrgRouteTablesRequest . limit , "page" : listDrgRouteTablesRequest . page , "displayName" : listDrgRouteTablesRequest . displayName , "sortBy" : listDrgRouteTablesRequest . sortBy , "sortOrder" : listDrgRouteTablesRequest . sortOrder , "importDrgRouteDistributionId" : listDrgRouteTablesRequest . importDrgRouteDistributionId , "lifecycleState" : listDrgRouteTablesRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDrgRouteTablesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteTables" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDrgRouteTablesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DrgRouteTable , type : "Array<model.DrgRouteTable>" , 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 request public listAllDrgRouteTables ( request ) { return paginateRecords ( request , req => this . listDrgRouteTables ( req ) ) ; } param request public listAllDrgRouteTablesResponses ( request ) { return paginateResponses ( request , req => this . listDrgRouteTables ( req ) ) ; } param request public listDrgRouteTablesRecordIterator ( request ) { return paginateRecords ( request , req => this . listDrgRouteTables ( req ) ) ; } param request public listDrgRouteTablesResponseIterator ( request ) { return paginateResponses ( request , req => this . listDrgRouteTables ( req ) ) ; } param ListDrgsRequest return throws example Click  https to see how to use ListDrgs API.
      public async listDrgs ( listDrgsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listDrgs." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listDrgsRequest . compartmentId , "limit" : listDrgsRequest . limit , "page" : listDrgsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDrgsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDrgsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Drg , type : "Array<model.Drg>" , 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 request public listAllDrgs ( request ) { return paginateRecords ( request , req => this . listDrgs ( req ) ) ; } param request public listAllDrgsResponses ( request ) { return paginateResponses ( request , req => this . listDrgs ( req ) ) ; } param request public listDrgsRecordIterator ( request ) { return paginateRecords ( request , req => this . listDrgs ( req ) ) ; } param request public listDrgsResponseIterator ( request ) { return paginateResponses ( request , req => this . listDrgs ( req ) ) ; } param ListFastConnectProviderServicesRequest return throws example Click  https to see how to use ListFastConnectProviderServices API.
        public async listFastConnectProviderServices ( listFastConnectProviderServicesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listFastConnectProviderServices." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listFastConnectProviderServicesRequest . compartmentId , "limit" : listFastConnectProviderServicesRequest . limit , "page" : listFastConnectProviderServicesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listFastConnectProviderServicesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/fastConnectProviderServices" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListFastConnectProviderServicesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . FastConnectProviderService , type : "Array<model.FastConnectProviderService>" , 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 request public listAllFastConnectProviderServices ( request ) { return paginateRecords ( request , req => this . listFastConnectProviderServices ( req ) ) ; } param request public listAllFastConnectProviderServicesResponses ( request ) { return paginateResponses ( request , req => this . listFastConnectProviderServices ( req ) ) ; } param request public listFastConnectProviderServicesRecordIterator ( request ) { return paginateRecords ( request , req => this . listFastConnectProviderServices ( req ) ) ; } param request public listFastConnectProviderServicesResponseIterator ( request ) { return paginateResponses ( request , req => this . listFastConnectProviderServices ( req ) ) ; } param ListFastConnectProviderVirtualCircuitBandwidthShapesRequest return throws example Click  https to see how to use ListFastConnectProviderVirtualCircuitBandwidthShapes API.
        public async listFastConnectProviderVirtualCircuitBandwidthShapes ( listFastConnectProviderVirtualCircuitBandwidthShapesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listFastConnectProviderVirtualCircuitBandwidthShapes." ) ; const pathParams = { "{providerServiceId}" : listFastConnectProviderVirtualCircuitBandwidthShapesRequest . providerServiceId } ; const queryParams = { "limit" : listFastConnectProviderVirtualCircuitBandwidthShapesRequest . limit , "page" : listFastConnectProviderVirtualCircuitBandwidthShapesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listFastConnectProviderVirtualCircuitBandwidthShapesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/fastConnectProviderServices/{providerServiceId}/virtualCircuitBandwidthShapes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListFastConnectProviderVirtualCircuitBandwidthShapesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . VirtualCircuitBandwidthShape , type : "Array<model.VirtualCircuitBandwidthShape>" , 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 request public listAllFastConnectProviderVirtualCircuitBandwidthShapes ( request ) { return paginateRecords ( request , req => this . listFastConnectProviderVirtualCircuitBandwidthShapes ( req ) ) ; } param request public listAllFastConnectProviderVirtualCircuitBandwidthShapesResponses ( request ) { return paginateResponses ( request , req => this . listFastConnectProviderVirtualCircuitBandwidthShapes ( req ) ) ; } param request public listFastConnectProviderVirtualCircuitBandwidthShapesRecordIterator ( request ) { return paginateRecords ( request , req => this . listFastConnectProviderVirtualCircuitBandwidthShapes ( req ) ) ; } param request public listFastConnectProviderVirtualCircuitBandwidthShapesResponseIterator ( request ) { return paginateResponses ( request , req => this . listFastConnectProviderVirtualCircuitBandwidthShapes ( req ) ) ; } param ListIPSecConnectionTunnelRoutesRequest return throws example Click  https to see how to use ListIPSecConnectionTunnelRoutes API.
      public async listIPSecConnectionTunnelRoutes ( listIPSecConnectionTunnelRoutesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listIPSecConnectionTunnelRoutes." ) ; const pathParams = { "{ipscId}" : listIPSecConnectionTunnelRoutesRequest . ipscId , "{tunnelId}" : listIPSecConnectionTunnelRoutesRequest . tunnelId } ; const queryParams = { "limit" : listIPSecConnectionTunnelRoutesRequest . limit , "page" : listIPSecConnectionTunnelRoutesRequest . page , "advertiser" : listIPSecConnectionTunnelRoutesRequest . advertiser } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listIPSecConnectionTunnelRoutesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/routes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListIPSecConnectionTunnelRoutesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . TunnelRouteSummary , type : "Array<model.TunnelRouteSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-total-items" ) , key : "opcTotalItems" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllIPSecConnectionTunnelRoutes ( request ) { return paginateRecords ( request , req => this . listIPSecConnectionTunnelRoutes ( req ) ) ; } param request public listAllIPSecConnectionTunnelRoutesResponses ( request ) { return paginateResponses ( request , req => this . listIPSecConnectionTunnelRoutes ( req ) ) ; } param request public listIPSecConnectionTunnelRoutesRecordIterator ( request ) { return paginateRecords ( request , req => this . listIPSecConnectionTunnelRoutes ( req ) ) ; } param request public listIPSecConnectionTunnelRoutesResponseIterator ( request ) { return paginateResponses ( request , req => this . listIPSecConnectionTunnelRoutes ( req ) ) ; } param ListIPSecConnectionTunnelSecurityAssociationsRequest return throws example Click  https to see how to use ListIPSecConnectionTunnelSecurityAssociations API.
      public async listIPSecConnectionTunnelSecurityAssociations ( listIPSecConnectionTunnelSecurityAssociationsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listIPSecConnectionTunnelSecurityAssociations." ) ; const pathParams = { "{ipscId}" : listIPSecConnectionTunnelSecurityAssociationsRequest . ipscId , "{tunnelId}" : listIPSecConnectionTunnelSecurityAssociationsRequest . tunnelId } ; const queryParams = { "limit" : listIPSecConnectionTunnelSecurityAssociationsRequest . limit , "page" : listIPSecConnectionTunnelSecurityAssociationsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listIPSecConnectionTunnelSecurityAssociationsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/tunnelSecurityAssociations" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListIPSecConnectionTunnelSecurityAssociationsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . TunnelSecurityAssociationSummary , type : "Array<model.TunnelSecurityAssociationSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-total-items" ) , key : "opcTotalItems" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllIPSecConnectionTunnelSecurityAssociations ( request ) { return paginateRecords ( request , req => this . listIPSecConnectionTunnelSecurityAssociations ( req ) ) ; } param request public listAllIPSecConnectionTunnelSecurityAssociationsResponses ( request ) { return paginateResponses ( request , req => this . listIPSecConnectionTunnelSecurityAssociations ( req ) ) ; } param request public listIPSecConnectionTunnelSecurityAssociationsRecordIterator ( request ) { return paginateRecords ( request , req => this . listIPSecConnectionTunnelSecurityAssociations ( req ) ) ; } param request public listIPSecConnectionTunnelSecurityAssociationsResponseIterator ( request ) { return paginateResponses ( request , req => this . listIPSecConnectionTunnelSecurityAssociations ( req ) ) ; } param ListIPSecConnectionTunnelsRequest return throws example Click  https to see how to use ListIPSecConnectionTunnels API.
      public async listIPSecConnectionTunnels ( listIPSecConnectionTunnelsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listIPSecConnectionTunnels." ) ; const pathParams = { "{ipscId}" : listIPSecConnectionTunnelsRequest . ipscId } ; const queryParams = { "limit" : listIPSecConnectionTunnelsRequest . limit , "page" : listIPSecConnectionTunnelsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listIPSecConnectionTunnelsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/tunnels" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListIPSecConnectionTunnelsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . IPSecConnectionTunnel , type : "Array<model.IPSecConnectionTunnel>" , 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 request public listAllIPSecConnectionTunnels ( request ) { return paginateRecords ( request , req => this . listIPSecConnectionTunnels ( req ) ) ; } param request public listAllIPSecConnectionTunnelsResponses ( request ) { return paginateResponses ( request , req => this . listIPSecConnectionTunnels ( req ) ) ; } param request public listIPSecConnectionTunnelsRecordIterator ( request ) { return paginateRecords ( request , req => this . listIPSecConnectionTunnels ( req ) ) ; } param request public listIPSecConnectionTunnelsResponseIterator ( request ) { return paginateResponses ( request , req => this . listIPSecConnectionTunnels ( req ) ) ; } param ListIPSecConnectionsRequest return throws example Click  https to see how to use ListIPSecConnections API.
      public async listIPSecConnections ( listIPSecConnectionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listIPSecConnections." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listIPSecConnectionsRequest . compartmentId , "drgId" : listIPSecConnectionsRequest . drgId , "cpeId" : listIPSecConnectionsRequest . cpeId , "limit" : listIPSecConnectionsRequest . limit , "page" : listIPSecConnectionsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listIPSecConnectionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListIPSecConnectionsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . IPSecConnection , type : "Array<model.IPSecConnection>" , 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 request public listAllIPSecConnections ( request ) { return paginateRecords ( request , req => this . listIPSecConnections ( req ) ) ; } param request public listAllIPSecConnectionsResponses ( request ) { return paginateResponses ( request , req => this . listIPSecConnections ( req ) ) ; } param request public listIPSecConnectionsRecordIterator ( request ) { return paginateRecords ( request , req => this . listIPSecConnections ( req ) ) ; } param request public listIPSecConnectionsResponseIterator ( request ) { return paginateResponses ( request , req => this . listIPSecConnections ( req ) ) ; } param ListInternetGatewaysRequest return throws example Click  https to see how to use ListInternetGateways API.
      public async listInternetGateways ( listInternetGatewaysRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listInternetGateways." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listInternetGatewaysRequest . compartmentId , "vcnId" : listInternetGatewaysRequest . vcnId , "limit" : listInternetGatewaysRequest . limit , "page" : listInternetGatewaysRequest . page , "displayName" : listInternetGatewaysRequest . displayName , "sortBy" : listInternetGatewaysRequest . sortBy , "sortOrder" : listInternetGatewaysRequest . sortOrder , "lifecycleState" : listInternetGatewaysRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listInternetGatewaysRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/internetGateways" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListInternetGatewaysResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . InternetGateway , type : "Array<model.InternetGateway>" , 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 request public listAllInternetGateways ( request ) { return paginateRecords ( request , req => this . listInternetGateways ( req ) ) ; } param request public listAllInternetGatewaysResponses ( request ) { return paginateResponses ( request , req => this . listInternetGateways ( req ) ) ; } param request public listInternetGatewaysRecordIterator ( request ) { return paginateRecords ( request , req => this . listInternetGateways ( req ) ) ; } param request public listInternetGatewaysResponseIterator ( request ) { return paginateResponses ( request , req => this . listInternetGateways ( req ) ) ; } /**
     * Lists the  Ipv6 objects based
     * on one of these filters:
     * <p>
     * Subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     *   * VNIC [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     *   * Both IPv6 address and subnet OCID: This lets you get an `Ipv6` object based on its private
     *   IPv6 address (for example, 2001:0db8:0123:1111:abcd:ef01:2345:6789) and not its [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For comparison,
     *    {@link #getIpv6(GetIpv6Request) getIpv6} requires the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param ListIpv6sRequest return throws example Click  https to see how to use ListIpv6s API.
      public async listIpv6s ( listIpv6sRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listIpv6s." ) ; const pathParams = { } ; const queryParams = { "limit" : listIpv6sRequest . limit , "page" : listIpv6sRequest . page , "ipAddress" : listIpv6sRequest . ipAddress , "subnetId" : listIpv6sRequest . subnetId , "vnicId" : listIpv6sRequest . vnicId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listIpv6sRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listIpv6sRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipv6" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListIpv6sResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Ipv6 , type : "Array<model.Ipv6>" , 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 request public listAllIpv6s ( request ) { return paginateRecords ( request , req => this . listIpv6s ( req ) ) ; } param request public listAllIpv6sResponses ( request ) { return paginateResponses ( request , req => this . listIpv6s ( req ) ) ; } param request public listIpv6sRecordIterator ( request ) { return paginateRecords ( request , req => this . listIpv6s ( req ) ) ; } param request public listIpv6sResponseIterator ( request ) { return paginateResponses ( request , req => this . listIpv6s ( req ) ) ; } param ListLocalPeeringGatewaysRequest return throws example Click  https to see how to use ListLocalPeeringGateways API.
      public async listLocalPeeringGateways ( listLocalPeeringGatewaysRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listLocalPeeringGateways." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listLocalPeeringGatewaysRequest . compartmentId , "limit" : listLocalPeeringGatewaysRequest . limit , "page" : listLocalPeeringGatewaysRequest . page , "vcnId" : listLocalPeeringGatewaysRequest . vcnId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listLocalPeeringGatewaysRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/localPeeringGateways" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListLocalPeeringGatewaysResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . LocalPeeringGateway , type : "Array<model.LocalPeeringGateway>" , 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 request public listAllLocalPeeringGateways ( request ) { return paginateRecords ( request , req => this . listLocalPeeringGateways ( req ) ) ; } param request public listAllLocalPeeringGatewaysResponses ( request ) { return paginateResponses ( request , req => this . listLocalPeeringGateways ( req ) ) ; } param request public listLocalPeeringGatewaysRecordIterator ( request ) { return paginateRecords ( request , req => this . listLocalPeeringGateways ( req ) ) ; } param request public listLocalPeeringGatewaysResponseIterator ( request ) { return paginateResponses ( request , req => this . listLocalPeeringGateways ( req ) ) ; } param ListNatGatewaysRequest return throws example Click  https to see how to use ListNatGateways API.
      public async listNatGateways ( listNatGatewaysRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listNatGateways." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listNatGatewaysRequest . compartmentId , "vcnId" : listNatGatewaysRequest . vcnId , "limit" : listNatGatewaysRequest . limit , "page" : listNatGatewaysRequest . page , "displayName" : listNatGatewaysRequest . displayName , "sortBy" : listNatGatewaysRequest . sortBy , "sortOrder" : listNatGatewaysRequest . sortOrder , "lifecycleState" : listNatGatewaysRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listNatGatewaysRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/natGateways" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListNatGatewaysResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . NatGateway , type : "Array<model.NatGateway>" , 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 request public listAllNatGateways ( request ) { return paginateRecords ( request , req => this . listNatGateways ( req ) ) ; } param request public listAllNatGatewaysResponses ( request ) { return paginateResponses ( request , req => this . listNatGateways ( req ) ) ; } param request public listNatGatewaysRecordIterator ( request ) { return paginateRecords ( request , req => this . listNatGateways ( req ) ) ; } param request public listNatGatewaysResponseIterator ( request ) { return paginateResponses ( request , req => this . listNatGateways ( req ) ) ; } param ListNetworkSecurityGroupSecurityRulesRequest return throws example Click  https to see how to use ListNetworkSecurityGroupSecurityRules API.
      public async listNetworkSecurityGroupSecurityRules ( listNetworkSecurityGroupSecurityRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listNetworkSecurityGroupSecurityRules." ) ; const pathParams = { "{networkSecurityGroupId}" : listNetworkSecurityGroupSecurityRulesRequest . networkSecurityGroupId } ; const queryParams = { "direction" : listNetworkSecurityGroupSecurityRulesRequest . direction , "limit" : listNetworkSecurityGroupSecurityRulesRequest . limit , "page" : listNetworkSecurityGroupSecurityRulesRequest . page , "sortBy" : listNetworkSecurityGroupSecurityRulesRequest . sortBy , "sortOrder" : listNetworkSecurityGroupSecurityRulesRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listNetworkSecurityGroupSecurityRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSecurityGroups/{networkSecurityGroupId}/securityRules" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListNetworkSecurityGroupSecurityRulesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . SecurityRule , type : "Array<model.SecurityRule>" , 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 request public listAllNetworkSecurityGroupSecurityRules ( request ) { return paginateRecords ( request , req => this . listNetworkSecurityGroupSecurityRules ( req ) ) ; } param request public listAllNetworkSecurityGroupSecurityRulesResponses ( request ) { return paginateResponses ( request , req => this . listNetworkSecurityGroupSecurityRules ( req ) ) ; } param request public listNetworkSecurityGroupSecurityRulesRecordIterator ( request ) { return paginateRecords ( request , req => this . listNetworkSecurityGroupSecurityRules ( req ) ) ; } param request public listNetworkSecurityGroupSecurityRulesResponseIterator ( request ) { return paginateResponses ( request , req => this . listNetworkSecurityGroupSecurityRules ( req ) ) ; } param ListNetworkSecurityGroupVnicsRequest return throws example Click  https to see how to use ListNetworkSecurityGroupVnics API.
      public async listNetworkSecurityGroupVnics ( listNetworkSecurityGroupVnicsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listNetworkSecurityGroupVnics." ) ; const pathParams = { "{networkSecurityGroupId}" : listNetworkSecurityGroupVnicsRequest . networkSecurityGroupId } ; const queryParams = { "limit" : listNetworkSecurityGroupVnicsRequest . limit , "page" : listNetworkSecurityGroupVnicsRequest . page , "sortBy" : listNetworkSecurityGroupVnicsRequest . sortBy , "sortOrder" : listNetworkSecurityGroupVnicsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listNetworkSecurityGroupVnicsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSecurityGroups/{networkSecurityGroupId}/vnics" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListNetworkSecurityGroupVnicsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . NetworkSecurityGroupVnic , type : "Array<model.NetworkSecurityGroupVnic>" , 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 request public listAllNetworkSecurityGroupVnics ( request ) { return paginateRecords ( request , req => this . listNetworkSecurityGroupVnics ( req ) ) ; } param request public listAllNetworkSecurityGroupVnicsResponses ( request ) { return paginateResponses ( request , req => this . listNetworkSecurityGroupVnics ( req ) ) ; } param request public listNetworkSecurityGroupVnicsRecordIterator ( request ) { return paginateRecords ( request , req => this . listNetworkSecurityGroupVnics ( req ) ) ; } param request public listNetworkSecurityGroupVnicsResponseIterator ( request ) { return paginateResponses ( request , req => this . listNetworkSecurityGroupVnics ( req ) ) ; } param ListNetworkSecurityGroupsRequest return throws example Click  https to see how to use ListNetworkSecurityGroups API.
      public async listNetworkSecurityGroups ( listNetworkSecurityGroupsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listNetworkSecurityGroups." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listNetworkSecurityGroupsRequest . compartmentId , "vlanId" : listNetworkSecurityGroupsRequest . vlanId , "vcnId" : listNetworkSecurityGroupsRequest . vcnId , "limit" : listNetworkSecurityGroupsRequest . limit , "page" : listNetworkSecurityGroupsRequest . page , "displayName" : listNetworkSecurityGroupsRequest . displayName , "sortBy" : listNetworkSecurityGroupsRequest . sortBy , "sortOrder" : listNetworkSecurityGroupsRequest . sortOrder , "lifecycleState" : listNetworkSecurityGroupsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listNetworkSecurityGroupsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSecurityGroups" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListNetworkSecurityGroupsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . NetworkSecurityGroup , type : "Array<model.NetworkSecurityGroup>" , 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 request public listAllNetworkSecurityGroups ( request ) { return paginateRecords ( request , req => this . listNetworkSecurityGroups ( req ) ) ; } param request public listAllNetworkSecurityGroupsResponses ( request ) { return paginateResponses ( request , req => this . listNetworkSecurityGroups ( req ) ) ; } param request public listNetworkSecurityGroupsRecordIterator ( request ) { return paginateRecords ( request , req => this . listNetworkSecurityGroups ( req ) ) ; } param request public listNetworkSecurityGroupsResponseIterator ( request ) { return paginateResponses ( request , req => this . listNetworkSecurityGroups ( req ) ) ; } /**
       * Lists the  PrivateIp objects based
  * on one of these filters:
  * <p>
    - Subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
  *   - VNIC [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
  *   - Both private IP address and subnet OCID: This lets
  *   you get a `privateIP` object based on its private IP
  *   address (for example, 10.0.3.3) and not its [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For comparison,
  *    {@link #getPrivateIp(GetPrivateIpRequest) getPrivateIp} *   requires the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
  * <p>
  If you're listing all the private IPs associated with a given subnet
  * or VNIC, the response includes both primary and secondary private IPs.
  * <p>
  If you are an Oracle Cloud VMware Solution customer and have VLANs
  * in your VCN, you can filter the list by VLAN [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). See  Vlan .
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param ListPrivateIpsRequest return throws example Click  https to see how to use ListPrivateIps API.
        public async listPrivateIps ( listPrivateIpsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listPrivateIps." ) ; const pathParams = { } ; const queryParams = { "limit" : listPrivateIpsRequest . limit , "page" : listPrivateIpsRequest . page , "ipAddress" : listPrivateIpsRequest . ipAddress , "subnetId" : listPrivateIpsRequest . subnetId , "vnicId" : listPrivateIpsRequest . vnicId , "vlanId" : listPrivateIpsRequest . vlanId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listPrivateIpsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateIps" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListPrivateIpsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . PrivateIp , type : "Array<model.PrivateIp>" , 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 request public listAllPrivateIps ( request ) { return paginateRecords ( request , req => this . listPrivateIps ( req ) ) ; } param request public listAllPrivateIpsResponses ( request ) { return paginateResponses ( request , req => this . listPrivateIps ( req ) ) ; } param request public listPrivateIpsRecordIterator ( request ) { return paginateRecords ( request , req => this . listPrivateIps ( req ) ) ; } param request public listPrivateIpsResponseIterator ( request ) { return paginateResponses ( request , req => this . listPrivateIps ( req ) ) ; } param ListPublicIpPoolsRequest return throws example Click  https to see how to use ListPublicIpPools API.
      public async listPublicIpPools ( listPublicIpPoolsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listPublicIpPools." ) ; const pathParams = { } ; const queryParams = { "limit" : listPublicIpPoolsRequest . limit , "page" : listPublicIpPoolsRequest . page , "displayName" : listPublicIpPoolsRequest . displayName , "byoipRangeId" : listPublicIpPoolsRequest . byoipRangeId , "sortBy" : listPublicIpPoolsRequest . sortBy , "sortOrder" : listPublicIpPoolsRequest . sortOrder , "compartmentId" : listPublicIpPoolsRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listPublicIpPoolsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listPublicIpPoolsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIpPools" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListPublicIpPoolsResponse > { } , body : await response . json ( ) , bodyKey : "publicIpPoolCollection" , bodyModel : model . PublicIpPoolCollection , type : "model.PublicIpPoolCollection" , 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 ; } } /**
       * Lists the  PublicIp objects
  * in the specified compartment. You can filter the list by using query parameters.
  * <p>
  To list your reserved public IPs:
  *   * Set `scope` = `REGION`  (required)
  *   * Leave the `availabilityDomain` parameter empty
  *   * Set `lifetime` = `RESERVED`
  * <p>
  To list the ephemeral public IPs assigned to a regional entity such as a NAT gateway:
  *   * Set `scope` = `REGION`  (required)
  *   * Leave the `availabilityDomain` parameter empty
  *   * Set `lifetime` = `EPHEMERAL`
  * <p>
  To list the ephemeral public IPs assigned to private IPs:
  *   * Set `scope` = `AVAILABILITY_DOMAIN` (required)
  *   * Set the `availabilityDomain` parameter to the desired availability domain (required)
  *   * Set `lifetime` = `EPHEMERAL`
  * <p>
  **Note:** An ephemeral public IP assigned to a private IP
  * is always in the same availability domain and compartment as the private IP.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param ListPublicIpsRequest return throws example Click  https to see how to use ListPublicIps API.
        public async listPublicIps ( listPublicIpsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listPublicIps." ) ; const pathParams = { } ; const queryParams = { "limit" : listPublicIpsRequest . limit , "page" : listPublicIpsRequest . page , "scope" : listPublicIpsRequest . scope , "availabilityDomain" : listPublicIpsRequest . availabilityDomain , "lifetime" : listPublicIpsRequest . lifetime , "compartmentId" : listPublicIpsRequest . compartmentId , "publicIpPoolId" : listPublicIpsRequest . publicIpPoolId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listPublicIpsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIps" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListPublicIpsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . PublicIp , type : "Array<model.PublicIp>" , 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 request public listAllPublicIps ( request ) { return paginateRecords ( request , req => this . listPublicIps ( req ) ) ; } param request public listAllPublicIpsResponses ( request ) { return paginateResponses ( request , req => this . listPublicIps ( req ) ) ; } param request public listPublicIpsRecordIterator ( request ) { return paginateRecords ( request , req => this . listPublicIps ( req ) ) ; } param request public listPublicIpsResponseIterator ( request ) { return paginateResponses ( request , req => this . listPublicIps ( req ) ) ; } param ListRemotePeeringConnectionsRequest return throws example Click  https to see how to use ListRemotePeeringConnections API.
      public async listRemotePeeringConnections ( listRemotePeeringConnectionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listRemotePeeringConnections." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listRemotePeeringConnectionsRequest . compartmentId , "drgId" : listRemotePeeringConnectionsRequest . drgId , "limit" : listRemotePeeringConnectionsRequest . limit , "page" : listRemotePeeringConnectionsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listRemotePeeringConnectionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/remotePeeringConnections" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListRemotePeeringConnectionsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . RemotePeeringConnection , type : "Array<model.RemotePeeringConnection>" , 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 request public listAllRemotePeeringConnections ( request ) { return paginateRecords ( request , req => this . listRemotePeeringConnections ( req ) ) ; } param request public listAllRemotePeeringConnectionsResponses ( request ) { return paginateResponses ( request , req => this . listRemotePeeringConnections ( req ) ) ; } param request public listRemotePeeringConnectionsRecordIterator ( request ) { return paginateRecords ( request , req => this . listRemotePeeringConnections ( req ) ) ; } param request public listRemotePeeringConnectionsResponseIterator ( request ) { return paginateResponses ( request , req => this . listRemotePeeringConnections ( req ) ) ; } param ListRouteTablesRequest return throws example Click  https to see how to use ListRouteTables API.
      public async listRouteTables ( listRouteTablesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listRouteTables." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listRouteTablesRequest . compartmentId , "limit" : listRouteTablesRequest . limit , "page" : listRouteTablesRequest . page , "vcnId" : listRouteTablesRequest . vcnId , "displayName" : listRouteTablesRequest . displayName , "sortBy" : listRouteTablesRequest . sortBy , "sortOrder" : listRouteTablesRequest . sortOrder , "lifecycleState" : listRouteTablesRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listRouteTablesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/routeTables" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListRouteTablesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . RouteTable , type : "Array<model.RouteTable>" , 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 request public listAllRouteTables ( request ) { return paginateRecords ( request , req => this . listRouteTables ( req ) ) ; } param request public listAllRouteTablesResponses ( request ) { return paginateResponses ( request , req => this . listRouteTables ( req ) ) ; } param request public listRouteTablesRecordIterator ( request ) { return paginateRecords ( request , req => this . listRouteTables ( req ) ) ; } param request public listRouteTablesResponseIterator ( request ) { return paginateResponses ( request , req => this . listRouteTables ( req ) ) ; } param ListSecurityListsRequest return throws example Click  https to see how to use ListSecurityLists API.
      public async listSecurityLists ( listSecurityListsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listSecurityLists." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listSecurityListsRequest . compartmentId , "limit" : listSecurityListsRequest . limit , "page" : listSecurityListsRequest . page , "vcnId" : listSecurityListsRequest . vcnId , "displayName" : listSecurityListsRequest . displayName , "sortBy" : listSecurityListsRequest . sortBy , "sortOrder" : listSecurityListsRequest . sortOrder , "lifecycleState" : listSecurityListsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listSecurityListsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityLists" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListSecurityListsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . SecurityList , type : "Array<model.SecurityList>" , 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 request public listAllSecurityLists ( request ) { return paginateRecords ( request , req => this . listSecurityLists ( req ) ) ; } param request public listAllSecurityListsResponses ( request ) { return paginateResponses ( request , req => this . listSecurityLists ( req ) ) ; } param request public listSecurityListsRecordIterator ( request ) { return paginateRecords ( request , req => this . listSecurityLists ( req ) ) ; } param request public listSecurityListsResponseIterator ( request ) { return paginateResponses ( request , req => this . listSecurityLists ( req ) ) ; } param ListServiceGatewaysRequest return throws example Click  https to see how to use ListServiceGateways API.
      public async listServiceGateways ( listServiceGatewaysRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listServiceGateways." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listServiceGatewaysRequest . compartmentId , "vcnId" : listServiceGatewaysRequest . vcnId , "limit" : listServiceGatewaysRequest . limit , "page" : listServiceGatewaysRequest . page , "sortBy" : listServiceGatewaysRequest . sortBy , "sortOrder" : listServiceGatewaysRequest . sortOrder , "lifecycleState" : listServiceGatewaysRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listServiceGatewaysRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceGateways" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListServiceGatewaysResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ServiceGateway , type : "Array<model.ServiceGateway>" , 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 request public listAllServiceGateways ( request ) { return paginateRecords ( request , req => this . listServiceGateways ( req ) ) ; } param request public listAllServiceGatewaysResponses ( request ) { return paginateResponses ( request , req => this . listServiceGateways ( req ) ) ; } param request public listServiceGatewaysRecordIterator ( request ) { return paginateRecords ( request , req => this . listServiceGateways ( req ) ) ; } param request public listServiceGatewaysResponseIterator ( request ) { return paginateResponses ( request , req => this . listServiceGateways ( req ) ) ; } /**
     * Lists the available  Service objects that you can enable for a
     * service gateway in this region.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param ListServicesRequest return throws example Click  https to see how to use ListServices API.
      public async listServices ( listServicesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listServices." ) ; const pathParams = { } ; const queryParams = { "limit" : listServicesRequest . limit , "page" : listServicesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listServicesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/services" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListServicesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Service , type : "Array<model.Service>" , 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 request public listAllServices ( request ) { return paginateRecords ( request , req => this . listServices ( req ) ) ; } param request public listAllServicesResponses ( request ) { return paginateResponses ( request , req => this . listServices ( req ) ) ; } param request public listServicesRecordIterator ( request ) { return paginateRecords ( request , req => this . listServices ( req ) ) ; } param request public listServicesResponseIterator ( request ) { return paginateResponses ( request , req => this . listServices ( req ) ) ; } param ListSubnetsRequest return throws example Click  https to see how to use ListSubnets API.
      public async listSubnets ( listSubnetsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listSubnets." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listSubnetsRequest . compartmentId , "limit" : listSubnetsRequest . limit , "page" : listSubnetsRequest . page , "vcnId" : listSubnetsRequest . vcnId , "displayName" : listSubnetsRequest . displayName , "sortBy" : listSubnetsRequest . sortBy , "sortOrder" : listSubnetsRequest . sortOrder , "lifecycleState" : listSubnetsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listSubnetsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/subnets" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListSubnetsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Subnet , type : "Array<model.Subnet>" , 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 request public listAllSubnets ( request ) { return paginateRecords ( request , req => this . listSubnets ( req ) ) ; } param request public listAllSubnetsResponses ( request ) { return paginateResponses ( request , req => this . listSubnets ( req ) ) ; } param request public listSubnetsRecordIterator ( request ) { return paginateRecords ( request , req => this . listSubnets ( req ) ) ; } param request public listSubnetsResponseIterator ( request ) { return paginateResponses ( request , req => this . listSubnets ( req ) ) ; } param ListVcnsRequest return throws example Click  https to see how to use ListVcns API.
      public async listVcns ( listVcnsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listVcns." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listVcnsRequest . compartmentId , "limit" : listVcnsRequest . limit , "page" : listVcnsRequest . page , "displayName" : listVcnsRequest . displayName , "sortBy" : listVcnsRequest . sortBy , "sortOrder" : listVcnsRequest . sortOrder , "lifecycleState" : listVcnsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listVcnsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vcns" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListVcnsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Vcn , type : "Array<model.Vcn>" , 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 request public listAllVcns ( request ) { return paginateRecords ( request , req => this . listVcns ( req ) ) ; } param request public listAllVcnsResponses ( request ) { return paginateResponses ( request , req => this . listVcns ( req ) ) ; } param request public listVcnsRecordIterator ( request ) { return paginateRecords ( request , req => this . listVcns ( req ) ) ; } param request public listVcnsResponseIterator ( request ) { return paginateResponses ( request , req => this . listVcns ( req ) ) ; } param ListVirtualCircuitBandwidthShapesRequest return throws example Click  https to see how to use ListVirtualCircuitBandwidthShapes API.
      public async listVirtualCircuitBandwidthShapes ( listVirtualCircuitBandwidthShapesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listVirtualCircuitBandwidthShapes." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listVirtualCircuitBandwidthShapesRequest . compartmentId , "limit" : listVirtualCircuitBandwidthShapesRequest . limit , "page" : listVirtualCircuitBandwidthShapesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listVirtualCircuitBandwidthShapesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/virtualCircuitBandwidthShapes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListVirtualCircuitBandwidthShapesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . VirtualCircuitBandwidthShape , type : "Array<model.VirtualCircuitBandwidthShape>" , 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 request public listAllVirtualCircuitBandwidthShapes ( request ) { return paginateRecords ( request , req => this . listVirtualCircuitBandwidthShapes ( req ) ) ; } param request public listAllVirtualCircuitBandwidthShapesResponses ( request ) { return paginateResponses ( request , req => this . listVirtualCircuitBandwidthShapes ( req ) ) ; } param request public listVirtualCircuitBandwidthShapesRecordIterator ( request ) { return paginateRecords ( request , req => this . listVirtualCircuitBandwidthShapes ( req ) ) ; } param request public listVirtualCircuitBandwidthShapesResponseIterator ( request ) { return paginateResponses ( request , req => this . listVirtualCircuitBandwidthShapes ( req ) ) ; } param ListVirtualCircuitPublicPrefixesRequest return throws example Click  https to see how to use ListVirtualCircuitPublicPrefixes API.
      public async listVirtualCircuitPublicPrefixes ( listVirtualCircuitPublicPrefixesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listVirtualCircuitPublicPrefixes." ) ; const pathParams = { "{virtualCircuitId}" : listVirtualCircuitPublicPrefixesRequest . virtualCircuitId } ; const queryParams = { "verificationState" : listVirtualCircuitPublicPrefixesRequest . verificationState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listVirtualCircuitPublicPrefixesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/virtualCircuits/{virtualCircuitId}/publicPrefixes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListVirtualCircuitPublicPrefixesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . VirtualCircuitPublicPrefix , type : "Array<model.VirtualCircuitPublicPrefix>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListVirtualCircuitsRequest return throws example Click  https to see how to use ListVirtualCircuits API.
      public async listVirtualCircuits ( listVirtualCircuitsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listVirtualCircuits." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listVirtualCircuitsRequest . compartmentId , "limit" : listVirtualCircuitsRequest . limit , "page" : listVirtualCircuitsRequest . page , "displayName" : listVirtualCircuitsRequest . displayName , "sortBy" : listVirtualCircuitsRequest . sortBy , "sortOrder" : listVirtualCircuitsRequest . sortOrder , "lifecycleState" : listVirtualCircuitsRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listVirtualCircuitsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/virtualCircuits" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListVirtualCircuitsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . VirtualCircuit , type : "Array<model.VirtualCircuit>" , 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 request public listAllVirtualCircuits ( request ) { return paginateRecords ( request , req => this . listVirtualCircuits ( req ) ) ; } param request public listAllVirtualCircuitsResponses ( request ) { return paginateResponses ( request , req => this . listVirtualCircuits ( req ) ) ; } param request public listVirtualCircuitsRecordIterator ( request ) { return paginateRecords ( request , req => this . listVirtualCircuits ( req ) ) ; } param request public listVirtualCircuitsResponseIterator ( request ) { return paginateResponses ( request , req => this . listVirtualCircuits ( req ) ) ; } param ListVlansRequest return throws example Click  https to see how to use ListVlans API.
      public async listVlans ( listVlansRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#listVlans." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listVlansRequest . compartmentId , "limit" : listVlansRequest . limit , "page" : listVlansRequest . page , "vcnId" : listVlansRequest . vcnId , "displayName" : listVlansRequest . displayName , "sortBy" : listVlansRequest . sortBy , "sortOrder" : listVlansRequest . sortOrder , "lifecycleState" : listVlansRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listVlansRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listVlansRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vlans" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListVlansResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . Vlan , type : "Array<model.Vlan>" , 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 request public listAllVlans ( request ) { return paginateRecords ( request , req => this . listVlans ( req ) ) ; } param request public listAllVlansResponses ( request ) { return paginateResponses ( request , req => this . listVlans ( req ) ) ; } param request public listVlansRecordIterator ( request ) { return paginateRecords ( request , req => this . listVlans ( req ) ) ; } param request public listVlansResponseIterator ( request ) { return paginateResponses ( request , req => this . listVlans ( req ) ) ; } param ModifyVcnCidrRequest return throws example Click  https to see how to use ModifyVcnCidr API.
        public async modifyVcnCidr ( modifyVcnCidrRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#modifyVcnCidr." ) ; const pathParams = { "{vcnId}" : modifyVcnCidrRequest . vcnId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : modifyVcnCidrRequest . opcRequestId , "opc-retry-token" : modifyVcnCidrRequest . opcRetryToken , "if-match" : modifyVcnCidrRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , modifyVcnCidrRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vcns/{vcnId}/actions/modifyCidr" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( modifyVcnCidrRequest . modifyVcnCidrDetails , "ModifyVcnCidrDetails" , model . ModifyVcnCidrDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ModifyVcnCidrResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param RemoveDrgRouteDistributionStatementsRequest return throws example Click  https to see how to use RemoveDrgRouteDistributionStatements API.
      public async removeDrgRouteDistributionStatements ( removeDrgRouteDistributionStatementsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#removeDrgRouteDistributionStatements." ) ; const pathParams = { "{drgRouteDistributionId}" : removeDrgRouteDistributionStatementsRequest . drgRouteDistributionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , removeDrgRouteDistributionStatementsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteDistributions/{drgRouteDistributionId}/actions/removeDrgRouteDistributionStatements" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( removeDrgRouteDistributionStatementsRequest . removeDrgRouteDistributionStatementsDetails , "RemoveDrgRouteDistributionStatementsDetails" , model . RemoveDrgRouteDistributionStatementsDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RemoveDrgRouteDistributionStatementsResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param RemoveDrgRouteRulesRequest return throws example Click  https to see how to use RemoveDrgRouteRules API.
      public async removeDrgRouteRules ( removeDrgRouteRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#removeDrgRouteRules." ) ; const pathParams = { "{drgRouteTableId}" : removeDrgRouteRulesRequest . drgRouteTableId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , removeDrgRouteRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteTables/{drgRouteTableId}/actions/removeDrgRouteRules" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( removeDrgRouteRulesRequest . removeDrgRouteRulesDetails , "RemoveDrgRouteRulesDetails" , model . RemoveDrgRouteRulesDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RemoveDrgRouteRulesResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param RemoveExportDrgRouteDistributionRequest return throws example Click  https to see how to use RemoveExportDrgRouteDistribution API.
      public async removeExportDrgRouteDistribution ( removeExportDrgRouteDistributionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#removeExportDrgRouteDistribution." ) ; const pathParams = { "{drgAttachmentId}" : removeExportDrgRouteDistributionRequest . drgAttachmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : removeExportDrgRouteDistributionRequest . opcRequestId , "if-match" : removeExportDrgRouteDistributionRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , removeExportDrgRouteDistributionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgAttachments/{drgAttachmentId}/actions/removeExportDrgRouteDistribution" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RemoveExportDrgRouteDistributionResponse > { } , body : await response . json ( ) , bodyKey : "drgAttachment" , bodyModel : model . DrgAttachment , type : "model.DrgAttachment" , 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 RemoveImportDrgRouteDistributionRequest return throws example Click  https to see how to use RemoveImportDrgRouteDistribution API.
      public async removeImportDrgRouteDistribution ( removeImportDrgRouteDistributionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#removeImportDrgRouteDistribution." ) ; const pathParams = { "{drgRouteTableId}" : removeImportDrgRouteDistributionRequest . drgRouteTableId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : removeImportDrgRouteDistributionRequest . opcRequestId , "if-match" : removeImportDrgRouteDistributionRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , removeImportDrgRouteDistributionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteTables/{drgRouteTableId}/actions/removeImportDrgRouteDistribution" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RemoveImportDrgRouteDistributionResponse > { } , body : await response . json ( ) , bodyKey : "drgRouteTable" , bodyModel : model . DrgRouteTable , type : "model.DrgRouteTable" , 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 RemoveNetworkSecurityGroupSecurityRulesRequest return throws example Click  https to see how to use RemoveNetworkSecurityGroupSecurityRules API.
      public async removeNetworkSecurityGroupSecurityRules ( removeNetworkSecurityGroupSecurityRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#removeNetworkSecurityGroupSecurityRules." ) ; const pathParams = { "{networkSecurityGroupId}" : removeNetworkSecurityGroupSecurityRulesRequest . networkSecurityGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , removeNetworkSecurityGroupSecurityRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSecurityGroups/{networkSecurityGroupId}/actions/removeSecurityRules" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( removeNetworkSecurityGroupSecurityRulesRequest . removeNetworkSecurityGroupSecurityRulesDetails , "RemoveNetworkSecurityGroupSecurityRulesDetails" , model . RemoveNetworkSecurityGroupSecurityRulesDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RemoveNetworkSecurityGroupSecurityRulesResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param RemovePublicIpPoolCapacityRequest return throws example Click  https to see how to use RemovePublicIpPoolCapacity API.
      public async removePublicIpPoolCapacity ( removePublicIpPoolCapacityRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#removePublicIpPoolCapacity." ) ; const pathParams = { "{publicIpPoolId}" : removePublicIpPoolCapacityRequest . publicIpPoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : removePublicIpPoolCapacityRequest . opcRequestId , "opc-retry-token" : removePublicIpPoolCapacityRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , removePublicIpPoolCapacityRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIpPools/{publicIpPoolId}/actions/removeCapacity" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( removePublicIpPoolCapacityRequest . removePublicIpPoolCapacityDetails , "RemovePublicIpPoolCapacityDetails" , model . RemovePublicIpPoolCapacityDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RemovePublicIpPoolCapacityResponse > { } , body : await response . json ( ) , bodyKey : "publicIpPool" , bodyModel : model . PublicIpPool , type : "model.PublicIpPool" , 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 RemoveVcnCidrRequest return throws example Click  https to see how to use RemoveVcnCidr API.
      public async removeVcnCidr ( removeVcnCidrRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#removeVcnCidr." ) ; const pathParams = { "{vcnId}" : removeVcnCidrRequest . vcnId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : removeVcnCidrRequest . opcRequestId , "opc-retry-token" : removeVcnCidrRequest . opcRetryToken , "if-match" : removeVcnCidrRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , removeVcnCidrRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vcns/{vcnId}/actions/removeCidr" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( removeVcnCidrRequest . removeVcnCidrDetails , "RemoveVcnCidrDetails" , model . RemoveVcnCidrDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RemoveVcnCidrResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateByoipRangeRequest return throws example Click  https to see how to use UpdateByoipRange API.
      public async updateByoipRange ( updateByoipRangeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateByoipRange." ) ; const pathParams = { "{byoipRangeId}" : updateByoipRangeRequest . byoipRangeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateByoipRangeRequest . opcRequestId , "if-match" : updateByoipRangeRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateByoipRangeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/byoipRanges/{byoipRangeId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateByoipRangeRequest . updateByoipRangeDetails , "UpdateByoipRangeDetails" , model . UpdateByoipRangeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateByoipRangeResponse > { } , body : await response . json ( ) , bodyKey : "byoipRange" , bodyModel : model . ByoipRange , type : "model.ByoipRange" , 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 UpdateCpeRequest return throws example Click  https to see how to use UpdateCpe API.
      public async updateCpe ( updateCpeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateCpe." ) ; const pathParams = { "{cpeId}" : updateCpeRequest . cpeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateCpeRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateCpeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/cpes/{cpeId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateCpeRequest . updateCpeDetails , "UpdateCpeDetails" , model . UpdateCpeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateCpeResponse > { } , body : await response . json ( ) , bodyKey : "cpe" , bodyModel : model . Cpe , type : "model.Cpe" , 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 UpdateCrossConnectRequest return throws example Click  https to see how to use UpdateCrossConnect API.
      public async updateCrossConnect ( updateCrossConnectRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateCrossConnect." ) ; const pathParams = { "{crossConnectId}" : updateCrossConnectRequest . crossConnectId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateCrossConnectRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateCrossConnectRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnects/{crossConnectId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateCrossConnectRequest . updateCrossConnectDetails , "UpdateCrossConnectDetails" , model . UpdateCrossConnectDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateCrossConnectResponse > { } , body : await response . json ( ) , bodyKey : "crossConnect" , bodyModel : model . CrossConnect , type : "model.CrossConnect" , 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 UpdateCrossConnectGroupRequest return throws example Click  https to see how to use UpdateCrossConnectGroup API.
      public async updateCrossConnectGroup ( updateCrossConnectGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateCrossConnectGroup." ) ; const pathParams = { "{crossConnectGroupId}" : updateCrossConnectGroupRequest . crossConnectGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateCrossConnectGroupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateCrossConnectGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/crossConnectGroups/{crossConnectGroupId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateCrossConnectGroupRequest . updateCrossConnectGroupDetails , "UpdateCrossConnectGroupDetails" , model . UpdateCrossConnectGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateCrossConnectGroupResponse > { } , body : await response . json ( ) , bodyKey : "crossConnectGroup" , bodyModel : model . CrossConnectGroup , type : "model.CrossConnectGroup" , 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 UpdateDhcpOptionsRequest return throws example Click  https to see how to use UpdateDhcpOptions API.
        public async updateDhcpOptions ( updateDhcpOptionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateDhcpOptions." ) ; const pathParams = { "{dhcpId}" : updateDhcpOptionsRequest . dhcpId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateDhcpOptionsRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateDhcpOptionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dhcps/{dhcpId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateDhcpOptionsRequest . updateDhcpDetails , "UpdateDhcpDetails" , model . UpdateDhcpDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateDhcpOptionsResponse > { } , body : await response . json ( ) , bodyKey : "dhcpOptions" , bodyModel : model . DhcpOptions , type : "model.DhcpOptions" , 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 UpdateDrgRequest return throws example Click  https to see how to use UpdateDrg API.
      public async updateDrg ( updateDrgRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateDrg." ) ; const pathParams = { "{drgId}" : updateDrgRequest . drgId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateDrgRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateDrgRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgs/{drgId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateDrgRequest . updateDrgDetails , "UpdateDrgDetails" , model . UpdateDrgDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateDrgResponse > { } , body : await response . json ( ) , bodyKey : "drg" , bodyModel : model . Drg , type : "model.Drg" , 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 UpdateDrgAttachmentRequest return throws example Click  https to see how to use UpdateDrgAttachment API.
      public async updateDrgAttachment ( updateDrgAttachmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateDrgAttachment." ) ; const pathParams = { "{drgAttachmentId}" : updateDrgAttachmentRequest . drgAttachmentId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateDrgAttachmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateDrgAttachmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgAttachments/{drgAttachmentId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateDrgAttachmentRequest . updateDrgAttachmentDetails , "UpdateDrgAttachmentDetails" , model . UpdateDrgAttachmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateDrgAttachmentResponse > { } , body : await response . json ( ) , bodyKey : "drgAttachment" , bodyModel : model . DrgAttachment , type : "model.DrgAttachment" , 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 UpdateDrgRouteDistributionRequest return throws example Click  https to see how to use UpdateDrgRouteDistribution API.
      public async updateDrgRouteDistribution ( updateDrgRouteDistributionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateDrgRouteDistribution." ) ; const pathParams = { "{drgRouteDistributionId}" : updateDrgRouteDistributionRequest . drgRouteDistributionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateDrgRouteDistributionRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateDrgRouteDistributionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteDistributions/{drgRouteDistributionId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateDrgRouteDistributionRequest . updateDrgRouteDistributionDetails , "UpdateDrgRouteDistributionDetails" , model . UpdateDrgRouteDistributionDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateDrgRouteDistributionResponse > { } , body : await response . json ( ) , bodyKey : "drgRouteDistribution" , bodyModel : model . DrgRouteDistribution , type : "model.DrgRouteDistribution" , 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 UpdateDrgRouteDistributionStatementsRequest return throws example Click  https to see how to use UpdateDrgRouteDistributionStatements API.
      public async updateDrgRouteDistributionStatements ( updateDrgRouteDistributionStatementsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateDrgRouteDistributionStatements." ) ; const pathParams = { "{drgRouteDistributionId}" : updateDrgRouteDistributionStatementsRequest . drgRouteDistributionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateDrgRouteDistributionStatementsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteDistributions/{drgRouteDistributionId}/actions/updateDrgRouteDistributionStatements" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( updateDrgRouteDistributionStatementsRequest . updateDrgRouteDistributionStatementsDetails , "UpdateDrgRouteDistributionStatementsDetails" , model . UpdateDrgRouteDistributionStatementsDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateDrgRouteDistributionStatementsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DrgRouteDistributionStatement , type : "Array<model.DrgRouteDistributionStatement>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateDrgRouteRulesRequest return throws example Click  https to see how to use UpdateDrgRouteRules API.
      public async updateDrgRouteRules ( updateDrgRouteRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateDrgRouteRules." ) ; const pathParams = { "{drgRouteTableId}" : updateDrgRouteRulesRequest . drgRouteTableId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateDrgRouteRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteTables/{drgRouteTableId}/actions/updateDrgRouteRules" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( updateDrgRouteRulesRequest . updateDrgRouteRulesDetails , "UpdateDrgRouteRulesDetails" , model . UpdateDrgRouteRulesDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateDrgRouteRulesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . DrgRouteRule , type : "Array<model.DrgRouteRule>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateDrgRouteTableRequest return throws example Click  https to see how to use UpdateDrgRouteTable API.
      public async updateDrgRouteTable ( updateDrgRouteTableRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateDrgRouteTable." ) ; const pathParams = { "{drgRouteTableId}" : updateDrgRouteTableRequest . drgRouteTableId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateDrgRouteTableRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateDrgRouteTableRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgRouteTables/{drgRouteTableId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateDrgRouteTableRequest . updateDrgRouteTableDetails , "UpdateDrgRouteTableDetails" , model . UpdateDrgRouteTableDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateDrgRouteTableResponse > { } , body : await response . json ( ) , bodyKey : "drgRouteTable" , bodyModel : model . DrgRouteTable , type : "model.DrgRouteTable" , 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 ; } } /**
       * Updates the specified IPSec connection.
  * <p>
  To update an individual IPSec tunnel's attributes, use
  *  {@link #updateIPSecConnectionTunnel(UpdateIPSecConnectionTunnelRequest) updateIPSecConnectionTunnel} .
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param UpdateIPSecConnectionRequest return throws example Click  https to see how to use UpdateIPSecConnection API.
        public async updateIPSecConnection ( updateIPSecConnectionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateIPSecConnection." ) ; const pathParams = { "{ipscId}" : updateIPSecConnectionRequest . ipscId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateIPSecConnectionRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateIPSecConnectionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateIPSecConnectionRequest . updateIPSecConnectionDetails , "UpdateIPSecConnectionDetails" , model . UpdateIPSecConnectionDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateIPSecConnectionResponse > { } , body : await response . json ( ) , bodyKey : "iPSecConnection" , bodyModel : model . IPSecConnection , type : "model.IPSecConnection" , 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 ; } } /**
     * Updates the specified tunnel. This operation lets you change tunnel attributes such as the
     * routing type (BGP dynamic routing or static routing). Here are some important notes:
     * <p>
     * If you change the tunnel's routing type or BGP session configuration, the tunnel will go
     *     down while it's reprovisioned.
     * <p>
     * If you want to switch the tunnel's `routing` from `STATIC` to `BGP`, make sure the tunnel's
     *     BGP session configuration attributes have been set ( {@link #bgpSessionInfo(BgpSessionInfoRequest) bgpSessionInfo} ).
     * <p>
     * If you want to switch the tunnel's `routing` from `BGP` to `STATIC`, make sure the
     *      IPSecConnection already has at least one valid CIDR
     *     static route.
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param UpdateIPSecConnectionTunnelRequest return throws example Click  https to see how to use UpdateIPSecConnectionTunnel API.
      public async updateIPSecConnectionTunnel ( updateIPSecConnectionTunnelRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateIPSecConnectionTunnel." ) ; const pathParams = { "{ipscId}" : updateIPSecConnectionTunnelRequest . ipscId , "{tunnelId}" : updateIPSecConnectionTunnelRequest . tunnelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateIPSecConnectionTunnelRequest . ifMatch , "opc-request-id" : updateIPSecConnectionTunnelRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateIPSecConnectionTunnelRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/tunnels/{tunnelId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateIPSecConnectionTunnelRequest . updateIPSecConnectionTunnelDetails , "UpdateIPSecConnectionTunnelDetails" , model . UpdateIPSecConnectionTunnelDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateIPSecConnectionTunnelResponse > { } , body : await response . json ( ) , bodyKey : "iPSecConnectionTunnel" , bodyModel : model . IPSecConnectionTunnel , type : "model.IPSecConnectionTunnel" , 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 UpdateIPSecConnectionTunnelSharedSecretRequest return throws example Click  https to see how to use UpdateIPSecConnectionTunnelSharedSecret API.
      public async updateIPSecConnectionTunnelSharedSecret ( updateIPSecConnectionTunnelSharedSecretRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateIPSecConnectionTunnelSharedSecret." ) ; const pathParams = { "{ipscId}" : updateIPSecConnectionTunnelSharedSecretRequest . ipscId , "{tunnelId}" : updateIPSecConnectionTunnelSharedSecretRequest . tunnelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateIPSecConnectionTunnelSharedSecretRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateIPSecConnectionTunnelSharedSecretRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/sharedSecret" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateIPSecConnectionTunnelSharedSecretRequest . updateIPSecConnectionTunnelSharedSecretDetails , "UpdateIPSecConnectionTunnelSharedSecretDetails" , model . UpdateIPSecConnectionTunnelSharedSecretDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateIPSecConnectionTunnelSharedSecretResponse > { } , body : await response . json ( ) , bodyKey : "iPSecConnectionTunnelSharedSecret" , bodyModel : model . IPSecConnectionTunnelSharedSecret , type : "model.IPSecConnectionTunnelSharedSecret" , 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 UpdateInternetGatewayRequest return throws example Click  https to see how to use UpdateInternetGateway API.
        public async updateInternetGateway ( updateInternetGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateInternetGateway." ) ; const pathParams = { "{igId}" : updateInternetGatewayRequest . igId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateInternetGatewayRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateInternetGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/internetGateways/{igId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateInternetGatewayRequest . updateInternetGatewayDetails , "UpdateInternetGatewayDetails" , model . UpdateInternetGatewayDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateInternetGatewayResponse > { } , body : await response . json ( ) , bodyKey : "internetGateway" , bodyModel : model . InternetGateway , type : "model.InternetGateway" , 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 UpdateIpv6Request return throws example Click  https to see how to use UpdateIpv6 API.
      public async updateIpv6 ( updateIpv6Request ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateIpv6." ) ; const pathParams = { "{ipv6Id}" : updateIpv6Request . ipv6Id } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateIpv6Request . ifMatch , "opc-request-id" : updateIpv6Request . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateIpv6Request . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipv6/{ipv6Id}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateIpv6Request . updateIpv6Details , "UpdateIpv6Details" , model . UpdateIpv6Details . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateIpv6Response > { } , body : await response . json ( ) , bodyKey : "ipv6" , bodyModel : model . Ipv6 , type : "model.Ipv6" , 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 UpdateLocalPeeringGatewayRequest return throws example Click  https to see how to use UpdateLocalPeeringGateway API.
      public async updateLocalPeeringGateway ( updateLocalPeeringGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateLocalPeeringGateway." ) ; const pathParams = { "{localPeeringGatewayId}" : updateLocalPeeringGatewayRequest . localPeeringGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateLocalPeeringGatewayRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateLocalPeeringGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/localPeeringGateways/{localPeeringGatewayId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateLocalPeeringGatewayRequest . updateLocalPeeringGatewayDetails , "UpdateLocalPeeringGatewayDetails" , model . UpdateLocalPeeringGatewayDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateLocalPeeringGatewayResponse > { } , body : await response . json ( ) , bodyKey : "localPeeringGateway" , bodyModel : model . LocalPeeringGateway , type : "model.LocalPeeringGateway" , 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 UpdateNatGatewayRequest return throws example Click  https to see how to use UpdateNatGateway API.
      public async updateNatGateway ( updateNatGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateNatGateway." ) ; const pathParams = { "{natGatewayId}" : updateNatGatewayRequest . natGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateNatGatewayRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateNatGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/natGateways/{natGatewayId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateNatGatewayRequest . updateNatGatewayDetails , "UpdateNatGatewayDetails" , model . UpdateNatGatewayDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateNatGatewayResponse > { } , body : await response . json ( ) , bodyKey : "natGateway" , bodyModel : model . NatGateway , type : "model.NatGateway" , 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 ; } } /**
       * Updates the specified network security group.
  * <p>
  To add or remove an existing VNIC from the group, use
  *  {@link #updateVnic(UpdateVnicRequest) updateVnic} .
  * <p>
  To add a VNIC to the group *when you create the VNIC*, specify the NSG's [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) during creation.
  * For example, see the `nsgIds` attribute in  {@link #createVnicDetails(CreateVnicDetailsRequest) createVnicDetails} .
  * <p>
  To add or remove security rules from the group, use
  *  {@link #addNetworkSecurityGroupSecurityRules(AddNetworkSecurityGroupSecurityRulesRequest) addNetworkSecurityGroupSecurityRules} * or
  *  {@link #removeNetworkSecurityGroupSecurityRules(RemoveNetworkSecurityGroupSecurityRulesRequest) removeNetworkSecurityGroupSecurityRules} .
  * <p>
  To edit the contents of existing security rules in the group, use
  *  {@link #updateNetworkSecurityGroupSecurityRules(UpdateNetworkSecurityGroupSecurityRulesRequest) updateNetworkSecurityGroupSecurityRules} .
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param UpdateNetworkSecurityGroupRequest return throws example Click  https to see how to use UpdateNetworkSecurityGroup API.
        public async updateNetworkSecurityGroup ( updateNetworkSecurityGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateNetworkSecurityGroup." ) ; const pathParams = { "{networkSecurityGroupId}" : updateNetworkSecurityGroupRequest . networkSecurityGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateNetworkSecurityGroupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateNetworkSecurityGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSecurityGroups/{networkSecurityGroupId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateNetworkSecurityGroupRequest . updateNetworkSecurityGroupDetails , "UpdateNetworkSecurityGroupDetails" , model . UpdateNetworkSecurityGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateNetworkSecurityGroupResponse > { } , body : await response . json ( ) , bodyKey : "networkSecurityGroup" , bodyModel : model . NetworkSecurityGroup , type : "model.NetworkSecurityGroup" , 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 UpdateNetworkSecurityGroupSecurityRulesRequest return throws example Click  https to see how to use UpdateNetworkSecurityGroupSecurityRules API.
      public async updateNetworkSecurityGroupSecurityRules ( updateNetworkSecurityGroupSecurityRulesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateNetworkSecurityGroupSecurityRules." ) ; const pathParams = { "{networkSecurityGroupId}" : updateNetworkSecurityGroupSecurityRulesRequest . networkSecurityGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateNetworkSecurityGroupSecurityRulesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/networkSecurityGroups/{networkSecurityGroupId}/actions/updateSecurityRules" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( updateNetworkSecurityGroupSecurityRulesRequest . updateNetworkSecurityGroupSecurityRulesDetails , "UpdateNetworkSecurityGroupSecurityRulesDetails" , model . UpdateNetworkSecurityGroupSecurityRulesDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateNetworkSecurityGroupSecurityRulesResponse > { } , body : await response . json ( ) , bodyKey : "updatedNetworkSecurityGroupSecurityRules" , bodyModel : model . UpdatedNetworkSecurityGroupSecurityRules , type : "model.UpdatedNetworkSecurityGroupSecurityRules" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } /**
       * Updates the specified private IP. You must specify the object's [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
  * Use this operation if you want to:
  * <p>
    - Move a secondary private IP to a different VNIC in the same subnet.
  *   - Change the display name for a secondary private IP.
  *   - Change the hostname for a secondary private IP.
  * <p>
  This operation cannot be used with primary private IPs.
  * To update the hostname for the primary IP on a VNIC, use
  *  {@link #updateVnic(UpdateVnicRequest) updateVnic} .
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param UpdatePrivateIpRequest return throws example Click  https to see how to use UpdatePrivateIp API.
        public async updatePrivateIp ( updatePrivateIpRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updatePrivateIp." ) ; const pathParams = { "{privateIpId}" : updatePrivateIpRequest . privateIpId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updatePrivateIpRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updatePrivateIpRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/privateIps/{privateIpId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updatePrivateIpRequest . updatePrivateIpDetails , "UpdatePrivateIpDetails" , model . UpdatePrivateIpDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdatePrivateIpResponse > { } , body : await response . json ( ) , bodyKey : "privateIp" , bodyModel : model . PrivateIp , type : "model.PrivateIp" , 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 ; } } /**
       * Updates the specified public IP. You must specify the object's [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Use this operation if you want to:
  * <p>
  * Assign a reserved public IP in your pool to a private IP.
  * * Move a reserved public IP to a different private IP.
  * * Unassign a reserved public IP from a private IP (which returns it to your pool
  * of reserved public IPs).
  * * Change the display name or tags for a public IP.
  * <p>
  Assigning, moving, and unassigning a reserved public IP are asynchronous
  * operations. Poll the public IP's `lifecycleState` to determine if the operation
  * succeeded.
  * <p>
  **Note:** When moving a reserved public IP, the target private IP
  * must not already have a public IP with `lifecycleState` = ASSIGNING or ASSIGNED. If it
  * does, an error is returned. Also, the initial unassignment from the original
  * private IP always succeeds, but the assignment to the target private IP is asynchronous and
  * could fail silently (for example, if the target private IP is deleted or has a different public IP
  * assigned to it in the interim). If that occurs, the public IP remains unassigned and its
  * `lifecycleState` switches to AVAILABLE (it is not reassigned to its original private IP).
  * You must poll the public IP's `lifecycleState` to determine if the move succeeded.
  * <p>
  Regarding ephemeral public IPs:
  * <p>
  * If you want to assign an ephemeral public IP to a primary private IP, use
  *  {@link #createPublicIp(CreatePublicIpRequest) createPublicIp} .
  * * You can't move an ephemeral public IP to a different private IP.
  * * If you want to unassign an ephemeral public IP from its private IP, use
  *  {@link #deletePublicIp(DeletePublicIpRequest) deletePublicIp} , which
  * unassigns and deletes the ephemeral public IP.
  * <p>
  **Note:** If a public IP is assigned to a secondary private
  * IP (see  PrivateIp ), and you move that secondary
  * private IP to another VNIC, the public IP moves with it.
  * <p>
  **Note:** There's a limit to the number of  PublicIp * a VNIC or instance can have. If you try to move a reserved public IP
  * to a VNIC or instance that has already reached its public IP limit, an error is
  * returned. For information about the public IP limits, see
  * [Public IP Addresses](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm).
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param UpdatePublicIpRequest return throws example Click  https to see how to use UpdatePublicIp API.
        public async updatePublicIp ( updatePublicIpRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updatePublicIp." ) ; const pathParams = { "{publicIpId}" : updatePublicIpRequest . publicIpId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updatePublicIpRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updatePublicIpRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIps/{publicIpId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updatePublicIpRequest . updatePublicIpDetails , "UpdatePublicIpDetails" , model . UpdatePublicIpDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdatePublicIpResponse > { } , body : await response . json ( ) , bodyKey : "publicIp" , bodyModel : model . PublicIp , type : "model.PublicIp" , 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 UpdatePublicIpPoolRequest return throws example Click  https to see how to use UpdatePublicIpPool API.
      public async updatePublicIpPool ( updatePublicIpPoolRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updatePublicIpPool." ) ; const pathParams = { "{publicIpPoolId}" : updatePublicIpPoolRequest . publicIpPoolId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updatePublicIpPoolRequest . opcRequestId , "if-match" : updatePublicIpPoolRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updatePublicIpPoolRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/publicIpPools/{publicIpPoolId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updatePublicIpPoolRequest . updatePublicIpPoolDetails , "UpdatePublicIpPoolDetails" , model . UpdatePublicIpPoolDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdatePublicIpPoolResponse > { } , body : await response . json ( ) , bodyKey : "publicIpPool" , bodyModel : model . PublicIpPool , type : "model.PublicIpPool" , 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 UpdateRemotePeeringConnectionRequest return throws example Click  https to see how to use UpdateRemotePeeringConnection API.
      public async updateRemotePeeringConnection ( updateRemotePeeringConnectionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateRemotePeeringConnection." ) ; const pathParams = { "{remotePeeringConnectionId}" : updateRemotePeeringConnectionRequest . remotePeeringConnectionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateRemotePeeringConnectionRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateRemotePeeringConnectionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/remotePeeringConnections/{remotePeeringConnectionId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateRemotePeeringConnectionRequest . updateRemotePeeringConnectionDetails , "UpdateRemotePeeringConnectionDetails" , model . UpdateRemotePeeringConnectionDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateRemotePeeringConnectionResponse > { } , body : await response . json ( ) , bodyKey : "remotePeeringConnection" , bodyModel : model . RemotePeeringConnection , type : "model.RemotePeeringConnection" , 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 UpdateRouteTableRequest return throws example Click  https to see how to use UpdateRouteTable API.
        public async updateRouteTable ( updateRouteTableRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateRouteTable." ) ; const pathParams = { "{rtId}" : updateRouteTableRequest . rtId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateRouteTableRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateRouteTableRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/routeTables/{rtId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateRouteTableRequest . updateRouteTableDetails , "UpdateRouteTableDetails" , model . UpdateRouteTableDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateRouteTableResponse > { } , body : await response . json ( ) , bodyKey : "routeTable" , bodyModel : model . RouteTable , type : "model.RouteTable" , 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 UpdateSecurityListRequest return throws example Click  https to see how to use UpdateSecurityList API.
        public async updateSecurityList ( updateSecurityListRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateSecurityList." ) ; const pathParams = { "{securityListId}" : updateSecurityListRequest . securityListId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateSecurityListRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateSecurityListRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/securityLists/{securityListId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateSecurityListRequest . updateSecurityListDetails , "UpdateSecurityListDetails" , model . UpdateSecurityListDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateSecurityListResponse > { } , body : await response . json ( ) , bodyKey : "securityList" , bodyModel : model . SecurityList , type : "model.SecurityList" , 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 UpdateServiceGatewayRequest return throws example Click  https to see how to use UpdateServiceGateway API.
      public async updateServiceGateway ( updateServiceGatewayRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateServiceGateway." ) ; const pathParams = { "{serviceGatewayId}" : updateServiceGatewayRequest . serviceGatewayId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateServiceGatewayRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateServiceGatewayRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/serviceGateways/{serviceGatewayId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateServiceGatewayRequest . updateServiceGatewayDetails , "UpdateServiceGatewayDetails" , model . UpdateServiceGatewayDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateServiceGatewayResponse > { } , body : await response . json ( ) , bodyKey : "serviceGateway" , bodyModel : model . ServiceGateway , type : "model.ServiceGateway" , 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 UpdateSubnetRequest return throws example Click  https to see how to use UpdateSubnet API.
      public async updateSubnet ( updateSubnetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateSubnet." ) ; const pathParams = { "{subnetId}" : updateSubnetRequest . subnetId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateSubnetRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateSubnetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/subnets/{subnetId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateSubnetRequest . updateSubnetDetails , "UpdateSubnetDetails" , model . UpdateSubnetDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateSubnetResponse > { } , body : await response . json ( ) , bodyKey : "subnet" , bodyModel : model . Subnet , type : "model.Subnet" , 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 ; } } /**
     * Creates or updates the set of CPE configuration answers for the specified tunnel.
     * The answers correlate to the questions that are specific to the CPE device type (see the
     * `parameters` attribute of  CpeDeviceShapeDetail ).
     *
     * This operation does not retry by default if the user has not defined a retry configuration.
     *  param UpdateTunnelCpeDeviceConfigRequest return throws example Click  https to see how to use UpdateTunnelCpeDeviceConfig API.
      public async updateTunnelCpeDeviceConfig ( updateTunnelCpeDeviceConfigRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateTunnelCpeDeviceConfig." ) ; const pathParams = { "{ipscId}" : updateTunnelCpeDeviceConfigRequest . ipscId , "{tunnelId}" : updateTunnelCpeDeviceConfigRequest . tunnelId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateTunnelCpeDeviceConfigRequest . ifMatch , "opc-retry-token" : updateTunnelCpeDeviceConfigRequest . opcRetryToken , "opc-request-id" : updateTunnelCpeDeviceConfigRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateTunnelCpeDeviceConfigRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/ipsecConnections/{ipscId}/tunnels/{tunnelId}/tunnelDeviceConfig" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateTunnelCpeDeviceConfigRequest . updateTunnelCpeDeviceConfigDetails , "UpdateTunnelCpeDeviceConfigDetails" , model . UpdateTunnelCpeDeviceConfigDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateTunnelCpeDeviceConfigResponse > { } , body : await response . json ( ) , bodyKey : "tunnelCpeDeviceConfig" , bodyModel : model . TunnelCpeDeviceConfig , type : "model.TunnelCpeDeviceConfig" , 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 UpdateVcnRequest return throws example Click  https to see how to use UpdateVcn API.
      public async updateVcn ( updateVcnRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateVcn." ) ; const pathParams = { "{vcnId}" : updateVcnRequest . vcnId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateVcnRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateVcnRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vcns/{vcnId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateVcnRequest . updateVcnDetails , "UpdateVcnDetails" , model . UpdateVcnDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateVcnResponse > { } , body : await response . json ( ) , bodyKey : "vcn" , bodyModel : model . Vcn , type : "model.Vcn" , 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 ; } } /**
       * Updates the specified virtual circuit. This can be called by
  * either the customer who owns the virtual circuit, or the
  * provider (when provisioning or de-provisioning the virtual
  * circuit from their end). The documentation for
  *  {@link #updateVirtualCircuitDetails(UpdateVirtualCircuitDetailsRequest) updateVirtualCircuitDetails} * indicates who can update each property of the virtual circuit.
  * <p>
  **Important:** If the virtual circuit is working and in the
  * PROVISIONED state, updating any of the network-related properties
  * (such as the DRG being used, the BGP ASN, and so on) will cause the virtual
  * circuit's state to switch to PROVISIONING and the related BGP
  * session to go down. After Oracle re-provisions the virtual circuit,
  * its state will return to PROVISIONED. Make sure you confirm that
  * the associated BGP session is back up. For more information
  * about the various states and how to test connectivity, see
  * [FastConnect Overview](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
  * <p>
  To change the list of public IP prefixes for a public virtual circuit,
  * use  {@link #bulkAddVirtualCircuitPublicPrefixes(BulkAddVirtualCircuitPublicPrefixesRequest) bulkAddVirtualCircuitPublicPrefixes} * and
  *  {@link #bulkDeleteVirtualCircuitPublicPrefixes(BulkDeleteVirtualCircuitPublicPrefixesRequest) bulkDeleteVirtualCircuitPublicPrefixes} .
  * Updating the list of prefixes does NOT cause the BGP session to go down. However,
  * Oracle must verify the customer's ownership of each added prefix before
  * traffic for that prefix will flow across the virtual circuit.
  *
       * This operation does not retry by default if the user has not defined a retry configuration.
       *  param UpdateVirtualCircuitRequest return throws example Click  https to see how to use UpdateVirtualCircuit API.
        public async updateVirtualCircuit ( updateVirtualCircuitRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateVirtualCircuit." ) ; const pathParams = { "{virtualCircuitId}" : updateVirtualCircuitRequest . virtualCircuitId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateVirtualCircuitRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateVirtualCircuitRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/virtualCircuits/{virtualCircuitId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateVirtualCircuitRequest . updateVirtualCircuitDetails , "UpdateVirtualCircuitDetails" , model . UpdateVirtualCircuitDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateVirtualCircuitResponse > { } , body : await response . json ( ) , bodyKey : "virtualCircuit" , bodyModel : model . VirtualCircuit , type : "model.VirtualCircuit" , 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 UpdateVlanRequest return throws example Click  https to see how to use UpdateVlan API.
      public async updateVlan ( updateVlanRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateVlan." ) ; const pathParams = { "{vlanId}" : updateVlanRequest . vlanId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateVlanRequest . ifMatch , "opc-request-id" : updateVlanRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateVlanRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vlans/{vlanId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateVlanRequest . updateVlanDetails , "UpdateVlanDetails" , model . UpdateVlanDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateVlanResponse > { } , body : await response . json ( ) , bodyKey : "vlan" , bodyModel : model . Vlan , type : "model.Vlan" , 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 UpdateVnicRequest return throws example Click  https to see how to use UpdateVnic API.
      public async updateVnic ( updateVnicRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#updateVnic." ) ; const pathParams = { "{vnicId}" : updateVnicRequest . vnicId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateVnicRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateVnicRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/vnics/{vnicId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateVnicRequest . updateVnicDetails , "UpdateVnicDetails" , model . UpdateVnicDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateVnicResponse > { } , body : await response . json ( ) , bodyKey : "vnic" , bodyModel : model . Vnic , type : "model.Vnic" , 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 UpgradeDrgRequest return throws example Click  https to see how to use UpgradeDrg API.
      public async upgradeDrg ( upgradeDrgRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#upgradeDrg." ) ; const pathParams = { "{drgId}" : upgradeDrgRequest . drgId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : upgradeDrgRequest . opcRequestId , "opc-retry-token" : upgradeDrgRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , upgradeDrgRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/drgs/{drgId}/actions/upgrade" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpgradeDrgResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ValidateByoipRangeRequest return throws example Click  https to see how to use ValidateByoipRange API.
      public async validateByoipRange ( validateByoipRangeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#validateByoipRange." ) ; const pathParams = { "{byoipRangeId}" : validateByoipRangeRequest . byoipRangeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : validateByoipRangeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , validateByoipRangeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/byoipRanges/{byoipRangeId}/actions/validate" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ValidateByoipRangeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param WithdrawByoipRangeRequest return throws example Click  https to see how to use WithdrawByoipRange API.
      public async withdrawByoipRange ( withdrawByoipRangeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VirtualNetworkClient#withdrawByoipRange." ) ; const pathParams = { "{byoipRangeId}" : withdrawByoipRangeRequest . byoipRangeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : withdrawByoipRangeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , withdrawByoipRangeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/byoipRanges/{byoipRangeId}/actions/withdraw" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . WithdrawByoipRangeResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } }