11/**
2- * Application Performance Monitoring (APM) Control Plane API
3- * Provide a set of APIs for tenant to perform operations like create, update, delete and list APM domains, and also
4- work request APIs to monitor progress of these operations.
2+ * Application Performance Monitoring Control Plane API
3+ * Use the Application Performance Monitoring Control Plane API to perform operations such as creating, updating,
4+ deleting and listing APM domains and monitoring the progress of these operations using the work request APIs .
55
66 * OpenAPI spec version: 20200630
77 *
@@ -144,7 +144,7 @@ export class ApmDomainClient {
144144 }
145145
146146 /**
147- * Moves a APM Domain into a different compartment. When provided, If-Match is checked against ETag values of the resource .
147+ * Moves an APM domain into a different compartment. When provided, If-Match is checked against ETag values of the APM domain .
148148 * This operation does not retry by default if the user has not defined a retry configuration.
149149 * @param ChangeApmDomainCompartmentRequest
150150 * @return ChangeApmDomainCompartmentResponse
@@ -215,7 +215,7 @@ export class ApmDomainClient {
215215 }
216216
217217 /**
218- * Creates a new APM Domain .
218+ * Creates a new APM domain .
219219 *
220220 * This operation does not retry by default if the user has not defined a retry configuration.
221221 * @param CreateApmDomainRequest
@@ -283,9 +283,9 @@ export class ApmDomainClient {
283283 }
284284
285285 /**
286- * Delete the specified APM domain asynchronously. The APM domain is placed in the 'Deleting' state and will stop
286+ * Deletes the specified APM domain asynchronously. The APM domain is placed in the 'Deleting' state and will stop
287287 * accepting any operation requests. All resources associated with the APM domain are eventually recovered. Use the
288- * returned work request to track the progress of the background activity to complete deleting the domain.
288+ * returned work request ID to track the progress of the background activity to complete deleting the APM domain.
289289 *
290290 * This operation does not retry by default if the user has not defined a retry configuration.
291291 * @param DeleteApmDomainRequest
@@ -421,7 +421,7 @@ export class ApmDomainClient {
421421 }
422422
423423 /**
424- * Gets details of APM Domain by identifier
424+ * Gets the details of the APM domain specified by OCID.
425425 * This operation does not retry by default if the user has not defined a retry configuration.
426426 * @param GetApmDomainRequest
427427 * @return GetApmDomainResponse
@@ -560,7 +560,7 @@ export class ApmDomainClient {
560560 }
561561
562562 /**
563- * Returns a (paginated) list of work requests related to a specific APM Domain .
563+ * Returns a (paginated) list of work requests related to a specific APM domain .
564564 *
565565 * This operation does not retry by default if the user has not defined a retry configuration.
566566 * @param ListApmDomainWorkRequestsRequest
@@ -577,7 +577,10 @@ export class ApmDomainClient {
577577 "{apmDomainId}" : listApmDomainWorkRequestsRequest . apmDomainId
578578 } ;
579579
580- const queryParams = { } ;
580+ const queryParams = {
581+ "page" : listApmDomainWorkRequestsRequest . page ,
582+ "limit" : listApmDomainWorkRequestsRequest . limit
583+ } ;
581584
582585 let headerParams = {
583586 "Content-Type" : common . Constants . APPLICATION_JSON ,
@@ -629,7 +632,59 @@ export class ApmDomainClient {
629632 }
630633
631634 /**
632- * Lists all APM Domains for the specified tenant compartment.
635+ * NOTE: This function is deprecated in favor of listApmDomainWorkRequestsRecordIterator function.
636+ * Creates a new async iterator which will iterate over the models.WorkRequest objects
637+ * contained in responses from the listApmDomainWorkRequests operation. This iterator will fetch more data from the
638+ * server as needed.
639+ *
640+ * @param request a request which can be sent to the service operation
641+ */
642+ public listAllApmDomainWorkRequests (
643+ request : requests . ListApmDomainWorkRequestsRequest
644+ ) : AsyncIterableIterator < model . WorkRequest > {
645+ return paginateRecords ( request , req => this . listApmDomainWorkRequests ( req ) ) ;
646+ }
647+
648+ /**
649+ * NOTE: This function is deprecated in favor of listApmDomainWorkRequestsResponseIterator function.
650+ * Creates a new async iterator which will iterate over the responses received from the listApmDomainWorkRequests operation. This iterator
651+ * will fetch more data from the server as needed.
652+ *
653+ * @param request a request which can be sent to the service operation
654+ */
655+ public listAllApmDomainWorkRequestsResponses (
656+ request : requests . ListApmDomainWorkRequestsRequest
657+ ) : AsyncIterableIterator < responses . ListApmDomainWorkRequestsResponse > {
658+ return paginateResponses ( request , req => this . listApmDomainWorkRequests ( req ) ) ;
659+ }
660+
661+ /**
662+ * Creates a new async iterator which will iterate over the models.WorkRequest objects
663+ * contained in responses from the listApmDomainWorkRequests operation. This iterator will fetch more data from the
664+ * server as needed.
665+ *
666+ * @param request a request which can be sent to the service operation
667+ */
668+ public listApmDomainWorkRequestsRecordIterator (
669+ request : requests . ListApmDomainWorkRequestsRequest
670+ ) : AsyncIterableIterator < model . WorkRequest > {
671+ return paginateRecords ( request , req => this . listApmDomainWorkRequests ( req ) ) ;
672+ }
673+
674+ /**
675+ * Creates a new async iterator which will iterate over the responses received from the listApmDomainWorkRequests operation. This iterator
676+ * will fetch more data from the server as needed.
677+ *
678+ * @param request a request which can be sent to the service operation
679+ */
680+ public listApmDomainWorkRequestsResponseIterator (
681+ request : requests . ListApmDomainWorkRequestsRequest
682+ ) : AsyncIterableIterator < responses . ListApmDomainWorkRequestsResponse > {
683+ return paginateResponses ( request , req => this . listApmDomainWorkRequests ( req ) ) ;
684+ }
685+
686+ /**
687+ * Lists all APM domains for the specified tenant compartment.
633688 *
634689 * This operation does not retry by default if the user has not defined a retry configuration.
635690 * @param ListApmDomainsRequest
@@ -755,7 +810,7 @@ export class ApmDomainClient {
755810 }
756811
757812 /**
758- * Lists all Data Keys for the specified APM Domain . The caller may filter the list by specifying the 'dataKeyType'
813+ * Lists all Data Keys for the specified APM domain . The caller may filter the list by specifying the 'dataKeyType'
759814 * query parameter.
760815 *
761816 * This operation does not retry by default if the user has not defined a retry configuration.
@@ -821,7 +876,7 @@ export class ApmDomainClient {
821876 }
822877
823878 /**
824- * Return a (paginated) list of errors for a given work request.
879+ * Returns a (paginated) list of errors for a given work request.
825880 *
826881 * This operation does not retry by default if the user has not defined a retry configuration.
827882 * @param ListWorkRequestErrorsRequest
@@ -944,7 +999,7 @@ export class ApmDomainClient {
944999 }
9451000
9461001 /**
947- * Return a (paginated) list of logs for a given work request.
1002+ * Returns a (paginated) list of logs for a given work request.
9481003 *
9491004 * This operation does not retry by default if the user has not defined a retry configuration.
9501005 * @param ListWorkRequestLogsRequest
@@ -1260,7 +1315,7 @@ export class ApmDomainClient {
12601315 }
12611316
12621317 /**
1263- * Update the APM domain when it is ready and active .
1318+ * Updates the APM domain.
12641319 * This operation does not retry by default if the user has not defined a retry configuration.
12651320 * @param UpdateApmDomainRequest
12661321 * @return UpdateApmDomainResponse
0 commit comments