/**
 * OS Management API
 * API for the OS Management service. Use these API operations for working
with Managed instances and Managed instance groups.

 * OpenAPI spec version: 20190801
 *
 *
 * 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 { OsManagementWaiter } from "./osmanagement-waiter" ; import { composeResponse , composeRequest , GenericRetrier } from "oci-common" ; export enum EventApiKeys { } /**
 * 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 EventClient { protected static serviceEndpointTemplate = "https://osms.{region}.oci.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_clientConfiguration" : common . ClientConfiguration ; protected _circuitBreaker = null ; protected _httpClient : common . HttpClient ; constructor ( params , clientConfiguration ? ) { const requestSigner = params . authenticationDetailsProvider ? new common . DefaultRequestSigner ( params . authenticationDetailsProvider ) : null ; if ( clientConfiguration ) { this . _clientConfiguration = clientConfiguration ; this . _circuitBreaker = clientConfiguration . circuitBreaker ? clientConfiguration . circuitBreaker ! . circuit : null ; } const specCircuitBreakerEnabled = true ; if ( ! this . _circuitBreaker && common . utils . isCircuitBreakerSystemEnabled ( clientConfiguration ! ) && ( specCircuitBreakerEnabled || common . CircuitBreaker . DefaultCircuitBreakerOverriden ) ) { this . _circuitBreaker = new common . CircuitBreaker ( ) . circuit ; } this . _httpClient = params . httpClient || new common . FetchHttpClient ( requestSigner , this . _circuitBreaker ) ; if ( params . authenticationDetailsProvider && common . isRegionProvider ( params . authenticationDetailsProvider ) ) { const provider = params . authenticationDetailsProvider ; if ( provider . getRegion ( ) ) { this . region = provider . getRegion ( ) ; } } } /**
     * Get the endpoint that is being used to call (ex, https://www.example.com).
     */ public get endpoint ( ) { return this . _endpoint ; } param endpoint public set endpoint ( endpoint ) { this . _endpoint = endpoint ; this . _endpoint = this . _endpoint + "/20190801" ; if ( this . logger ) this . logger . info ( `EventClient 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 ( EventClient . 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 ( EventClient . serviceEndpointTemplate , regionId ) ; } param DeleteEventContentRequest return throws example Click  https to see how to use DeleteEventContent API.
      public async deleteEventContent ( deleteEventContentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation EventClient#deleteEventContent." ) ; const pathParams = { "{managedInstanceId}" : deleteEventContentRequest . managedInstanceId , "{eventId}" : deleteEventContentRequest . eventId } ; const queryParams = { "compartmentId" : deleteEventContentRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteEventContentRequest . opcRequestId , "if-match" : deleteEventContentRequest . ifMatch , "opc-retry-token" : deleteEventContentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteEventContentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/events/{eventId}/content" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteEventContentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetEventRequest return throws example Click  https to see how to use GetEvent API.
      public async getEvent ( getEventRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation EventClient#getEvent." ) ; const pathParams = { "{managedInstanceId}" : getEventRequest . managedInstanceId , "{eventId}" : getEventRequest . eventId } ; const queryParams = { "compartmentId" : getEventRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getEventRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getEventRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/events/{eventId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetEventResponse > { } , body : await response . json ( ) , bodyKey : "event" , bodyModel : model . Event , type : "model.Event" , 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 GetEventContentRequest return throws example Click  https to see how to use GetEventContent API.
      public async getEventContent ( getEventContentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation EventClient#getEventContent." ) ; const pathParams = { "{managedInstanceId}" : getEventContentRequest . managedInstanceId , "{eventId}" : getEventContentRequest . eventId } ; const queryParams = { "compartmentId" : getEventContentRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getEventContentRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getEventContentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/events/{eventId}/content" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetEventContentResponse > { } , body : response . body ! , bodyKey : "value" , bodyModel : "string" , 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 GetEventReportRequest return throws example Click  https to see how to use GetEventReport API.
      public async getEventReport ( getEventReportRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation EventClient#getEventReport." ) ; const pathParams = { "{managedInstanceId}" : getEventReportRequest . managedInstanceId } ; const queryParams = { "compartmentId" : getEventReportRequest . compartmentId , "latestTimestampLessThan" : getEventReportRequest . latestTimestampLessThan , "latestTimestampGreaterThanOrEqualTo" : getEventReportRequest . latestTimestampGreaterThanOrEqualTo } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getEventReportRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getEventReportRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/events/report" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetEventReportResponse > { } , body : await response . json ( ) , bodyKey : "eventReport" , bodyModel : model . EventReport , type : "model.EventReport" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListEventsRequest return throws example Click  https to see how to use ListEvents API.
      public async listEvents ( listEventsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation EventClient#listEvents." ) ; const pathParams = { "{managedInstanceId}" : listEventsRequest . managedInstanceId } ; const queryParams = { "compartmentId" : listEventsRequest . compartmentId , "eventId" : listEventsRequest . eventId , "limit" : listEventsRequest . limit , "page" : listEventsRequest . page , "sortOrder" : listEventsRequest . sortOrder , "sortBy" : listEventsRequest . sortBy , "eventType" : listEventsRequest . eventType , "latestTimestampLessThan" : listEventsRequest . latestTimestampLessThan , "latestTimestampGreaterThanOrEqualTo" : listEventsRequest . latestTimestampGreaterThanOrEqualTo } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listEventsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listEventsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/events" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListEventsResponse > { } , body : await response . json ( ) , bodyKey : "eventCollection" , bodyModel : model . EventCollection , type : "model.EventCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListRelatedEventsRequest return throws example Click  https to see how to use ListRelatedEvents API.
      public async listRelatedEvents ( listRelatedEventsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation EventClient#listRelatedEvents." ) ; const pathParams = { } ; const queryParams = { "limit" : listRelatedEventsRequest . limit , "page" : listRelatedEventsRequest . page , "sortOrder" : listRelatedEventsRequest . sortOrder , "sortBy" : listRelatedEventsRequest . sortBy , "latestTimestampLessThan" : listRelatedEventsRequest . latestTimestampLessThan , "latestTimestampGreaterThanOrEqualTo" : listRelatedEventsRequest . latestTimestampGreaterThanOrEqualTo , "eventFingerprint" : listRelatedEventsRequest . eventFingerprint , "compartmentId" : listRelatedEventsRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listRelatedEventsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listRelatedEventsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/relatedEvents" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListRelatedEventsResponse > { } , body : await response . json ( ) , bodyKey : "relatedEventCollection" , bodyModel : model . RelatedEventCollection , type : "model.RelatedEventCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateEventRequest return throws example Click  https to see how to use UpdateEvent API.
      public async updateEvent ( updateEventRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation EventClient#updateEvent." ) ; const pathParams = { "{managedInstanceId}" : updateEventRequest . managedInstanceId , "{eventId}" : updateEventRequest . eventId } ; const queryParams = { "compartmentId" : updateEventRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateEventRequest . opcRequestId , "if-match" : updateEventRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateEventRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/events/{eventId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateEventRequest . updateEventDetails , "UpdateEventDetails" , model . UpdateEventDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateEventResponse > { } , body : await response . json ( ) , bodyKey : "event" , bodyModel : model . Event , type : "model.Event" , 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 UploadEventContentRequest return throws example Click  https to see how to use UploadEventContent API.
      public async uploadEventContent ( uploadEventContentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation EventClient#uploadEventContent." ) ; const pathParams = { "{managedInstanceId}" : uploadEventContentRequest . managedInstanceId , "{eventId}" : uploadEventContentRequest . eventId } ; const queryParams = { "compartmentId" : uploadEventContentRequest . compartmentId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : uploadEventContentRequest . opcRequestId , "if-match" : uploadEventContentRequest . ifMatch , "opc-retry-token" : uploadEventContentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , uploadEventContentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/events/{eventId}/content/actions/upload" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UploadEventContentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } } export enum OsManagementApiKeys { } /**
 * 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 OsManagementClient { protected static serviceEndpointTemplate = "https://osms.{region}.oci.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : OsManagementWaiter ; 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 + "/20190801" ; if ( this . logger ) this . logger . info ( `OsManagementClient 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 ( OsManagementClient . 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 ( OsManagementClient . serviceEndpointTemplate , regionId ) ; } param config return public createWaiters ( config ? ) { this . _waiters = new OsManagementWaiter ( this , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param AddPackagesToSoftwareSourceRequest return throws example Click  https to see how to use AddPackagesToSoftwareSource API.
      public async addPackagesToSoftwareSource ( addPackagesToSoftwareSourceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#addPackagesToSoftwareSource." ) ; const pathParams = { "{softwareSourceId}" : addPackagesToSoftwareSourceRequest . softwareSourceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : addPackagesToSoftwareSourceRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , addPackagesToSoftwareSourceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/softwareSources/{softwareSourceId}/actions/addPackages" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( addPackagesToSoftwareSourceRequest . addPackagesToSoftwareSourceDetails , "AddPackagesToSoftwareSourceDetails" , model . AddPackagesToSoftwareSourceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AddPackagesToSoftwareSourceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AttachChildSoftwareSourceToManagedInstanceRequest return throws example Click  https to see how to use AttachChildSoftwareSourceToManagedInstance API.
      public async attachChildSoftwareSourceToManagedInstance ( attachChildSoftwareSourceToManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#attachChildSoftwareSourceToManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : attachChildSoftwareSourceToManagedInstanceRequest . managedInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : attachChildSoftwareSourceToManagedInstanceRequest . opcRequestId , "opc-retry-token" : attachChildSoftwareSourceToManagedInstanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , attachChildSoftwareSourceToManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/actions/attachChildSoftwareSource" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( attachChildSoftwareSourceToManagedInstanceRequest . attachChildSoftwareSourceToManagedInstanceDetails , "AttachChildSoftwareSourceToManagedInstanceDetails" , model . AttachChildSoftwareSourceToManagedInstanceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AttachChildSoftwareSourceToManagedInstanceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AttachManagedInstanceToManagedInstanceGroupRequest return throws example Click  https to see how to use AttachManagedInstanceToManagedInstanceGroup API.
      public async attachManagedInstanceToManagedInstanceGroup ( attachManagedInstanceToManagedInstanceGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#attachManagedInstanceToManagedInstanceGroup." ) ; const pathParams = { "{managedInstanceGroupId}" : attachManagedInstanceToManagedInstanceGroupRequest . managedInstanceGroupId } ; const queryParams = { "managedInstanceId" : attachManagedInstanceToManagedInstanceGroupRequest . managedInstanceId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : attachManagedInstanceToManagedInstanceGroupRequest . opcRequestId , "opc-retry-token" : attachManagedInstanceToManagedInstanceGroupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , attachManagedInstanceToManagedInstanceGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstanceGroups/{managedInstanceGroupId}/actions/attachManagedInstance" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AttachManagedInstanceToManagedInstanceGroupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param AttachParentSoftwareSourceToManagedInstanceRequest return throws example Click  https to see how to use AttachParentSoftwareSourceToManagedInstance API.
      public async attachParentSoftwareSourceToManagedInstance ( attachParentSoftwareSourceToManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#attachParentSoftwareSourceToManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : attachParentSoftwareSourceToManagedInstanceRequest . managedInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : attachParentSoftwareSourceToManagedInstanceRequest . opcRequestId , "opc-retry-token" : attachParentSoftwareSourceToManagedInstanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , attachParentSoftwareSourceToManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/actions/attachParentSoftwareSource" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( attachParentSoftwareSourceToManagedInstanceRequest . attachParentSoftwareSourceToManagedInstanceDetails , "AttachParentSoftwareSourceToManagedInstanceDetails" , model . AttachParentSoftwareSourceToManagedInstanceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AttachParentSoftwareSourceToManagedInstanceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeManagedInstanceGroupCompartmentRequest return throws example Click  https to see how to use ChangeManagedInstanceGroupCompartment API.
      public async changeManagedInstanceGroupCompartment ( changeManagedInstanceGroupCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#changeManagedInstanceGroupCompartment." ) ; const pathParams = { "{managedInstanceGroupId}" : changeManagedInstanceGroupCompartmentRequest . managedInstanceGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeManagedInstanceGroupCompartmentRequest . opcRequestId , "if-match" : changeManagedInstanceGroupCompartmentRequest . ifMatch , "opc-retry-token" : changeManagedInstanceGroupCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeManagedInstanceGroupCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstanceGroups/{managedInstanceGroupId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeManagedInstanceGroupCompartmentRequest . changeManagedInstanceGroupCompartmentDetails , "ChangeManagedInstanceGroupCompartmentDetails" , model . ChangeManagedInstanceGroupCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeManagedInstanceGroupCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeScheduledJobCompartmentRequest return throws example Click  https to see how to use ChangeScheduledJobCompartment API.
      public async changeScheduledJobCompartment ( changeScheduledJobCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#changeScheduledJobCompartment." ) ; const pathParams = { "{scheduledJobId}" : changeScheduledJobCompartmentRequest . scheduledJobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeScheduledJobCompartmentRequest . opcRequestId , "if-match" : changeScheduledJobCompartmentRequest . ifMatch , "opc-retry-token" : changeScheduledJobCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeScheduledJobCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/scheduledJobs/{scheduledJobId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeScheduledJobCompartmentRequest . changeScheduledJobCompartmentDetails , "ChangeScheduledJobCompartmentDetails" , model . ChangeScheduledJobCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeScheduledJobCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeSoftwareSourceCompartmentRequest return throws example Click  https to see how to use ChangeSoftwareSourceCompartment API.
      public async changeSoftwareSourceCompartment ( changeSoftwareSourceCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#changeSoftwareSourceCompartment." ) ; const pathParams = { "{softwareSourceId}" : changeSoftwareSourceCompartmentRequest . softwareSourceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeSoftwareSourceCompartmentRequest . opcRequestId , "if-match" : changeSoftwareSourceCompartmentRequest . ifMatch , "opc-retry-token" : changeSoftwareSourceCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeSoftwareSourceCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/softwareSources/{softwareSourceId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeSoftwareSourceCompartmentRequest . changeSoftwareSourceCompartmentDetails , "ChangeSoftwareSourceCompartmentDetails" , model . ChangeSoftwareSourceCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeSoftwareSourceCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateManagedInstanceGroupRequest return throws example Click  https to see how to use CreateManagedInstanceGroup API.
      public async createManagedInstanceGroup ( createManagedInstanceGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#createManagedInstanceGroup." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createManagedInstanceGroupRequest . opcRequestId , "opc-retry-token" : createManagedInstanceGroupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createManagedInstanceGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstanceGroups" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createManagedInstanceGroupRequest . createManagedInstanceGroupDetails , "CreateManagedInstanceGroupDetails" , model . CreateManagedInstanceGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateManagedInstanceGroupResponse > { } , body : await response . json ( ) , bodyKey : "managedInstanceGroup" , bodyModel : model . ManagedInstanceGroup , type : "model.ManagedInstanceGroup" , responseHeaders : [ { value : response . headers . get ( "Location" ) , key : "location" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateScheduledJobRequest return throws example Click  https to see how to use CreateScheduledJob API.
      public async createScheduledJob ( createScheduledJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#createScheduledJob." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createScheduledJobRequest . opcRequestId , "opc-retry-token" : createScheduledJobRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createScheduledJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/scheduledJobs" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createScheduledJobRequest . createScheduledJobDetails , "CreateScheduledJobDetails" , model . CreateScheduledJobDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateScheduledJobResponse > { } , body : await response . json ( ) , bodyKey : "scheduledJob" , bodyModel : model . ScheduledJob , type : "model.ScheduledJob" , responseHeaders : [ { value : response . headers . get ( "Location" ) , key : "location" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateSoftwareSourceRequest return throws example Click  https to see how to use CreateSoftwareSource API.
      public async createSoftwareSource ( createSoftwareSourceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#createSoftwareSource." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createSoftwareSourceRequest . opcRequestId , "opc-retry-token" : createSoftwareSourceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createSoftwareSourceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/softwareSources" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createSoftwareSourceRequest . createSoftwareSourceDetails , "CreateSoftwareSourceDetails" , model . CreateSoftwareSourceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateSoftwareSourceResponse > { } , body : await response . json ( ) , bodyKey : "softwareSource" , bodyModel : model . SoftwareSource , type : "model.SoftwareSource" , responseHeaders : [ { value : response . headers . get ( "Location" ) , key : "location" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteManagedInstanceGroupRequest return throws example Click  https to see how to use DeleteManagedInstanceGroup API.
      public async deleteManagedInstanceGroup ( deleteManagedInstanceGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#deleteManagedInstanceGroup." ) ; const pathParams = { "{managedInstanceGroupId}" : deleteManagedInstanceGroupRequest . managedInstanceGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteManagedInstanceGroupRequest . opcRequestId , "if-match" : deleteManagedInstanceGroupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteManagedInstanceGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstanceGroups/{managedInstanceGroupId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteManagedInstanceGroupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteScheduledJobRequest return throws example Click  https to see how to use DeleteScheduledJob API.
      public async deleteScheduledJob ( deleteScheduledJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#deleteScheduledJob." ) ; const pathParams = { "{scheduledJobId}" : deleteScheduledJobRequest . scheduledJobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteScheduledJobRequest . opcRequestId , "if-match" : deleteScheduledJobRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteScheduledJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/scheduledJobs/{scheduledJobId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteScheduledJobResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteSoftwareSourceRequest return throws example Click  https to see how to use DeleteSoftwareSource API.
      public async deleteSoftwareSource ( deleteSoftwareSourceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#deleteSoftwareSource." ) ; const pathParams = { "{softwareSourceId}" : deleteSoftwareSourceRequest . softwareSourceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteSoftwareSourceRequest . opcRequestId , "if-match" : deleteSoftwareSourceRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteSoftwareSourceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/softwareSources/{softwareSourceId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteSoftwareSourceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DetachChildSoftwareSourceFromManagedInstanceRequest return throws example Click  https to see how to use DetachChildSoftwareSourceFromManagedInstance API.
      public async detachChildSoftwareSourceFromManagedInstance ( detachChildSoftwareSourceFromManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#detachChildSoftwareSourceFromManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : detachChildSoftwareSourceFromManagedInstanceRequest . managedInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : detachChildSoftwareSourceFromManagedInstanceRequest . opcRequestId , "opc-retry-token" : detachChildSoftwareSourceFromManagedInstanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , detachChildSoftwareSourceFromManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/actions/detachChildSoftwareSource" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( detachChildSoftwareSourceFromManagedInstanceRequest . detachChildSoftwareSourceFromManagedInstanceDetails , "DetachChildSoftwareSourceFromManagedInstanceDetails" , model . DetachChildSoftwareSourceFromManagedInstanceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DetachChildSoftwareSourceFromManagedInstanceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DetachManagedInstanceFromManagedInstanceGroupRequest return throws example Click  https to see how to use DetachManagedInstanceFromManagedInstanceGroup API.
      public async detachManagedInstanceFromManagedInstanceGroup ( detachManagedInstanceFromManagedInstanceGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#detachManagedInstanceFromManagedInstanceGroup." ) ; const pathParams = { "{managedInstanceGroupId}" : detachManagedInstanceFromManagedInstanceGroupRequest . managedInstanceGroupId } ; const queryParams = { "managedInstanceId" : detachManagedInstanceFromManagedInstanceGroupRequest . managedInstanceId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : detachManagedInstanceFromManagedInstanceGroupRequest . opcRequestId , "opc-retry-token" : detachManagedInstanceFromManagedInstanceGroupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , detachManagedInstanceFromManagedInstanceGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstanceGroups/{managedInstanceGroupId}/actions/detachManagedInstance" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DetachManagedInstanceFromManagedInstanceGroupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DetachParentSoftwareSourceFromManagedInstanceRequest return throws example Click  https to see how to use DetachParentSoftwareSourceFromManagedInstance API.
      public async detachParentSoftwareSourceFromManagedInstance ( detachParentSoftwareSourceFromManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#detachParentSoftwareSourceFromManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : detachParentSoftwareSourceFromManagedInstanceRequest . managedInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : detachParentSoftwareSourceFromManagedInstanceRequest . opcRequestId , "opc-retry-token" : detachParentSoftwareSourceFromManagedInstanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , detachParentSoftwareSourceFromManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/actions/detachParentSoftwareSource" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( detachParentSoftwareSourceFromManagedInstanceRequest . detachParentSoftwareSourceFromManagedInstanceDetails , "DetachParentSoftwareSourceFromManagedInstanceDetails" , model . DetachParentSoftwareSourceFromManagedInstanceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DetachParentSoftwareSourceFromManagedInstanceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetErratumRequest return throws example Click  https to see how to use GetErratum API.
      public async getErratum ( getErratumRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#getErratum." ) ; const pathParams = { "{erratumId}" : getErratumRequest . erratumId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getErratumRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getErratumRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/errata/{erratumId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetErratumResponse > { } , body : await response . json ( ) , bodyKey : "erratum" , bodyModel : model . Erratum , type : "model.Erratum" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetManagedInstanceRequest return throws example Click  https to see how to use GetManagedInstance API.
      public async getManagedInstance ( getManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#getManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : getManagedInstanceRequest . managedInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getManagedInstanceRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetManagedInstanceResponse > { } , body : await response . json ( ) , bodyKey : "managedInstance" , bodyModel : model . ManagedInstance , type : "model.ManagedInstance" , 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 GetManagedInstanceGroupRequest return throws example Click  https to see how to use GetManagedInstanceGroup API.
      public async getManagedInstanceGroup ( getManagedInstanceGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#getManagedInstanceGroup." ) ; const pathParams = { "{managedInstanceGroupId}" : getManagedInstanceGroupRequest . managedInstanceGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getManagedInstanceGroupRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getManagedInstanceGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstanceGroups/{managedInstanceGroupId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetManagedInstanceGroupResponse > { } , body : await response . json ( ) , bodyKey : "managedInstanceGroup" , bodyModel : model . ManagedInstanceGroup , type : "model.ManagedInstanceGroup" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetScheduledJobRequest return throws example Click  https to see how to use GetScheduledJob API.
      public async getScheduledJob ( getScheduledJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#getScheduledJob." ) ; const pathParams = { "{scheduledJobId}" : getScheduledJobRequest . scheduledJobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getScheduledJobRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getScheduledJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/scheduledJobs/{scheduledJobId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetScheduledJobResponse > { } , body : await response . json ( ) , bodyKey : "scheduledJob" , bodyModel : model . ScheduledJob , type : "model.ScheduledJob" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetSoftwarePackageRequest return throws example Click  https to see how to use GetSoftwarePackage API.
      public async getSoftwarePackage ( getSoftwarePackageRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#getSoftwarePackage." ) ; const pathParams = { "{softwareSourceId}" : getSoftwarePackageRequest . softwareSourceId , "{softwarePackageName}" : getSoftwarePackageRequest . softwarePackageName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getSoftwarePackageRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getSoftwarePackageRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/softwareSources/{softwareSourceId}/softwarePackages/{softwarePackageName}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetSoftwarePackageResponse > { } , body : await response . json ( ) , bodyKey : "softwarePackage" , bodyModel : model . SoftwarePackage , type : "model.SoftwarePackage" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetSoftwareSourceRequest return throws example Click  https to see how to use GetSoftwareSource API.
      public async getSoftwareSource ( getSoftwareSourceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#getSoftwareSource." ) ; const pathParams = { "{softwareSourceId}" : getSoftwareSourceRequest . softwareSourceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getSoftwareSourceRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getSoftwareSourceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/softwareSources/{softwareSourceId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetSoftwareSourceResponse > { } , body : await response . json ( ) , bodyKey : "softwareSource" , bodyModel : model . SoftwareSource , type : "model.SoftwareSource" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetWindowsUpdateRequest return throws example Click  https to see how to use GetWindowsUpdate API.
      public async getWindowsUpdate ( getWindowsUpdateRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#getWindowsUpdate." ) ; const pathParams = { "{windowsUpdate}" : getWindowsUpdateRequest . windowsUpdate } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getWindowsUpdateRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getWindowsUpdateRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/updates/{windowsUpdate}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetWindowsUpdateResponse > { } , body : await response . json ( ) , bodyKey : "windowsUpdate" , bodyModel : model . WindowsUpdate , type : "model.WindowsUpdate" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetWorkRequestRequest return throws example Click  https to see how to use GetWorkRequest API.
      public async getWorkRequest ( getWorkRequestRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#getWorkRequest." ) ; const pathParams = { "{workRequestId}" : getWorkRequestRequest . workRequestId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getWorkRequestRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getWorkRequestRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetWorkRequestResponse > { } , body : await response . json ( ) , bodyKey : "workRequest" , bodyModel : model . WorkRequest , type : "model.WorkRequest" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param InstallAllPackageUpdatesOnManagedInstanceRequest return throws example Click  https to see how to use InstallAllPackageUpdatesOnManagedInstance API.
      public async installAllPackageUpdatesOnManagedInstance ( installAllPackageUpdatesOnManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#installAllPackageUpdatesOnManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : installAllPackageUpdatesOnManagedInstanceRequest . managedInstanceId } ; const queryParams = { "updateType" : installAllPackageUpdatesOnManagedInstanceRequest . updateType } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : installAllPackageUpdatesOnManagedInstanceRequest . opcRequestId , "opc-retry-token" : installAllPackageUpdatesOnManagedInstanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , installAllPackageUpdatesOnManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/actions/packages/updateAll" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . InstallAllPackageUpdatesOnManagedInstanceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param InstallAllUpdatesOnManagedInstanceGroupRequest return throws example Click  https to see how to use InstallAllUpdatesOnManagedInstanceGroup API.
      public async installAllUpdatesOnManagedInstanceGroup ( installAllUpdatesOnManagedInstanceGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#installAllUpdatesOnManagedInstanceGroup." ) ; const pathParams = { "{managedInstanceGroupId}" : installAllUpdatesOnManagedInstanceGroupRequest . managedInstanceGroupId } ; const queryParams = { "updateType" : installAllUpdatesOnManagedInstanceGroupRequest . updateType } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : installAllUpdatesOnManagedInstanceGroupRequest . opcRequestId , "opc-retry-token" : installAllUpdatesOnManagedInstanceGroupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , installAllUpdatesOnManagedInstanceGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstanceGroups/{managedInstanceGroupId}/actions/updates/installAll" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . InstallAllUpdatesOnManagedInstanceGroupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param InstallAllWindowsUpdatesOnManagedInstanceRequest return throws example Click  https to see how to use InstallAllWindowsUpdatesOnManagedInstance API.
      public async installAllWindowsUpdatesOnManagedInstance ( installAllWindowsUpdatesOnManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#installAllWindowsUpdatesOnManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : installAllWindowsUpdatesOnManagedInstanceRequest . managedInstanceId } ; const queryParams = { "updateType" : installAllWindowsUpdatesOnManagedInstanceRequest . updateType } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : installAllWindowsUpdatesOnManagedInstanceRequest . opcRequestId , "opc-retry-token" : installAllWindowsUpdatesOnManagedInstanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , installAllWindowsUpdatesOnManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/actions/updates/installAll" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . InstallAllWindowsUpdatesOnManagedInstanceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param InstallPackageOnManagedInstanceRequest return throws example Click  https to see how to use InstallPackageOnManagedInstance API.
      public async installPackageOnManagedInstance ( installPackageOnManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#installPackageOnManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : installPackageOnManagedInstanceRequest . managedInstanceId } ; const queryParams = { "softwarePackageName" : installPackageOnManagedInstanceRequest . softwarePackageName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : installPackageOnManagedInstanceRequest . opcRequestId , "opc-retry-token" : installPackageOnManagedInstanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , installPackageOnManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/actions/packages/install" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . InstallPackageOnManagedInstanceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param InstallPackageUpdateOnManagedInstanceRequest return throws example Click  https to see how to use InstallPackageUpdateOnManagedInstance API.
      public async installPackageUpdateOnManagedInstance ( installPackageUpdateOnManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#installPackageUpdateOnManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : installPackageUpdateOnManagedInstanceRequest . managedInstanceId } ; const queryParams = { "softwarePackageName" : installPackageUpdateOnManagedInstanceRequest . softwarePackageName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : installPackageUpdateOnManagedInstanceRequest . opcRequestId , "opc-retry-token" : installPackageUpdateOnManagedInstanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , installPackageUpdateOnManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/actions/packages/update" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . InstallPackageUpdateOnManagedInstanceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param InstallWindowsUpdateOnManagedInstanceRequest return throws example Click  https to see how to use InstallWindowsUpdateOnManagedInstance API.
      public async installWindowsUpdateOnManagedInstance ( installWindowsUpdateOnManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#installWindowsUpdateOnManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : installWindowsUpdateOnManagedInstanceRequest . managedInstanceId } ; const queryParams = { "windowsUpdateName" : installWindowsUpdateOnManagedInstanceRequest . windowsUpdateName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : installWindowsUpdateOnManagedInstanceRequest . opcRequestId , "opc-retry-token" : installWindowsUpdateOnManagedInstanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , installWindowsUpdateOnManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/actions/updates/install" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . InstallWindowsUpdateOnManagedInstanceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListAvailablePackagesForManagedInstanceRequest return throws example Click  https to see how to use ListAvailablePackagesForManagedInstance API.
      public async listAvailablePackagesForManagedInstance ( listAvailablePackagesForManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listAvailablePackagesForManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : listAvailablePackagesForManagedInstanceRequest . managedInstanceId } ; const queryParams = { "displayName" : listAvailablePackagesForManagedInstanceRequest . displayName , "compartmentId" : listAvailablePackagesForManagedInstanceRequest . compartmentId , "limit" : listAvailablePackagesForManagedInstanceRequest . limit , "page" : listAvailablePackagesForManagedInstanceRequest . page , "sortOrder" : listAvailablePackagesForManagedInstanceRequest . sortOrder , "sortBy" : listAvailablePackagesForManagedInstanceRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listAvailablePackagesForManagedInstanceRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAvailablePackagesForManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/packages/available" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAvailablePackagesForManagedInstanceResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . InstallablePackageSummary , type : "Array<model.InstallablePackageSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllAvailablePackagesForManagedInstance ( request ) { return paginateRecords ( request , req => this . listAvailablePackagesForManagedInstance ( req ) ) ; } param request public listAllAvailablePackagesForManagedInstanceResponses ( request ) { return paginateResponses ( request , req => this . listAvailablePackagesForManagedInstance ( req ) ) ; } param request public listAvailablePackagesForManagedInstanceRecordIterator ( request ) { return paginateRecords ( request , req => this . listAvailablePackagesForManagedInstance ( req ) ) ; } param request public listAvailablePackagesForManagedInstanceResponseIterator ( request ) { return paginateResponses ( request , req => this . listAvailablePackagesForManagedInstance ( req ) ) ; } param ListAvailableSoftwareSourcesForManagedInstanceRequest return throws example Click  https to see how to use ListAvailableSoftwareSourcesForManagedInstance API.
      public async listAvailableSoftwareSourcesForManagedInstance ( listAvailableSoftwareSourcesForManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listAvailableSoftwareSourcesForManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : listAvailableSoftwareSourcesForManagedInstanceRequest . managedInstanceId } ; const queryParams = { "displayName" : listAvailableSoftwareSourcesForManagedInstanceRequest . displayName , "compartmentId" : listAvailableSoftwareSourcesForManagedInstanceRequest . compartmentId , "limit" : listAvailableSoftwareSourcesForManagedInstanceRequest . limit , "page" : listAvailableSoftwareSourcesForManagedInstanceRequest . page , "sortOrder" : listAvailableSoftwareSourcesForManagedInstanceRequest . sortOrder , "sortBy" : listAvailableSoftwareSourcesForManagedInstanceRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listAvailableSoftwareSourcesForManagedInstanceRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAvailableSoftwareSourcesForManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/availableSoftwareSources" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAvailableSoftwareSourcesForManagedInstanceResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . AvailableSoftwareSourceSummary , type : "Array<model.AvailableSoftwareSourceSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllAvailableSoftwareSourcesForManagedInstance ( request ) { return paginateRecords ( request , req => this . listAvailableSoftwareSourcesForManagedInstance ( req ) ) ; } param request public listAllAvailableSoftwareSourcesForManagedInstanceResponses ( request ) { return paginateResponses ( request , req => this . listAvailableSoftwareSourcesForManagedInstance ( req ) ) ; } param request public listAvailableSoftwareSourcesForManagedInstanceRecordIterator ( request ) { return paginateRecords ( request , req => this . listAvailableSoftwareSourcesForManagedInstance ( req ) ) ; } param request public listAvailableSoftwareSourcesForManagedInstanceResponseIterator ( request ) { return paginateResponses ( request , req => this . listAvailableSoftwareSourcesForManagedInstance ( req ) ) ; } param ListAvailableUpdatesForManagedInstanceRequest return throws example Click  https to see how to use ListAvailableUpdatesForManagedInstance API.
      public async listAvailableUpdatesForManagedInstance ( listAvailableUpdatesForManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listAvailableUpdatesForManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : listAvailableUpdatesForManagedInstanceRequest . managedInstanceId } ; const queryParams = { "displayName" : listAvailableUpdatesForManagedInstanceRequest . displayName , "compartmentId" : listAvailableUpdatesForManagedInstanceRequest . compartmentId , "limit" : listAvailableUpdatesForManagedInstanceRequest . limit , "page" : listAvailableUpdatesForManagedInstanceRequest . page , "sortOrder" : listAvailableUpdatesForManagedInstanceRequest . sortOrder , "sortBy" : listAvailableUpdatesForManagedInstanceRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listAvailableUpdatesForManagedInstanceRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAvailableUpdatesForManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/packages/updates" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAvailableUpdatesForManagedInstanceResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . AvailableUpdateSummary , type : "Array<model.AvailableUpdateSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllAvailableUpdatesForManagedInstance ( request ) { return paginateRecords ( request , req => this . listAvailableUpdatesForManagedInstance ( req ) ) ; } param request public listAllAvailableUpdatesForManagedInstanceResponses ( request ) { return paginateResponses ( request , req => this . listAvailableUpdatesForManagedInstance ( req ) ) ; } param request public listAvailableUpdatesForManagedInstanceRecordIterator ( request ) { return paginateRecords ( request , req => this . listAvailableUpdatesForManagedInstance ( req ) ) ; } param request public listAvailableUpdatesForManagedInstanceResponseIterator ( request ) { return paginateResponses ( request , req => this . listAvailableUpdatesForManagedInstance ( req ) ) ; } param ListAvailableWindowsUpdatesForManagedInstanceRequest return throws example Click  https to see how to use ListAvailableWindowsUpdatesForManagedInstance API.
      public async listAvailableWindowsUpdatesForManagedInstance ( listAvailableWindowsUpdatesForManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listAvailableWindowsUpdatesForManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : listAvailableWindowsUpdatesForManagedInstanceRequest . managedInstanceId } ; const queryParams = { "displayName" : listAvailableWindowsUpdatesForManagedInstanceRequest . displayName , "compartmentId" : listAvailableWindowsUpdatesForManagedInstanceRequest . compartmentId , "limit" : listAvailableWindowsUpdatesForManagedInstanceRequest . limit , "page" : listAvailableWindowsUpdatesForManagedInstanceRequest . page , "sortOrder" : listAvailableWindowsUpdatesForManagedInstanceRequest . sortOrder , "sortBy" : listAvailableWindowsUpdatesForManagedInstanceRequest . sortBy , "isEligibleForInstallation" : listAvailableWindowsUpdatesForManagedInstanceRequest . isEligibleForInstallation } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listAvailableWindowsUpdatesForManagedInstanceRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAvailableWindowsUpdatesForManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/updates/available" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAvailableWindowsUpdatesForManagedInstanceResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . AvailableWindowsUpdateSummary , type : "Array<model.AvailableWindowsUpdateSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllAvailableWindowsUpdatesForManagedInstance ( request ) { return paginateRecords ( request , req => this . listAvailableWindowsUpdatesForManagedInstance ( req ) ) ; } param request public listAllAvailableWindowsUpdatesForManagedInstanceResponses ( request ) { return paginateResponses ( request , req => this . listAvailableWindowsUpdatesForManagedInstance ( req ) ) ; } param request public listAvailableWindowsUpdatesForManagedInstanceRecordIterator ( request ) { return paginateRecords ( request , req => this . listAvailableWindowsUpdatesForManagedInstance ( req ) ) ; } param request public listAvailableWindowsUpdatesForManagedInstanceResponseIterator ( request ) { return paginateResponses ( request , req => this . listAvailableWindowsUpdatesForManagedInstance ( req ) ) ; } param ListErrataRequest return throws example Click  https to see how to use ListErrata API.
      public async listErrata ( listErrataRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listErrata." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listErrataRequest . compartmentId , "erratumId" : listErrataRequest . erratumId , "advisoryName" : listErrataRequest . advisoryName , "timeIssueDateStart" : listErrataRequest . timeIssueDateStart , "timeIssueDateEnd" : listErrataRequest . timeIssueDateEnd , "limit" : listErrataRequest . limit , "page" : listErrataRequest . page , "sortOrder" : listErrataRequest . sortOrder , "sortBy" : listErrataRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listErrataRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listErrataRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/errata" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListErrataResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ErratumSummary , type : "Array<model.ErratumSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllErrata ( request ) { return paginateRecords ( request , req => this . listErrata ( req ) ) ; } param request public listAllErrataResponses ( request ) { return paginateResponses ( request , req => this . listErrata ( req ) ) ; } param request public listErrataRecordIterator ( request ) { return paginateRecords ( request , req => this . listErrata ( req ) ) ; } param request public listErrataResponseIterator ( request ) { return paginateResponses ( request , req => this . listErrata ( req ) ) ; } param ListManagedInstanceErrataRequest return throws example Click  https to see how to use ListManagedInstanceErrata API.
      public async listManagedInstanceErrata ( listManagedInstanceErrataRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listManagedInstanceErrata." ) ; const pathParams = { "{managedInstanceId}" : listManagedInstanceErrataRequest . managedInstanceId } ; const queryParams = { "displayName" : listManagedInstanceErrataRequest . displayName , "compartmentId" : listManagedInstanceErrataRequest . compartmentId , "limit" : listManagedInstanceErrataRequest . limit , "page" : listManagedInstanceErrataRequest . page , "sortOrder" : listManagedInstanceErrataRequest . sortOrder , "sortBy" : listManagedInstanceErrataRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listManagedInstanceErrataRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listManagedInstanceErrataRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/errata" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListManagedInstanceErrataResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ErratumSummary , type : "Array<model.ErratumSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllManagedInstanceErrata ( request ) { return paginateRecords ( request , req => this . listManagedInstanceErrata ( req ) ) ; } param request public listAllManagedInstanceErrataResponses ( request ) { return paginateResponses ( request , req => this . listManagedInstanceErrata ( req ) ) ; } param request public listManagedInstanceErrataRecordIterator ( request ) { return paginateRecords ( request , req => this . listManagedInstanceErrata ( req ) ) ; } param request public listManagedInstanceErrataResponseIterator ( request ) { return paginateResponses ( request , req => this . listManagedInstanceErrata ( req ) ) ; } param ListManagedInstanceGroupsRequest return throws example Click  https to see how to use ListManagedInstanceGroups API.
      public async listManagedInstanceGroups ( listManagedInstanceGroupsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listManagedInstanceGroups." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listManagedInstanceGroupsRequest . compartmentId , "displayName" : listManagedInstanceGroupsRequest . displayName , "limit" : listManagedInstanceGroupsRequest . limit , "page" : listManagedInstanceGroupsRequest . page , "sortOrder" : listManagedInstanceGroupsRequest . sortOrder , "sortBy" : listManagedInstanceGroupsRequest . sortBy , "lifecycleState" : listManagedInstanceGroupsRequest . lifecycleState , "osFamily" : listManagedInstanceGroupsRequest . osFamily } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listManagedInstanceGroupsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listManagedInstanceGroupsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstanceGroups" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListManagedInstanceGroupsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ManagedInstanceGroupSummary , type : "Array<model.ManagedInstanceGroupSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllManagedInstanceGroups ( request ) { return paginateRecords ( request , req => this . listManagedInstanceGroups ( req ) ) ; } param request public listAllManagedInstanceGroupsResponses ( request ) { return paginateResponses ( request , req => this . listManagedInstanceGroups ( req ) ) ; } param request public listManagedInstanceGroupsRecordIterator ( request ) { return paginateRecords ( request , req => this . listManagedInstanceGroups ( req ) ) ; } param request public listManagedInstanceGroupsResponseIterator ( request ) { return paginateResponses ( request , req => this . listManagedInstanceGroups ( req ) ) ; } param ListManagedInstancesRequest return throws example Click  https to see how to use ListManagedInstances API.
      public async listManagedInstances ( listManagedInstancesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listManagedInstances." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listManagedInstancesRequest . compartmentId , "displayName" : listManagedInstancesRequest . displayName , "limit" : listManagedInstancesRequest . limit , "page" : listManagedInstancesRequest . page , "sortOrder" : listManagedInstancesRequest . sortOrder , "sortBy" : listManagedInstancesRequest . sortBy , "osFamily" : listManagedInstancesRequest . osFamily } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listManagedInstancesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listManagedInstancesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListManagedInstancesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ManagedInstanceSummary , type : "Array<model.ManagedInstanceSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllManagedInstances ( request ) { return paginateRecords ( request , req => this . listManagedInstances ( req ) ) ; } param request public listAllManagedInstancesResponses ( request ) { return paginateResponses ( request , req => this . listManagedInstances ( req ) ) ; } param request public listManagedInstancesRecordIterator ( request ) { return paginateRecords ( request , req => this . listManagedInstances ( req ) ) ; } param request public listManagedInstancesResponseIterator ( request ) { return paginateResponses ( request , req => this . listManagedInstances ( req ) ) ; } param ListPackagesInstalledOnManagedInstanceRequest return throws example Click  https to see how to use ListPackagesInstalledOnManagedInstance API.
      public async listPackagesInstalledOnManagedInstance ( listPackagesInstalledOnManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listPackagesInstalledOnManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : listPackagesInstalledOnManagedInstanceRequest . managedInstanceId } ; const queryParams = { "displayName" : listPackagesInstalledOnManagedInstanceRequest . displayName , "compartmentId" : listPackagesInstalledOnManagedInstanceRequest . compartmentId , "limit" : listPackagesInstalledOnManagedInstanceRequest . limit , "page" : listPackagesInstalledOnManagedInstanceRequest . page , "sortOrder" : listPackagesInstalledOnManagedInstanceRequest . sortOrder , "sortBy" : listPackagesInstalledOnManagedInstanceRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listPackagesInstalledOnManagedInstanceRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listPackagesInstalledOnManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/packages" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListPackagesInstalledOnManagedInstanceResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . InstalledPackageSummary , type : "Array<model.InstalledPackageSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllPackagesInstalledOnManagedInstance ( request ) { return paginateRecords ( request , req => this . listPackagesInstalledOnManagedInstance ( req ) ) ; } param request public listAllPackagesInstalledOnManagedInstanceResponses ( request ) { return paginateResponses ( request , req => this . listPackagesInstalledOnManagedInstance ( req ) ) ; } param request public listPackagesInstalledOnManagedInstanceRecordIterator ( request ) { return paginateRecords ( request , req => this . listPackagesInstalledOnManagedInstance ( req ) ) ; } param request public listPackagesInstalledOnManagedInstanceResponseIterator ( request ) { return paginateResponses ( request , req => this . listPackagesInstalledOnManagedInstance ( req ) ) ; } param ListScheduledJobsRequest return throws example Click  https to see how to use ListScheduledJobs API.
      public async listScheduledJobs ( listScheduledJobsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listScheduledJobs." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listScheduledJobsRequest . compartmentId , "displayName" : listScheduledJobsRequest . displayName , "managedInstanceId" : listScheduledJobsRequest . managedInstanceId , "managedInstanceGroupId" : listScheduledJobsRequest . managedInstanceGroupId , "operationType" : listScheduledJobsRequest . operationType , "limit" : listScheduledJobsRequest . limit , "page" : listScheduledJobsRequest . page , "sortOrder" : listScheduledJobsRequest . sortOrder , "sortBy" : listScheduledJobsRequest . sortBy , "lifecycleState" : listScheduledJobsRequest . lifecycleState , "osFamily" : listScheduledJobsRequest . osFamily , "isRestricted" : listScheduledJobsRequest . isRestricted } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listScheduledJobsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listScheduledJobsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/scheduledJobs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListScheduledJobsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ScheduledJobSummary , type : "Array<model.ScheduledJobSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllScheduledJobs ( request ) { return paginateRecords ( request , req => this . listScheduledJobs ( req ) ) ; } param request public listAllScheduledJobsResponses ( request ) { return paginateResponses ( request , req => this . listScheduledJobs ( req ) ) ; } param request public listScheduledJobsRecordIterator ( request ) { return paginateRecords ( request , req => this . listScheduledJobs ( req ) ) ; } param request public listScheduledJobsResponseIterator ( request ) { return paginateResponses ( request , req => this . listScheduledJobs ( req ) ) ; } param ListSoftwareSourcePackagesRequest return throws example Click  https to see how to use ListSoftwareSourcePackages API.
      public async listSoftwareSourcePackages ( listSoftwareSourcePackagesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listSoftwareSourcePackages." ) ; const pathParams = { "{softwareSourceId}" : listSoftwareSourcePackagesRequest . softwareSourceId } ; const queryParams = { "compartmentId" : listSoftwareSourcePackagesRequest . compartmentId , "displayName" : listSoftwareSourcePackagesRequest . displayName , "limit" : listSoftwareSourcePackagesRequest . limit , "page" : listSoftwareSourcePackagesRequest . page , "sortOrder" : listSoftwareSourcePackagesRequest . sortOrder , "sortBy" : listSoftwareSourcePackagesRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listSoftwareSourcePackagesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listSoftwareSourcePackagesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/softwareSources/{softwareSourceId}/softwarePackages" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListSoftwareSourcePackagesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . SoftwarePackageSummary , type : "Array<model.SoftwarePackageSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllSoftwareSourcePackages ( request ) { return paginateRecords ( request , req => this . listSoftwareSourcePackages ( req ) ) ; } param request public listAllSoftwareSourcePackagesResponses ( request ) { return paginateResponses ( request , req => this . listSoftwareSourcePackages ( req ) ) ; } param request public listSoftwareSourcePackagesRecordIterator ( request ) { return paginateRecords ( request , req => this . listSoftwareSourcePackages ( req ) ) ; } param request public listSoftwareSourcePackagesResponseIterator ( request ) { return paginateResponses ( request , req => this . listSoftwareSourcePackages ( req ) ) ; } param ListSoftwareSourcesRequest return throws example Click  https to see how to use ListSoftwareSources API.
      public async listSoftwareSources ( listSoftwareSourcesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listSoftwareSources." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listSoftwareSourcesRequest . compartmentId , "displayName" : listSoftwareSourcesRequest . displayName , "limit" : listSoftwareSourcesRequest . limit , "page" : listSoftwareSourcesRequest . page , "sortOrder" : listSoftwareSourcesRequest . sortOrder , "sortBy" : listSoftwareSourcesRequest . sortBy , "lifecycleState" : listSoftwareSourcesRequest . lifecycleState } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listSoftwareSourcesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listSoftwareSourcesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/softwareSources" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListSoftwareSourcesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . SoftwareSourceSummary , type : "Array<model.SoftwareSourceSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllSoftwareSources ( request ) { return paginateRecords ( request , req => this . listSoftwareSources ( req ) ) ; } param request public listAllSoftwareSourcesResponses ( request ) { return paginateResponses ( request , req => this . listSoftwareSources ( req ) ) ; } param request public listSoftwareSourcesRecordIterator ( request ) { return paginateRecords ( request , req => this . listSoftwareSources ( req ) ) ; } param request public listSoftwareSourcesResponseIterator ( request ) { return paginateResponses ( request , req => this . listSoftwareSources ( req ) ) ; } param ListUpcomingScheduledJobsRequest return throws example Click  https to see how to use ListUpcomingScheduledJobs API.
      public async listUpcomingScheduledJobs ( listUpcomingScheduledJobsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listUpcomingScheduledJobs." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listUpcomingScheduledJobsRequest . compartmentId , "displayName" : listUpcomingScheduledJobsRequest . displayName , "timeEnd" : listUpcomingScheduledJobsRequest . timeEnd , "limit" : listUpcomingScheduledJobsRequest . limit , "page" : listUpcomingScheduledJobsRequest . page , "sortOrder" : listUpcomingScheduledJobsRequest . sortOrder , "sortBy" : listUpcomingScheduledJobsRequest . sortBy , "tagName" : listUpcomingScheduledJobsRequest . tagName , "tagValue" : listUpcomingScheduledJobsRequest . tagValue , "lifecycleState" : listUpcomingScheduledJobsRequest . lifecycleState , "osFamily" : listUpcomingScheduledJobsRequest . osFamily } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listUpcomingScheduledJobsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listUpcomingScheduledJobsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/scheduledJobs/upcomingSchedules" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListUpcomingScheduledJobsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . ScheduledJobSummary , type : "Array<model.ScheduledJobSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllUpcomingScheduledJobs ( request ) { return paginateRecords ( request , req => this . listUpcomingScheduledJobs ( req ) ) ; } param request public listAllUpcomingScheduledJobsResponses ( request ) { return paginateResponses ( request , req => this . listUpcomingScheduledJobs ( req ) ) ; } param request public listUpcomingScheduledJobsRecordIterator ( request ) { return paginateRecords ( request , req => this . listUpcomingScheduledJobs ( req ) ) ; } param request public listUpcomingScheduledJobsResponseIterator ( request ) { return paginateResponses ( request , req => this . listUpcomingScheduledJobs ( req ) ) ; } param ListWindowsUpdatesRequest return throws example Click  https to see how to use ListWindowsUpdates API.
      public async listWindowsUpdates ( listWindowsUpdatesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listWindowsUpdates." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listWindowsUpdatesRequest . compartmentId , "displayName" : listWindowsUpdatesRequest . displayName , "limit" : listWindowsUpdatesRequest . limit , "page" : listWindowsUpdatesRequest . page , "sortOrder" : listWindowsUpdatesRequest . sortOrder , "sortBy" : listWindowsUpdatesRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWindowsUpdatesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWindowsUpdatesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/updates" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWindowsUpdatesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WindowsUpdateSummary , type : "Array<model.WindowsUpdateSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWindowsUpdates ( request ) { return paginateRecords ( request , req => this . listWindowsUpdates ( req ) ) ; } param request public listAllWindowsUpdatesResponses ( request ) { return paginateResponses ( request , req => this . listWindowsUpdates ( req ) ) ; } param request public listWindowsUpdatesRecordIterator ( request ) { return paginateRecords ( request , req => this . listWindowsUpdates ( req ) ) ; } param request public listWindowsUpdatesResponseIterator ( request ) { return paginateResponses ( request , req => this . listWindowsUpdates ( req ) ) ; } param ListWindowsUpdatesInstalledOnManagedInstanceRequest return throws example Click  https to see how to use ListWindowsUpdatesInstalledOnManagedInstance API.
      public async listWindowsUpdatesInstalledOnManagedInstance ( listWindowsUpdatesInstalledOnManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listWindowsUpdatesInstalledOnManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : listWindowsUpdatesInstalledOnManagedInstanceRequest . managedInstanceId } ; const queryParams = { "displayName" : listWindowsUpdatesInstalledOnManagedInstanceRequest . displayName , "compartmentId" : listWindowsUpdatesInstalledOnManagedInstanceRequest . compartmentId , "limit" : listWindowsUpdatesInstalledOnManagedInstanceRequest . limit , "page" : listWindowsUpdatesInstalledOnManagedInstanceRequest . page , "sortOrder" : listWindowsUpdatesInstalledOnManagedInstanceRequest . sortOrder , "sortBy" : listWindowsUpdatesInstalledOnManagedInstanceRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWindowsUpdatesInstalledOnManagedInstanceRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWindowsUpdatesInstalledOnManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/updates/installed" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWindowsUpdatesInstalledOnManagedInstanceResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . InstalledWindowsUpdateSummary , type : "Array<model.InstalledWindowsUpdateSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWindowsUpdatesInstalledOnManagedInstance ( request ) { return paginateRecords ( request , req => this . listWindowsUpdatesInstalledOnManagedInstance ( req ) ) ; } param request public listAllWindowsUpdatesInstalledOnManagedInstanceResponses ( request ) { return paginateResponses ( request , req => this . listWindowsUpdatesInstalledOnManagedInstance ( req ) ) ; } param request public listWindowsUpdatesInstalledOnManagedInstanceRecordIterator ( request ) { return paginateRecords ( request , req => this . listWindowsUpdatesInstalledOnManagedInstance ( req ) ) ; } param request public listWindowsUpdatesInstalledOnManagedInstanceResponseIterator ( request ) { return paginateResponses ( request , req => this . listWindowsUpdatesInstalledOnManagedInstance ( req ) ) ; } param ListWorkRequestErrorsRequest return throws example Click  https to see how to use ListWorkRequestErrors API.
      public async listWorkRequestErrors ( listWorkRequestErrorsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listWorkRequestErrors." ) ; const pathParams = { "{workRequestId}" : listWorkRequestErrorsRequest . workRequestId } ; const queryParams = { "limit" : listWorkRequestErrorsRequest . limit , "page" : listWorkRequestErrorsRequest . page , "sortOrder" : listWorkRequestErrorsRequest . sortOrder , "sortBy" : listWorkRequestErrorsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestErrorsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestErrorsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}/errors" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestErrorsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequestError , type : "Array<model.WorkRequestError>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWorkRequestErrors ( request ) { return paginateRecords ( request , req => this . listWorkRequestErrors ( req ) ) ; } param request public listAllWorkRequestErrorsResponses ( request ) { return paginateResponses ( request , req => this . listWorkRequestErrors ( req ) ) ; } param request public listWorkRequestErrorsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWorkRequestErrors ( req ) ) ; } param request public listWorkRequestErrorsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWorkRequestErrors ( req ) ) ; } param ListWorkRequestLogsRequest return throws example Click  https to see how to use ListWorkRequestLogs API.
      public async listWorkRequestLogs ( listWorkRequestLogsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listWorkRequestLogs." ) ; const pathParams = { "{workRequestId}" : listWorkRequestLogsRequest . workRequestId } ; const queryParams = { "limit" : listWorkRequestLogsRequest . limit , "page" : listWorkRequestLogsRequest . page , "sortOrder" : listWorkRequestLogsRequest . sortOrder , "sortBy" : listWorkRequestLogsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestLogsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestLogsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}/logs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestLogsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequestLogEntry , type : "Array<model.WorkRequestLogEntry>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWorkRequestLogs ( request ) { return paginateRecords ( request , req => this . listWorkRequestLogs ( req ) ) ; } param request public listAllWorkRequestLogsResponses ( request ) { return paginateResponses ( request , req => this . listWorkRequestLogs ( req ) ) ; } param request public listWorkRequestLogsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWorkRequestLogs ( req ) ) ; } param request public listWorkRequestLogsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWorkRequestLogs ( req ) ) ; } param ListWorkRequestsRequest return throws example Click  https to see how to use ListWorkRequests API.
      public async listWorkRequests ( listWorkRequestsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#listWorkRequests." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listWorkRequestsRequest . compartmentId , "displayName" : listWorkRequestsRequest . displayName , "managedInstanceId" : listWorkRequestsRequest . managedInstanceId , "limit" : listWorkRequestsRequest . limit , "page" : listWorkRequestsRequest . page , "sortOrder" : listWorkRequestsRequest . sortOrder , "sortBy" : listWorkRequestsRequest . sortBy , "osFamily" : listWorkRequestsRequest . osFamily } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestsResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . WorkRequestSummary , type : "Array<model.WorkRequestSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public listAllWorkRequests ( request ) { return paginateRecords ( request , req => this . listWorkRequests ( req ) ) ; } param request public listAllWorkRequestsResponses ( request ) { return paginateResponses ( request , req => this . listWorkRequests ( req ) ) ; } param request public listWorkRequestsRecordIterator ( request ) { return paginateRecords ( request , req => this . listWorkRequests ( req ) ) ; } param request public listWorkRequestsResponseIterator ( request ) { return paginateResponses ( request , req => this . listWorkRequests ( req ) ) ; } param RemovePackageFromManagedInstanceRequest return throws example Click  https to see how to use RemovePackageFromManagedInstance API.
      public async removePackageFromManagedInstance ( removePackageFromManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#removePackageFromManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : removePackageFromManagedInstanceRequest . managedInstanceId } ; const queryParams = { "softwarePackageName" : removePackageFromManagedInstanceRequest . softwarePackageName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : removePackageFromManagedInstanceRequest . opcRequestId , "opc-retry-token" : removePackageFromManagedInstanceRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , removePackageFromManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}/actions/packages/remove" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RemovePackageFromManagedInstanceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param RemovePackagesFromSoftwareSourceRequest return throws example Click  https to see how to use RemovePackagesFromSoftwareSource API.
      public async removePackagesFromSoftwareSource ( removePackagesFromSoftwareSourceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#removePackagesFromSoftwareSource." ) ; const pathParams = { "{softwareSourceId}" : removePackagesFromSoftwareSourceRequest . softwareSourceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : removePackagesFromSoftwareSourceRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , removePackagesFromSoftwareSourceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/softwareSources/{softwareSourceId}/actions/removePackages" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( removePackagesFromSoftwareSourceRequest . removePackagesFromSoftwareSourceDetails , "RemovePackagesFromSoftwareSourceDetails" , model . RemovePackagesFromSoftwareSourceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RemovePackagesFromSoftwareSourceResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param RunScheduledJobNowRequest return throws example Click  https to see how to use RunScheduledJobNow API.
      public async runScheduledJobNow ( runScheduledJobNowRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#runScheduledJobNow." ) ; const pathParams = { "{scheduledJobId}" : runScheduledJobNowRequest . scheduledJobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : runScheduledJobNowRequest . opcRequestId , "if-match" : runScheduledJobNowRequest . ifMatch , "opc-retry-token" : runScheduledJobNowRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , runScheduledJobNowRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/scheduledJobs/{scheduledJobId}/actions/runNow" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RunScheduledJobNowResponse > { } , 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 SearchSoftwarePackagesRequest return throws example Click  https to see how to use SearchSoftwarePackages API.
      public async searchSoftwarePackages ( searchSoftwarePackagesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#searchSoftwarePackages." ) ; const pathParams = { } ; const queryParams = { "softwarePackageName" : searchSoftwarePackagesRequest . softwarePackageName , "displayName" : searchSoftwarePackagesRequest . displayName , "cveName" : searchSoftwarePackagesRequest . cveName , "limit" : searchSoftwarePackagesRequest . limit , "page" : searchSoftwarePackagesRequest . page , "sortOrder" : searchSoftwarePackagesRequest . sortOrder , "sortBy" : searchSoftwarePackagesRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : searchSoftwarePackagesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , searchSoftwarePackagesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/softwareSources/softwarePackages" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SearchSoftwarePackagesResponse > { } , body : await response . json ( ) , bodyKey : "items" , bodyModel : model . SoftwarePackageSearchSummary , type : "Array<model.SoftwarePackageSearchSummary>" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param request public searchAllSoftwarePackages ( request ) { return paginateRecords ( request , req => this . searchSoftwarePackages ( req ) ) ; } param request public searchAllSoftwarePackagesResponses ( request ) { return paginateResponses ( request , req => this . searchSoftwarePackages ( req ) ) ; } param request public searchSoftwarePackagesRecordIterator ( request ) { return paginateRecords ( request , req => this . searchSoftwarePackages ( req ) ) ; } param request public searchSoftwarePackagesResponseIterator ( request ) { return paginateResponses ( request , req => this . searchSoftwarePackages ( req ) ) ; } param SkipNextScheduledJobExecutionRequest return throws example Click  https to see how to use SkipNextScheduledJobExecution API.
      public async skipNextScheduledJobExecution ( skipNextScheduledJobExecutionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#skipNextScheduledJobExecution." ) ; const pathParams = { "{scheduledJobId}" : skipNextScheduledJobExecutionRequest . scheduledJobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : skipNextScheduledJobExecutionRequest . opcRequestId , "if-match" : skipNextScheduledJobExecutionRequest . ifMatch , "opc-retry-token" : skipNextScheduledJobExecutionRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , skipNextScheduledJobExecutionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/scheduledJobs/{scheduledJobId}/actions/skipNextExecution" , method : "POST" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SkipNextScheduledJobExecutionResponse > { } , 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 UpdateManagedInstanceRequest return throws example Click  https to see how to use UpdateManagedInstance API.
      public async updateManagedInstance ( updateManagedInstanceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#updateManagedInstance." ) ; const pathParams = { "{managedInstanceId}" : updateManagedInstanceRequest . managedInstanceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateManagedInstanceRequest . opcRequestId , "if-match" : updateManagedInstanceRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateManagedInstanceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstances/{managedInstanceId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateManagedInstanceRequest . updateManagedInstanceDetails , "UpdateManagedInstanceDetails" , model . UpdateManagedInstanceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateManagedInstanceResponse > { } , body : await response . json ( ) , bodyKey : "managedInstance" , bodyModel : model . ManagedInstance , type : "model.ManagedInstance" , 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 UpdateManagedInstanceGroupRequest return throws example Click  https to see how to use UpdateManagedInstanceGroup API.
      public async updateManagedInstanceGroup ( updateManagedInstanceGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#updateManagedInstanceGroup." ) ; const pathParams = { "{managedInstanceGroupId}" : updateManagedInstanceGroupRequest . managedInstanceGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateManagedInstanceGroupRequest . opcRequestId , "if-match" : updateManagedInstanceGroupRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateManagedInstanceGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedInstanceGroups/{managedInstanceGroupId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateManagedInstanceGroupRequest . updateManagedInstanceGroupDetails , "UpdateManagedInstanceGroupDetails" , model . UpdateManagedInstanceGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateManagedInstanceGroupResponse > { } , body : await response . json ( ) , bodyKey : "managedInstanceGroup" , bodyModel : model . ManagedInstanceGroup , type : "model.ManagedInstanceGroup" , 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 UpdateScheduledJobRequest return throws example Click  https to see how to use UpdateScheduledJob API.
      public async updateScheduledJob ( updateScheduledJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#updateScheduledJob." ) ; const pathParams = { "{scheduledJobId}" : updateScheduledJobRequest . scheduledJobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateScheduledJobRequest . opcRequestId , "if-match" : updateScheduledJobRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateScheduledJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/scheduledJobs/{scheduledJobId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateScheduledJobRequest . updateScheduledJobDetails , "UpdateScheduledJobDetails" , model . UpdateScheduledJobDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateScheduledJobResponse > { } , body : await response . json ( ) , bodyKey : "scheduledJob" , bodyModel : model . ScheduledJob , type : "model.ScheduledJob" , 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 UpdateSoftwareSourceRequest return throws example Click  https to see how to use UpdateSoftwareSource API.
      public async updateSoftwareSource ( updateSoftwareSourceRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation OsManagementClient#updateSoftwareSource." ) ; const pathParams = { "{softwareSourceId}" : updateSoftwareSourceRequest . softwareSourceId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateSoftwareSourceRequest . opcRequestId , "if-match" : updateSoftwareSourceRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateSoftwareSourceRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/softwareSources/{softwareSourceId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateSoftwareSourceRequest . updateSoftwareSourceDetails , "UpdateSoftwareSourceDetails" , model . UpdateSoftwareSourceDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateSoftwareSourceResponse > { } , body : await response . json ( ) , bodyKey : "softwareSource" , bodyModel : model . SoftwareSource , type : "model.SoftwareSource" , 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 ; } } }