oci-managementagent 2.4.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +6 -0
- package/lib/client.d.ts +203 -21
- package/lib/client.js +382 -43
- package/lib/client.js.map +1 -1
- package/lib/model/auto-upgradable-config.d.ts +25 -0
- package/lib/model/auto-upgradable-config.js +29 -0
- package/lib/model/auto-upgradable-config.js.map +1 -0
- package/lib/model/index.d.ts +6 -0
- package/lib/model/index.js +7 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/install-types.d.ts +28 -0
- package/lib/model/install-types.js +39 -0
- package/lib/model/install-types.js.map +1 -0
- package/lib/model/management-agent-aggregation-dimensions.d.ts +4 -0
- package/lib/model/management-agent-aggregation-dimensions.js.map +1 -1
- package/lib/model/management-agent-plugin-aggregation-dimensions.d.ts +4 -0
- package/lib/model/management-agent-plugin-aggregation-dimensions.js.map +1 -1
- package/lib/model/management-agent-summary.d.ts +14 -1
- package/lib/model/management-agent-summary.js.map +1 -1
- package/lib/model/management-agent.d.ts +14 -1
- package/lib/model/management-agent.js.map +1 -1
- package/lib/model/set-auto-upgradable-config-details.d.ts +29 -0
- package/lib/model/set-auto-upgradable-config-details.js +29 -0
- package/lib/model/set-auto-upgradable-config-details.js.map +1 -0
- package/lib/model/update-management-agent-details.d.ts +0 -4
- package/lib/model/update-management-agent-details.js.map +1 -1
- package/lib/request/create-management-agent-install-key-request.d.ts +1 -1
- package/lib/request/delete-management-agent-install-key-request.d.ts +1 -1
- package/lib/request/delete-management-agent-request.d.ts +1 -1
- package/lib/request/delete-work-request-request.d.ts +1 -1
- package/lib/request/deploy-plugins-request.d.ts +1 -1
- package/lib/request/get-auto-upgradable-config-request.d.ts +26 -0
- package/lib/request/get-auto-upgradable-config-request.js +15 -0
- package/lib/request/get-auto-upgradable-config-request.js.map +1 -0
- package/lib/request/get-management-agent-install-key-content-request.d.ts +1 -1
- package/lib/request/get-management-agent-install-key-request.d.ts +1 -1
- package/lib/request/get-management-agent-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +4 -0
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-availability-histories-request.d.ts +1 -1
- package/lib/request/list-management-agent-images-request.d.ts +5 -1
- package/lib/request/list-management-agent-images-request.js.map +1 -1
- package/lib/request/list-management-agent-install-keys-request.d.ts +1 -1
- package/lib/request/list-management-agent-plugins-request.d.ts +1 -1
- package/lib/request/list-management-agents-request.d.ts +5 -1
- package/lib/request/list-management-agents-request.js.map +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/set-auto-upgradable-config-request.d.ts +36 -0
- package/lib/request/set-auto-upgradable-config-request.js +15 -0
- package/lib/request/set-auto-upgradable-config-request.js.map +1 -0
- package/lib/request/summarize-management-agent-counts-request.d.ts +5 -1
- package/lib/request/summarize-management-agent-plugin-counts-request.d.ts +1 -1
- package/lib/request/update-management-agent-install-key-request.d.ts +1 -1
- package/lib/request/update-management-agent-request.d.ts +1 -1
- package/lib/response/get-auto-upgradable-config-response.d.ts +25 -0
- package/lib/response/get-auto-upgradable-config-response.js +15 -0
- package/lib/response/get-auto-upgradable-config-response.js.map +1 -0
- package/lib/response/index.d.ts +4 -0
- package/lib/response/set-auto-upgradable-config-response.d.ts +25 -0
- package/lib/response/set-auto-upgradable-config-response.js +15 -0
- package/lib/response/set-auto-upgradable-config-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -52,6 +52,9 @@ const oci_common_2 = require("oci-common");
|
|
|
52
52
|
var ManagementAgentApiKeys;
|
|
53
53
|
(function (ManagementAgentApiKeys) {
|
|
54
54
|
})(ManagementAgentApiKeys = exports.ManagementAgentApiKeys || (exports.ManagementAgentApiKeys = {}));
|
|
55
|
+
/**
|
|
56
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
57
|
+
*/
|
|
55
58
|
class ManagementAgentClient {
|
|
56
59
|
constructor(params, clientConfiguration) {
|
|
57
60
|
this["_endpoint"] = "";
|
|
@@ -66,6 +69,13 @@ class ManagementAgentClient {
|
|
|
66
69
|
? clientConfiguration.circuitBreaker.circuit
|
|
67
70
|
: null;
|
|
68
71
|
}
|
|
72
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
73
|
+
const specCircuitBreakerEnabled = false;
|
|
74
|
+
if (!this._circuitBreaker &&
|
|
75
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
76
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
77
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
78
|
+
}
|
|
69
79
|
this._httpClient =
|
|
70
80
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
71
81
|
if (params.authenticationDetailsProvider &&
|
|
@@ -138,10 +148,11 @@ class ManagementAgentClient {
|
|
|
138
148
|
/**
|
|
139
149
|
* User creates a new install key as part of this API.
|
|
140
150
|
*
|
|
151
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
141
152
|
* @param CreateManagementAgentInstallKeyRequest
|
|
142
153
|
* @return CreateManagementAgentInstallKeyResponse
|
|
143
154
|
* @throws OciError when an error occurs
|
|
144
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
155
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/CreateManagementAgentInstallKey.ts.html |here} to see how to use CreateManagementAgentInstallKey API.
|
|
145
156
|
*/
|
|
146
157
|
createManagementAgentInstallKey(createManagementAgentInstallKeyRequest) {
|
|
147
158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -154,7 +165,8 @@ class ManagementAgentClient {
|
|
|
154
165
|
"opc-retry-token": createManagementAgentInstallKeyRequest.opcRetryToken,
|
|
155
166
|
"opc-request-id": createManagementAgentInstallKeyRequest.opcRequestId
|
|
156
167
|
};
|
|
157
|
-
const
|
|
168
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
169
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createManagementAgentInstallKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
158
170
|
if (this.logger)
|
|
159
171
|
retrier.logger = this.logger;
|
|
160
172
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -197,10 +209,11 @@ class ManagementAgentClient {
|
|
|
197
209
|
}
|
|
198
210
|
/**
|
|
199
211
|
* Deletes a Management Agent resource by identifier
|
|
212
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
200
213
|
* @param DeleteManagementAgentRequest
|
|
201
214
|
* @return DeleteManagementAgentResponse
|
|
202
215
|
* @throws OciError when an error occurs
|
|
203
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
216
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/DeleteManagementAgent.ts.html |here} to see how to use DeleteManagementAgent API.
|
|
204
217
|
*/
|
|
205
218
|
deleteManagementAgent(deleteManagementAgentRequest) {
|
|
206
219
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -215,7 +228,8 @@ class ManagementAgentClient {
|
|
|
215
228
|
"if-match": deleteManagementAgentRequest.ifMatch,
|
|
216
229
|
"opc-request-id": deleteManagementAgentRequest.opcRequestId
|
|
217
230
|
};
|
|
218
|
-
const
|
|
231
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
232
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteManagementAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
219
233
|
if (this.logger)
|
|
220
234
|
retrier.logger = this.logger;
|
|
221
235
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -248,10 +262,11 @@ class ManagementAgentClient {
|
|
|
248
262
|
}
|
|
249
263
|
/**
|
|
250
264
|
* Deletes a Management Agent install Key resource by identifier
|
|
265
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
251
266
|
* @param DeleteManagementAgentInstallKeyRequest
|
|
252
267
|
* @return DeleteManagementAgentInstallKeyResponse
|
|
253
268
|
* @throws OciError when an error occurs
|
|
254
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
269
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/DeleteManagementAgentInstallKey.ts.html |here} to see how to use DeleteManagementAgentInstallKey API.
|
|
255
270
|
*/
|
|
256
271
|
deleteManagementAgentInstallKey(deleteManagementAgentInstallKeyRequest) {
|
|
257
272
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -266,7 +281,8 @@ class ManagementAgentClient {
|
|
|
266
281
|
"if-match": deleteManagementAgentInstallKeyRequest.ifMatch,
|
|
267
282
|
"opc-request-id": deleteManagementAgentInstallKeyRequest.opcRequestId
|
|
268
283
|
};
|
|
269
|
-
const
|
|
284
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
285
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteManagementAgentInstallKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
270
286
|
if (this.logger)
|
|
271
287
|
retrier.logger = this.logger;
|
|
272
288
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -299,10 +315,11 @@ class ManagementAgentClient {
|
|
|
299
315
|
}
|
|
300
316
|
/**
|
|
301
317
|
* Cancel the work request with the given ID.
|
|
318
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
302
319
|
* @param DeleteWorkRequestRequest
|
|
303
320
|
* @return DeleteWorkRequestResponse
|
|
304
321
|
* @throws OciError when an error occurs
|
|
305
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
322
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
|
|
306
323
|
*/
|
|
307
324
|
deleteWorkRequest(deleteWorkRequestRequest) {
|
|
308
325
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -317,7 +334,8 @@ class ManagementAgentClient {
|
|
|
317
334
|
"opc-request-id": deleteWorkRequestRequest.opcRequestId,
|
|
318
335
|
"if-match": deleteWorkRequestRequest.ifMatch
|
|
319
336
|
};
|
|
320
|
-
const
|
|
337
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
338
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
321
339
|
if (this.logger)
|
|
322
340
|
retrier.logger = this.logger;
|
|
323
341
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -351,10 +369,11 @@ class ManagementAgentClient {
|
|
|
351
369
|
/**
|
|
352
370
|
* Deploys Plugins to a given list of agentIds.
|
|
353
371
|
*
|
|
372
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
354
373
|
* @param DeployPluginsRequest
|
|
355
374
|
* @return DeployPluginsResponse
|
|
356
375
|
* @throws OciError when an error occurs
|
|
357
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
376
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/DeployPlugins.ts.html |here} to see how to use DeployPlugins API.
|
|
358
377
|
*/
|
|
359
378
|
deployPlugins(deployPluginsRequest) {
|
|
360
379
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -367,7 +386,8 @@ class ManagementAgentClient {
|
|
|
367
386
|
"opc-retry-token": deployPluginsRequest.opcRetryToken,
|
|
368
387
|
"opc-request-id": deployPluginsRequest.opcRequestId
|
|
369
388
|
};
|
|
370
|
-
const
|
|
389
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
390
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deployPluginsRequest.retryConfiguration, specRetryConfiguration);
|
|
371
391
|
if (this.logger)
|
|
372
392
|
retrier.logger = this.logger;
|
|
373
393
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -404,12 +424,71 @@ class ManagementAgentClient {
|
|
|
404
424
|
}
|
|
405
425
|
});
|
|
406
426
|
}
|
|
427
|
+
/**
|
|
428
|
+
* Get the AutoUpgradable configuration for all agents in a tenancy.
|
|
429
|
+
* The supplied compartmentId must be a tenancy root.
|
|
430
|
+
*
|
|
431
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
432
|
+
* @param GetAutoUpgradableConfigRequest
|
|
433
|
+
* @return GetAutoUpgradableConfigResponse
|
|
434
|
+
* @throws OciError when an error occurs
|
|
435
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/GetAutoUpgradableConfig.ts.html |here} to see how to use GetAutoUpgradableConfig API.
|
|
436
|
+
*/
|
|
437
|
+
getAutoUpgradableConfig(getAutoUpgradableConfigRequest) {
|
|
438
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
439
|
+
if (this.logger)
|
|
440
|
+
this.logger.debug("Calling operation ManagementAgentClient#getAutoUpgradableConfig.");
|
|
441
|
+
const pathParams = {};
|
|
442
|
+
const queryParams = {
|
|
443
|
+
"compartmentId": getAutoUpgradableConfigRequest.compartmentId
|
|
444
|
+
};
|
|
445
|
+
let headerParams = {
|
|
446
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
447
|
+
"opc-request-id": getAutoUpgradableConfigRequest.opcRequestId
|
|
448
|
+
};
|
|
449
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
450
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAutoUpgradableConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
451
|
+
if (this.logger)
|
|
452
|
+
retrier.logger = this.logger;
|
|
453
|
+
const request = yield oci_common_2.composeRequest({
|
|
454
|
+
baseEndpoint: this._endpoint,
|
|
455
|
+
defaultHeaders: this._defaultHeaders,
|
|
456
|
+
path: "/managementAgents/actions/getAutoUpgradableConfig",
|
|
457
|
+
method: "GET",
|
|
458
|
+
pathParams: pathParams,
|
|
459
|
+
headerParams: headerParams,
|
|
460
|
+
queryParams: queryParams
|
|
461
|
+
});
|
|
462
|
+
try {
|
|
463
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
464
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
465
|
+
responseObject: {},
|
|
466
|
+
body: yield response.json(),
|
|
467
|
+
bodyKey: "autoUpgradableConfig",
|
|
468
|
+
bodyModel: model.AutoUpgradableConfig,
|
|
469
|
+
type: "model.AutoUpgradableConfig",
|
|
470
|
+
responseHeaders: [
|
|
471
|
+
{
|
|
472
|
+
value: response.headers.get("opc-request-id"),
|
|
473
|
+
key: "opcRequestId",
|
|
474
|
+
dataType: "string"
|
|
475
|
+
}
|
|
476
|
+
]
|
|
477
|
+
});
|
|
478
|
+
return sdkResponse;
|
|
479
|
+
}
|
|
480
|
+
catch (err) {
|
|
481
|
+
throw err;
|
|
482
|
+
}
|
|
483
|
+
});
|
|
484
|
+
}
|
|
407
485
|
/**
|
|
408
486
|
* Gets complete details of the inventory of a given agent id
|
|
487
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
409
488
|
* @param GetManagementAgentRequest
|
|
410
489
|
* @return GetManagementAgentResponse
|
|
411
490
|
* @throws OciError when an error occurs
|
|
412
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
491
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/GetManagementAgent.ts.html |here} to see how to use GetManagementAgent API.
|
|
413
492
|
*/
|
|
414
493
|
getManagementAgent(getManagementAgentRequest) {
|
|
415
494
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -423,7 +502,8 @@ class ManagementAgentClient {
|
|
|
423
502
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
424
503
|
"opc-request-id": getManagementAgentRequest.opcRequestId
|
|
425
504
|
};
|
|
426
|
-
const
|
|
505
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
506
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getManagementAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
427
507
|
if (this.logger)
|
|
428
508
|
retrier.logger = this.logger;
|
|
429
509
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -465,10 +545,11 @@ class ManagementAgentClient {
|
|
|
465
545
|
}
|
|
466
546
|
/**
|
|
467
547
|
* Gets complete details of the Agent install Key for a given key id
|
|
548
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
468
549
|
* @param GetManagementAgentInstallKeyRequest
|
|
469
550
|
* @return GetManagementAgentInstallKeyResponse
|
|
470
551
|
* @throws OciError when an error occurs
|
|
471
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
552
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/GetManagementAgentInstallKey.ts.html |here} to see how to use GetManagementAgentInstallKey API.
|
|
472
553
|
*/
|
|
473
554
|
getManagementAgentInstallKey(getManagementAgentInstallKeyRequest) {
|
|
474
555
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -482,7 +563,8 @@ class ManagementAgentClient {
|
|
|
482
563
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
483
564
|
"opc-request-id": getManagementAgentInstallKeyRequest.opcRequestId
|
|
484
565
|
};
|
|
485
|
-
const
|
|
566
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
567
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getManagementAgentInstallKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
486
568
|
if (this.logger)
|
|
487
569
|
retrier.logger = this.logger;
|
|
488
570
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -525,10 +607,11 @@ class ManagementAgentClient {
|
|
|
525
607
|
/**
|
|
526
608
|
* Returns a file with Management Agent install Key in it
|
|
527
609
|
*
|
|
610
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
528
611
|
* @param GetManagementAgentInstallKeyContentRequest
|
|
529
612
|
* @return GetManagementAgentInstallKeyContentResponse
|
|
530
613
|
* @throws OciError when an error occurs
|
|
531
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
614
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/GetManagementAgentInstallKeyContent.ts.html |here} to see how to use GetManagementAgentInstallKeyContent API.
|
|
532
615
|
*/
|
|
533
616
|
getManagementAgentInstallKeyContent(getManagementAgentInstallKeyContentRequest) {
|
|
534
617
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -544,7 +627,8 @@ class ManagementAgentClient {
|
|
|
544
627
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
545
628
|
"opc-request-id": getManagementAgentInstallKeyContentRequest.opcRequestId
|
|
546
629
|
};
|
|
547
|
-
const
|
|
630
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
631
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getManagementAgentInstallKeyContentRequest.retryConfiguration, specRetryConfiguration);
|
|
548
632
|
if (this.logger)
|
|
549
633
|
retrier.logger = this.logger;
|
|
550
634
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -590,10 +674,11 @@ class ManagementAgentClient {
|
|
|
590
674
|
}
|
|
591
675
|
/**
|
|
592
676
|
* Gets the status of the work request with the given ID.
|
|
677
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
593
678
|
* @param GetWorkRequestRequest
|
|
594
679
|
* @return GetWorkRequestResponse
|
|
595
680
|
* @throws OciError when an error occurs
|
|
596
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
681
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
597
682
|
*/
|
|
598
683
|
getWorkRequest(getWorkRequestRequest) {
|
|
599
684
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -607,7 +692,8 @@ class ManagementAgentClient {
|
|
|
607
692
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
608
693
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
609
694
|
};
|
|
610
|
-
const
|
|
695
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
696
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
611
697
|
if (this.logger)
|
|
612
698
|
retrier.logger = this.logger;
|
|
613
699
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -654,10 +740,11 @@ class ManagementAgentClient {
|
|
|
654
740
|
}
|
|
655
741
|
/**
|
|
656
742
|
* Lists the availability history records of Management Agent
|
|
743
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
657
744
|
* @param ListAvailabilityHistoriesRequest
|
|
658
745
|
* @return ListAvailabilityHistoriesResponse
|
|
659
746
|
* @throws OciError when an error occurs
|
|
660
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
747
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/ListAvailabilityHistories.ts.html |here} to see how to use ListAvailabilityHistories API.
|
|
661
748
|
*/
|
|
662
749
|
listAvailabilityHistories(listAvailabilityHistoriesRequest) {
|
|
663
750
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -678,7 +765,8 @@ class ManagementAgentClient {
|
|
|
678
765
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
679
766
|
"opc-request-id": listAvailabilityHistoriesRequest.opcRequestId
|
|
680
767
|
};
|
|
681
|
-
const
|
|
768
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
769
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAvailabilityHistoriesRequest.retryConfiguration, specRetryConfiguration);
|
|
682
770
|
if (this.logger)
|
|
683
771
|
retrier.logger = this.logger;
|
|
684
772
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -719,6 +807,7 @@ class ManagementAgentClient {
|
|
|
719
807
|
});
|
|
720
808
|
}
|
|
721
809
|
/**
|
|
810
|
+
* NOTE: This function is deprecated in favor of listAvailabilityHistoriesRecordIterator function.
|
|
722
811
|
* Creates a new async iterator which will iterate over the models.AvailabilityHistorySummary objects
|
|
723
812
|
* contained in responses from the listAvailabilityHistories operation. This iterator will fetch more data from the
|
|
724
813
|
* server as needed.
|
|
@@ -729,6 +818,7 @@ class ManagementAgentClient {
|
|
|
729
818
|
return oci_common_1.paginateRecords(request, req => this.listAvailabilityHistories(req));
|
|
730
819
|
}
|
|
731
820
|
/**
|
|
821
|
+
* NOTE: This function is deprecated in favor of listAvailabilityHistoriesResponseIterator function.
|
|
732
822
|
* Creates a new async iterator which will iterate over the responses received from the listAvailabilityHistories operation. This iterator
|
|
733
823
|
* will fetch more data from the server as needed.
|
|
734
824
|
*
|
|
@@ -737,13 +827,33 @@ class ManagementAgentClient {
|
|
|
737
827
|
listAllAvailabilityHistoriesResponses(request) {
|
|
738
828
|
return oci_common_1.paginateResponses(request, req => this.listAvailabilityHistories(req));
|
|
739
829
|
}
|
|
830
|
+
/**
|
|
831
|
+
* Creates a new async iterator which will iterate over the models.AvailabilityHistorySummary objects
|
|
832
|
+
* contained in responses from the listAvailabilityHistories operation. This iterator will fetch more data from the
|
|
833
|
+
* server as needed.
|
|
834
|
+
*
|
|
835
|
+
* @param request a request which can be sent to the service operation
|
|
836
|
+
*/
|
|
837
|
+
listAvailabilityHistoriesRecordIterator(request) {
|
|
838
|
+
return oci_common_1.paginateRecords(request, req => this.listAvailabilityHistories(req));
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* Creates a new async iterator which will iterate over the responses received from the listAvailabilityHistories operation. This iterator
|
|
842
|
+
* will fetch more data from the server as needed.
|
|
843
|
+
*
|
|
844
|
+
* @param request a request which can be sent to the service operation
|
|
845
|
+
*/
|
|
846
|
+
listAvailabilityHistoriesResponseIterator(request) {
|
|
847
|
+
return oci_common_1.paginateResponses(request, req => this.listAvailabilityHistories(req));
|
|
848
|
+
}
|
|
740
849
|
/**
|
|
741
850
|
* Get supported agent image information
|
|
742
851
|
*
|
|
852
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
743
853
|
* @param ListManagementAgentImagesRequest
|
|
744
854
|
* @return ListManagementAgentImagesResponse
|
|
745
855
|
* @throws OciError when an error occurs
|
|
746
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
856
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/ListManagementAgentImages.ts.html |here} to see how to use ListManagementAgentImages API.
|
|
747
857
|
*/
|
|
748
858
|
listManagementAgentImages(listManagementAgentImagesRequest) {
|
|
749
859
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -757,14 +867,16 @@ class ManagementAgentClient {
|
|
|
757
867
|
"sortOrder": listManagementAgentImagesRequest.sortOrder,
|
|
758
868
|
"sortBy": listManagementAgentImagesRequest.sortBy,
|
|
759
869
|
"name": listManagementAgentImagesRequest.name,
|
|
760
|
-
"lifecycleState": listManagementAgentImagesRequest.lifecycleState
|
|
870
|
+
"lifecycleState": listManagementAgentImagesRequest.lifecycleState,
|
|
871
|
+
"installType": listManagementAgentImagesRequest.installType
|
|
761
872
|
};
|
|
762
873
|
let headerParams = {
|
|
763
874
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
764
875
|
"opc-retry-token": listManagementAgentImagesRequest.opcRetryToken,
|
|
765
876
|
"opc-request-id": listManagementAgentImagesRequest.opcRequestId
|
|
766
877
|
};
|
|
767
|
-
const
|
|
878
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
879
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listManagementAgentImagesRequest.retryConfiguration, specRetryConfiguration);
|
|
768
880
|
if (this.logger)
|
|
769
881
|
retrier.logger = this.logger;
|
|
770
882
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -805,6 +917,7 @@ class ManagementAgentClient {
|
|
|
805
917
|
});
|
|
806
918
|
}
|
|
807
919
|
/**
|
|
920
|
+
* NOTE: This function is deprecated in favor of listManagementAgentImagesRecordIterator function.
|
|
808
921
|
* Creates a new async iterator which will iterate over the models.ManagementAgentImageSummary objects
|
|
809
922
|
* contained in responses from the listManagementAgentImages operation. This iterator will fetch more data from the
|
|
810
923
|
* server as needed.
|
|
@@ -815,6 +928,7 @@ class ManagementAgentClient {
|
|
|
815
928
|
return oci_common_1.paginateRecords(request, req => this.listManagementAgentImages(req));
|
|
816
929
|
}
|
|
817
930
|
/**
|
|
931
|
+
* NOTE: This function is deprecated in favor of listManagementAgentImagesResponseIterator function.
|
|
818
932
|
* Creates a new async iterator which will iterate over the responses received from the listManagementAgentImages operation. This iterator
|
|
819
933
|
* will fetch more data from the server as needed.
|
|
820
934
|
*
|
|
@@ -823,13 +937,33 @@ class ManagementAgentClient {
|
|
|
823
937
|
listAllManagementAgentImagesResponses(request) {
|
|
824
938
|
return oci_common_1.paginateResponses(request, req => this.listManagementAgentImages(req));
|
|
825
939
|
}
|
|
940
|
+
/**
|
|
941
|
+
* Creates a new async iterator which will iterate over the models.ManagementAgentImageSummary objects
|
|
942
|
+
* contained in responses from the listManagementAgentImages operation. This iterator will fetch more data from the
|
|
943
|
+
* server as needed.
|
|
944
|
+
*
|
|
945
|
+
* @param request a request which can be sent to the service operation
|
|
946
|
+
*/
|
|
947
|
+
listManagementAgentImagesRecordIterator(request) {
|
|
948
|
+
return oci_common_1.paginateRecords(request, req => this.listManagementAgentImages(req));
|
|
949
|
+
}
|
|
950
|
+
/**
|
|
951
|
+
* Creates a new async iterator which will iterate over the responses received from the listManagementAgentImages operation. This iterator
|
|
952
|
+
* will fetch more data from the server as needed.
|
|
953
|
+
*
|
|
954
|
+
* @param request a request which can be sent to the service operation
|
|
955
|
+
*/
|
|
956
|
+
listManagementAgentImagesResponseIterator(request) {
|
|
957
|
+
return oci_common_1.paginateResponses(request, req => this.listManagementAgentImages(req));
|
|
958
|
+
}
|
|
826
959
|
/**
|
|
827
960
|
* Returns a list of Management Agent installed Keys.
|
|
828
961
|
*
|
|
962
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
829
963
|
* @param ListManagementAgentInstallKeysRequest
|
|
830
964
|
* @return ListManagementAgentInstallKeysResponse
|
|
831
965
|
* @throws OciError when an error occurs
|
|
832
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
966
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/ListManagementAgentInstallKeys.ts.html |here} to see how to use ListManagementAgentInstallKeys API.
|
|
833
967
|
*/
|
|
834
968
|
listManagementAgentInstallKeys(listManagementAgentInstallKeysRequest) {
|
|
835
969
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -850,7 +984,8 @@ class ManagementAgentClient {
|
|
|
850
984
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
851
985
|
"opc-request-id": listManagementAgentInstallKeysRequest.opcRequestId
|
|
852
986
|
};
|
|
853
|
-
const
|
|
987
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
988
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listManagementAgentInstallKeysRequest.retryConfiguration, specRetryConfiguration);
|
|
854
989
|
if (this.logger)
|
|
855
990
|
retrier.logger = this.logger;
|
|
856
991
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -891,6 +1026,7 @@ class ManagementAgentClient {
|
|
|
891
1026
|
});
|
|
892
1027
|
}
|
|
893
1028
|
/**
|
|
1029
|
+
* NOTE: This function is deprecated in favor of listManagementAgentInstallKeysRecordIterator function.
|
|
894
1030
|
* Creates a new async iterator which will iterate over the models.ManagementAgentInstallKeySummary objects
|
|
895
1031
|
* contained in responses from the listManagementAgentInstallKeys operation. This iterator will fetch more data from the
|
|
896
1032
|
* server as needed.
|
|
@@ -901,6 +1037,7 @@ class ManagementAgentClient {
|
|
|
901
1037
|
return oci_common_1.paginateRecords(request, req => this.listManagementAgentInstallKeys(req));
|
|
902
1038
|
}
|
|
903
1039
|
/**
|
|
1040
|
+
* NOTE: This function is deprecated in favor of listManagementAgentInstallKeysResponseIterator function.
|
|
904
1041
|
* Creates a new async iterator which will iterate over the responses received from the listManagementAgentInstallKeys operation. This iterator
|
|
905
1042
|
* will fetch more data from the server as needed.
|
|
906
1043
|
*
|
|
@@ -909,13 +1046,33 @@ class ManagementAgentClient {
|
|
|
909
1046
|
listAllManagementAgentInstallKeysResponses(request) {
|
|
910
1047
|
return oci_common_1.paginateResponses(request, req => this.listManagementAgentInstallKeys(req));
|
|
911
1048
|
}
|
|
1049
|
+
/**
|
|
1050
|
+
* Creates a new async iterator which will iterate over the models.ManagementAgentInstallKeySummary objects
|
|
1051
|
+
* contained in responses from the listManagementAgentInstallKeys operation. This iterator will fetch more data from the
|
|
1052
|
+
* server as needed.
|
|
1053
|
+
*
|
|
1054
|
+
* @param request a request which can be sent to the service operation
|
|
1055
|
+
*/
|
|
1056
|
+
listManagementAgentInstallKeysRecordIterator(request) {
|
|
1057
|
+
return oci_common_1.paginateRecords(request, req => this.listManagementAgentInstallKeys(req));
|
|
1058
|
+
}
|
|
1059
|
+
/**
|
|
1060
|
+
* Creates a new async iterator which will iterate over the responses received from the listManagementAgentInstallKeys operation. This iterator
|
|
1061
|
+
* will fetch more data from the server as needed.
|
|
1062
|
+
*
|
|
1063
|
+
* @param request a request which can be sent to the service operation
|
|
1064
|
+
*/
|
|
1065
|
+
listManagementAgentInstallKeysResponseIterator(request) {
|
|
1066
|
+
return oci_common_1.paginateResponses(request, req => this.listManagementAgentInstallKeys(req));
|
|
1067
|
+
}
|
|
912
1068
|
/**
|
|
913
1069
|
* Returns a list of managementAgentPlugins.
|
|
914
1070
|
*
|
|
1071
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
915
1072
|
* @param ListManagementAgentPluginsRequest
|
|
916
1073
|
* @return ListManagementAgentPluginsResponse
|
|
917
1074
|
* @throws OciError when an error occurs
|
|
918
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1075
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/ListManagementAgentPlugins.ts.html |here} to see how to use ListManagementAgentPlugins API.
|
|
919
1076
|
*/
|
|
920
1077
|
listManagementAgentPlugins(listManagementAgentPluginsRequest) {
|
|
921
1078
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -936,7 +1093,8 @@ class ManagementAgentClient {
|
|
|
936
1093
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
937
1094
|
"opc-request-id": listManagementAgentPluginsRequest.opcRequestId
|
|
938
1095
|
};
|
|
939
|
-
const
|
|
1096
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1097
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listManagementAgentPluginsRequest.retryConfiguration, specRetryConfiguration);
|
|
940
1098
|
if (this.logger)
|
|
941
1099
|
retrier.logger = this.logger;
|
|
942
1100
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -977,6 +1135,7 @@ class ManagementAgentClient {
|
|
|
977
1135
|
});
|
|
978
1136
|
}
|
|
979
1137
|
/**
|
|
1138
|
+
* NOTE: This function is deprecated in favor of listManagementAgentPluginsRecordIterator function.
|
|
980
1139
|
* Creates a new async iterator which will iterate over the models.ManagementAgentPluginSummary objects
|
|
981
1140
|
* contained in responses from the listManagementAgentPlugins operation. This iterator will fetch more data from the
|
|
982
1141
|
* server as needed.
|
|
@@ -987,6 +1146,7 @@ class ManagementAgentClient {
|
|
|
987
1146
|
return oci_common_1.paginateRecords(request, req => this.listManagementAgentPlugins(req));
|
|
988
1147
|
}
|
|
989
1148
|
/**
|
|
1149
|
+
* NOTE: This function is deprecated in favor of listManagementAgentPluginsResponseIterator function.
|
|
990
1150
|
* Creates a new async iterator which will iterate over the responses received from the listManagementAgentPlugins operation. This iterator
|
|
991
1151
|
* will fetch more data from the server as needed.
|
|
992
1152
|
*
|
|
@@ -995,13 +1155,33 @@ class ManagementAgentClient {
|
|
|
995
1155
|
listAllManagementAgentPluginsResponses(request) {
|
|
996
1156
|
return oci_common_1.paginateResponses(request, req => this.listManagementAgentPlugins(req));
|
|
997
1157
|
}
|
|
1158
|
+
/**
|
|
1159
|
+
* Creates a new async iterator which will iterate over the models.ManagementAgentPluginSummary objects
|
|
1160
|
+
* contained in responses from the listManagementAgentPlugins operation. This iterator will fetch more data from the
|
|
1161
|
+
* server as needed.
|
|
1162
|
+
*
|
|
1163
|
+
* @param request a request which can be sent to the service operation
|
|
1164
|
+
*/
|
|
1165
|
+
listManagementAgentPluginsRecordIterator(request) {
|
|
1166
|
+
return oci_common_1.paginateRecords(request, req => this.listManagementAgentPlugins(req));
|
|
1167
|
+
}
|
|
1168
|
+
/**
|
|
1169
|
+
* Creates a new async iterator which will iterate over the responses received from the listManagementAgentPlugins operation. This iterator
|
|
1170
|
+
* will fetch more data from the server as needed.
|
|
1171
|
+
*
|
|
1172
|
+
* @param request a request which can be sent to the service operation
|
|
1173
|
+
*/
|
|
1174
|
+
listManagementAgentPluginsResponseIterator(request) {
|
|
1175
|
+
return oci_common_1.paginateResponses(request, req => this.listManagementAgentPlugins(req));
|
|
1176
|
+
}
|
|
998
1177
|
/**
|
|
999
1178
|
* Returns a list of Management Agent.
|
|
1000
1179
|
*
|
|
1180
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1001
1181
|
* @param ListManagementAgentsRequest
|
|
1002
1182
|
* @return ListManagementAgentsResponse
|
|
1003
1183
|
* @throws OciError when an error occurs
|
|
1004
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1184
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/ListManagementAgents.ts.html |here} to see how to use ListManagementAgents API.
|
|
1005
1185
|
*/
|
|
1006
1186
|
listManagementAgents(listManagementAgentsRequest) {
|
|
1007
1187
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1018,6 +1198,7 @@ class ManagementAgentClient {
|
|
|
1018
1198
|
"hostId": listManagementAgentsRequest.hostId,
|
|
1019
1199
|
"platformType": listManagementAgentsRequest.platformType,
|
|
1020
1200
|
"isCustomerDeployed": listManagementAgentsRequest.isCustomerDeployed,
|
|
1201
|
+
"installType": listManagementAgentsRequest.installType,
|
|
1021
1202
|
"limit": listManagementAgentsRequest.limit,
|
|
1022
1203
|
"page": listManagementAgentsRequest.page,
|
|
1023
1204
|
"sortOrder": listManagementAgentsRequest.sortOrder,
|
|
@@ -1027,7 +1208,8 @@ class ManagementAgentClient {
|
|
|
1027
1208
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1028
1209
|
"opc-request-id": listManagementAgentsRequest.opcRequestId
|
|
1029
1210
|
};
|
|
1030
|
-
const
|
|
1211
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1212
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listManagementAgentsRequest.retryConfiguration, specRetryConfiguration);
|
|
1031
1213
|
if (this.logger)
|
|
1032
1214
|
retrier.logger = this.logger;
|
|
1033
1215
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1068,6 +1250,7 @@ class ManagementAgentClient {
|
|
|
1068
1250
|
});
|
|
1069
1251
|
}
|
|
1070
1252
|
/**
|
|
1253
|
+
* NOTE: This function is deprecated in favor of listManagementAgentsRecordIterator function.
|
|
1071
1254
|
* Creates a new async iterator which will iterate over the models.ManagementAgentSummary objects
|
|
1072
1255
|
* contained in responses from the listManagementAgents operation. This iterator will fetch more data from the
|
|
1073
1256
|
* server as needed.
|
|
@@ -1078,6 +1261,7 @@ class ManagementAgentClient {
|
|
|
1078
1261
|
return oci_common_1.paginateRecords(request, req => this.listManagementAgents(req));
|
|
1079
1262
|
}
|
|
1080
1263
|
/**
|
|
1264
|
+
* NOTE: This function is deprecated in favor of listManagementAgentsResponseIterator function.
|
|
1081
1265
|
* Creates a new async iterator which will iterate over the responses received from the listManagementAgents operation. This iterator
|
|
1082
1266
|
* will fetch more data from the server as needed.
|
|
1083
1267
|
*
|
|
@@ -1086,13 +1270,33 @@ class ManagementAgentClient {
|
|
|
1086
1270
|
listAllManagementAgentsResponses(request) {
|
|
1087
1271
|
return oci_common_1.paginateResponses(request, req => this.listManagementAgents(req));
|
|
1088
1272
|
}
|
|
1273
|
+
/**
|
|
1274
|
+
* Creates a new async iterator which will iterate over the models.ManagementAgentSummary objects
|
|
1275
|
+
* contained in responses from the listManagementAgents operation. This iterator will fetch more data from the
|
|
1276
|
+
* server as needed.
|
|
1277
|
+
*
|
|
1278
|
+
* @param request a request which can be sent to the service operation
|
|
1279
|
+
*/
|
|
1280
|
+
listManagementAgentsRecordIterator(request) {
|
|
1281
|
+
return oci_common_1.paginateRecords(request, req => this.listManagementAgents(req));
|
|
1282
|
+
}
|
|
1283
|
+
/**
|
|
1284
|
+
* Creates a new async iterator which will iterate over the responses received from the listManagementAgents operation. This iterator
|
|
1285
|
+
* will fetch more data from the server as needed.
|
|
1286
|
+
*
|
|
1287
|
+
* @param request a request which can be sent to the service operation
|
|
1288
|
+
*/
|
|
1289
|
+
listManagementAgentsResponseIterator(request) {
|
|
1290
|
+
return oci_common_1.paginateResponses(request, req => this.listManagementAgents(req));
|
|
1291
|
+
}
|
|
1089
1292
|
/**
|
|
1090
1293
|
* Return a (paginated) list of errors for a given work request.
|
|
1091
1294
|
*
|
|
1295
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1092
1296
|
* @param ListWorkRequestErrorsRequest
|
|
1093
1297
|
* @return ListWorkRequestErrorsResponse
|
|
1094
1298
|
* @throws OciError when an error occurs
|
|
1095
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1299
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1096
1300
|
*/
|
|
1097
1301
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1098
1302
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1111,7 +1315,8 @@ class ManagementAgentClient {
|
|
|
1111
1315
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1112
1316
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
1113
1317
|
};
|
|
1114
|
-
const
|
|
1318
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1319
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
1115
1320
|
if (this.logger)
|
|
1116
1321
|
retrier.logger = this.logger;
|
|
1117
1322
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1152,6 +1357,7 @@ class ManagementAgentClient {
|
|
|
1152
1357
|
});
|
|
1153
1358
|
}
|
|
1154
1359
|
/**
|
|
1360
|
+
* NOTE: This function is deprecated in favor of listWorkRequestErrorsRecordIterator function.
|
|
1155
1361
|
* Creates a new async iterator which will iterate over the models.WorkRequestError objects
|
|
1156
1362
|
* contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
|
|
1157
1363
|
* server as needed.
|
|
@@ -1162,6 +1368,7 @@ class ManagementAgentClient {
|
|
|
1162
1368
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
|
|
1163
1369
|
}
|
|
1164
1370
|
/**
|
|
1371
|
+
* NOTE: This function is deprecated in favor of listWorkRequestErrorsResponseIterator function.
|
|
1165
1372
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
|
|
1166
1373
|
* will fetch more data from the server as needed.
|
|
1167
1374
|
*
|
|
@@ -1170,13 +1377,33 @@ class ManagementAgentClient {
|
|
|
1170
1377
|
listAllWorkRequestErrorsResponses(request) {
|
|
1171
1378
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
|
|
1172
1379
|
}
|
|
1380
|
+
/**
|
|
1381
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestError objects
|
|
1382
|
+
* contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the
|
|
1383
|
+
* server as needed.
|
|
1384
|
+
*
|
|
1385
|
+
* @param request a request which can be sent to the service operation
|
|
1386
|
+
*/
|
|
1387
|
+
listWorkRequestErrorsRecordIterator(request) {
|
|
1388
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequestErrors(req));
|
|
1389
|
+
}
|
|
1390
|
+
/**
|
|
1391
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator
|
|
1392
|
+
* will fetch more data from the server as needed.
|
|
1393
|
+
*
|
|
1394
|
+
* @param request a request which can be sent to the service operation
|
|
1395
|
+
*/
|
|
1396
|
+
listWorkRequestErrorsResponseIterator(request) {
|
|
1397
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequestErrors(req));
|
|
1398
|
+
}
|
|
1173
1399
|
/**
|
|
1174
1400
|
* Return a (paginated) list of logs for a given work request.
|
|
1175
1401
|
*
|
|
1402
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1176
1403
|
* @param ListWorkRequestLogsRequest
|
|
1177
1404
|
* @return ListWorkRequestLogsResponse
|
|
1178
1405
|
* @throws OciError when an error occurs
|
|
1179
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1406
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1180
1407
|
*/
|
|
1181
1408
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1182
1409
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1195,7 +1422,8 @@ class ManagementAgentClient {
|
|
|
1195
1422
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1196
1423
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
1197
1424
|
};
|
|
1198
|
-
const
|
|
1425
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1426
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
1199
1427
|
if (this.logger)
|
|
1200
1428
|
retrier.logger = this.logger;
|
|
1201
1429
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1236,6 +1464,7 @@ class ManagementAgentClient {
|
|
|
1236
1464
|
});
|
|
1237
1465
|
}
|
|
1238
1466
|
/**
|
|
1467
|
+
* NOTE: This function is deprecated in favor of listWorkRequestLogsRecordIterator function.
|
|
1239
1468
|
* Creates a new async iterator which will iterate over the models.WorkRequestLogEntry objects
|
|
1240
1469
|
* contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
|
|
1241
1470
|
* server as needed.
|
|
@@ -1246,6 +1475,7 @@ class ManagementAgentClient {
|
|
|
1246
1475
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
|
|
1247
1476
|
}
|
|
1248
1477
|
/**
|
|
1478
|
+
* NOTE: This function is deprecated in favor of listWorkRequestLogsResponseIterator function.
|
|
1249
1479
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
|
|
1250
1480
|
* will fetch more data from the server as needed.
|
|
1251
1481
|
*
|
|
@@ -1254,13 +1484,33 @@ class ManagementAgentClient {
|
|
|
1254
1484
|
listAllWorkRequestLogsResponses(request) {
|
|
1255
1485
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
|
|
1256
1486
|
}
|
|
1487
|
+
/**
|
|
1488
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestLogEntry objects
|
|
1489
|
+
* contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the
|
|
1490
|
+
* server as needed.
|
|
1491
|
+
*
|
|
1492
|
+
* @param request a request which can be sent to the service operation
|
|
1493
|
+
*/
|
|
1494
|
+
listWorkRequestLogsRecordIterator(request) {
|
|
1495
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequestLogs(req));
|
|
1496
|
+
}
|
|
1497
|
+
/**
|
|
1498
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator
|
|
1499
|
+
* will fetch more data from the server as needed.
|
|
1500
|
+
*
|
|
1501
|
+
* @param request a request which can be sent to the service operation
|
|
1502
|
+
*/
|
|
1503
|
+
listWorkRequestLogsResponseIterator(request) {
|
|
1504
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequestLogs(req));
|
|
1505
|
+
}
|
|
1257
1506
|
/**
|
|
1258
1507
|
* Lists the work requests in a compartment.
|
|
1259
1508
|
*
|
|
1509
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1260
1510
|
* @param ListWorkRequestsRequest
|
|
1261
1511
|
* @return ListWorkRequestsResponse
|
|
1262
1512
|
* @throws OciError when an error occurs
|
|
1263
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1513
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1264
1514
|
*/
|
|
1265
1515
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1266
1516
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1281,7 +1531,8 @@ class ManagementAgentClient {
|
|
|
1281
1531
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1282
1532
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
1283
1533
|
};
|
|
1284
|
-
const
|
|
1534
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1535
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
1285
1536
|
if (this.logger)
|
|
1286
1537
|
retrier.logger = this.logger;
|
|
1287
1538
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1322,6 +1573,7 @@ class ManagementAgentClient {
|
|
|
1322
1573
|
});
|
|
1323
1574
|
}
|
|
1324
1575
|
/**
|
|
1576
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsRecordIterator function.
|
|
1325
1577
|
* Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
|
|
1326
1578
|
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
1327
1579
|
* server as needed.
|
|
@@ -1332,6 +1584,7 @@ class ManagementAgentClient {
|
|
|
1332
1584
|
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
1333
1585
|
}
|
|
1334
1586
|
/**
|
|
1587
|
+
* NOTE: This function is deprecated in favor of listWorkRequestsResponseIterator function.
|
|
1335
1588
|
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
1336
1589
|
* will fetch more data from the server as needed.
|
|
1337
1590
|
*
|
|
@@ -1340,14 +1593,92 @@ class ManagementAgentClient {
|
|
|
1340
1593
|
listAllWorkRequestsResponses(request) {
|
|
1341
1594
|
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
1342
1595
|
}
|
|
1596
|
+
/**
|
|
1597
|
+
* Creates a new async iterator which will iterate over the models.WorkRequestSummary objects
|
|
1598
|
+
* contained in responses from the listWorkRequests operation. This iterator will fetch more data from the
|
|
1599
|
+
* server as needed.
|
|
1600
|
+
*
|
|
1601
|
+
* @param request a request which can be sent to the service operation
|
|
1602
|
+
*/
|
|
1603
|
+
listWorkRequestsRecordIterator(request) {
|
|
1604
|
+
return oci_common_1.paginateRecords(request, req => this.listWorkRequests(req));
|
|
1605
|
+
}
|
|
1606
|
+
/**
|
|
1607
|
+
* Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator
|
|
1608
|
+
* will fetch more data from the server as needed.
|
|
1609
|
+
*
|
|
1610
|
+
* @param request a request which can be sent to the service operation
|
|
1611
|
+
*/
|
|
1612
|
+
listWorkRequestsResponseIterator(request) {
|
|
1613
|
+
return oci_common_1.paginateResponses(request, req => this.listWorkRequests(req));
|
|
1614
|
+
}
|
|
1615
|
+
/**
|
|
1616
|
+
* Sets the AutoUpgradable configuration for all agents in a tenancy.
|
|
1617
|
+
* The supplied compartmentId must be a tenancy root.
|
|
1618
|
+
*
|
|
1619
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1620
|
+
* @param SetAutoUpgradableConfigRequest
|
|
1621
|
+
* @return SetAutoUpgradableConfigResponse
|
|
1622
|
+
* @throws OciError when an error occurs
|
|
1623
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/SetAutoUpgradableConfig.ts.html |here} to see how to use SetAutoUpgradableConfig API.
|
|
1624
|
+
*/
|
|
1625
|
+
setAutoUpgradableConfig(setAutoUpgradableConfigRequest) {
|
|
1626
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1627
|
+
if (this.logger)
|
|
1628
|
+
this.logger.debug("Calling operation ManagementAgentClient#setAutoUpgradableConfig.");
|
|
1629
|
+
const pathParams = {};
|
|
1630
|
+
const queryParams = {};
|
|
1631
|
+
let headerParams = {
|
|
1632
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1633
|
+
"opc-retry-token": setAutoUpgradableConfigRequest.opcRetryToken,
|
|
1634
|
+
"opc-request-id": setAutoUpgradableConfigRequest.opcRequestId
|
|
1635
|
+
};
|
|
1636
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1637
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setAutoUpgradableConfigRequest.retryConfiguration, specRetryConfiguration);
|
|
1638
|
+
if (this.logger)
|
|
1639
|
+
retrier.logger = this.logger;
|
|
1640
|
+
const request = yield oci_common_2.composeRequest({
|
|
1641
|
+
baseEndpoint: this._endpoint,
|
|
1642
|
+
defaultHeaders: this._defaultHeaders,
|
|
1643
|
+
path: "/managementAgents/actions/setAutoUpgradableConfig",
|
|
1644
|
+
method: "POST",
|
|
1645
|
+
bodyContent: common.ObjectSerializer.serialize(setAutoUpgradableConfigRequest.setAutoUpgradableConfigDetails, "SetAutoUpgradableConfigDetails", model.SetAutoUpgradableConfigDetails.getJsonObj),
|
|
1646
|
+
pathParams: pathParams,
|
|
1647
|
+
headerParams: headerParams,
|
|
1648
|
+
queryParams: queryParams
|
|
1649
|
+
});
|
|
1650
|
+
try {
|
|
1651
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1652
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1653
|
+
responseObject: {},
|
|
1654
|
+
body: yield response.json(),
|
|
1655
|
+
bodyKey: "autoUpgradableConfig",
|
|
1656
|
+
bodyModel: model.AutoUpgradableConfig,
|
|
1657
|
+
type: "model.AutoUpgradableConfig",
|
|
1658
|
+
responseHeaders: [
|
|
1659
|
+
{
|
|
1660
|
+
value: response.headers.get("opc-request-id"),
|
|
1661
|
+
key: "opcRequestId",
|
|
1662
|
+
dataType: "string"
|
|
1663
|
+
}
|
|
1664
|
+
]
|
|
1665
|
+
});
|
|
1666
|
+
return sdkResponse;
|
|
1667
|
+
}
|
|
1668
|
+
catch (err) {
|
|
1669
|
+
throw err;
|
|
1670
|
+
}
|
|
1671
|
+
});
|
|
1672
|
+
}
|
|
1343
1673
|
/**
|
|
1344
1674
|
* Gets count of the inventory of agents for a given compartment id, group by, and isPluginDeployed parameters.
|
|
1345
1675
|
* Supported groupBy parameters: availabilityStatus, platformType, version
|
|
1346
1676
|
*
|
|
1677
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1347
1678
|
* @param SummarizeManagementAgentCountsRequest
|
|
1348
1679
|
* @return SummarizeManagementAgentCountsResponse
|
|
1349
1680
|
* @throws OciError when an error occurs
|
|
1350
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1681
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/SummarizeManagementAgentCounts.ts.html |here} to see how to use SummarizeManagementAgentCounts API.
|
|
1351
1682
|
*/
|
|
1352
1683
|
summarizeManagementAgentCounts(summarizeManagementAgentCountsRequest) {
|
|
1353
1684
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1358,13 +1689,15 @@ class ManagementAgentClient {
|
|
|
1358
1689
|
"compartmentId": summarizeManagementAgentCountsRequest.compartmentId,
|
|
1359
1690
|
"groupBy": summarizeManagementAgentCountsRequest.groupBy,
|
|
1360
1691
|
"hasPlugins": summarizeManagementAgentCountsRequest.hasPlugins,
|
|
1692
|
+
"installType": summarizeManagementAgentCountsRequest.installType,
|
|
1361
1693
|
"page": summarizeManagementAgentCountsRequest.page
|
|
1362
1694
|
};
|
|
1363
1695
|
let headerParams = {
|
|
1364
1696
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1365
1697
|
"opc-request-id": summarizeManagementAgentCountsRequest.opcRequestId
|
|
1366
1698
|
};
|
|
1367
|
-
const
|
|
1699
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1700
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeManagementAgentCountsRequest.retryConfiguration, specRetryConfiguration);
|
|
1368
1701
|
if (this.logger)
|
|
1369
1702
|
retrier.logger = this.logger;
|
|
1370
1703
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1408,10 +1741,11 @@ class ManagementAgentClient {
|
|
|
1408
1741
|
* Gets count of the inventory of management agent plugins for a given compartment id and group by parameter.
|
|
1409
1742
|
* Supported groupBy parameter: pluginName
|
|
1410
1743
|
*
|
|
1744
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1411
1745
|
* @param SummarizeManagementAgentPluginCountsRequest
|
|
1412
1746
|
* @return SummarizeManagementAgentPluginCountsResponse
|
|
1413
1747
|
* @throws OciError when an error occurs
|
|
1414
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1748
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/SummarizeManagementAgentPluginCounts.ts.html |here} to see how to use SummarizeManagementAgentPluginCounts API.
|
|
1415
1749
|
*/
|
|
1416
1750
|
summarizeManagementAgentPluginCounts(summarizeManagementAgentPluginCountsRequest) {
|
|
1417
1751
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1427,7 +1761,8 @@ class ManagementAgentClient {
|
|
|
1427
1761
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1428
1762
|
"opc-request-id": summarizeManagementAgentPluginCountsRequest.opcRequestId
|
|
1429
1763
|
};
|
|
1430
|
-
const
|
|
1764
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1765
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeManagementAgentPluginCountsRequest.retryConfiguration, specRetryConfiguration);
|
|
1431
1766
|
if (this.logger)
|
|
1432
1767
|
retrier.logger = this.logger;
|
|
1433
1768
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1470,10 +1805,11 @@ class ManagementAgentClient {
|
|
|
1470
1805
|
/**
|
|
1471
1806
|
* API to update the console managed properties of the Management Agent.
|
|
1472
1807
|
*
|
|
1808
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1473
1809
|
* @param UpdateManagementAgentRequest
|
|
1474
1810
|
* @return UpdateManagementAgentResponse
|
|
1475
1811
|
* @throws OciError when an error occurs
|
|
1476
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1812
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/UpdateManagementAgent.ts.html |here} to see how to use UpdateManagementAgent API.
|
|
1477
1813
|
*/
|
|
1478
1814
|
updateManagementAgent(updateManagementAgentRequest) {
|
|
1479
1815
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1489,7 +1825,8 @@ class ManagementAgentClient {
|
|
|
1489
1825
|
"opc-request-id": updateManagementAgentRequest.opcRequestId,
|
|
1490
1826
|
"if-match": updateManagementAgentRequest.ifMatch
|
|
1491
1827
|
};
|
|
1492
|
-
const
|
|
1828
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1829
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateManagementAgentRequest.retryConfiguration, specRetryConfiguration);
|
|
1493
1830
|
if (this.logger)
|
|
1494
1831
|
retrier.logger = this.logger;
|
|
1495
1832
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1533,10 +1870,11 @@ class ManagementAgentClient {
|
|
|
1533
1870
|
/**
|
|
1534
1871
|
* API to update the modifiable properties of the Management Agent install key.
|
|
1535
1872
|
*
|
|
1873
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1536
1874
|
* @param UpdateManagementAgentInstallKeyRequest
|
|
1537
1875
|
* @return UpdateManagementAgentInstallKeyResponse
|
|
1538
1876
|
* @throws OciError when an error occurs
|
|
1539
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1877
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/managementagent/UpdateManagementAgentInstallKey.ts.html |here} to see how to use UpdateManagementAgentInstallKey API.
|
|
1540
1878
|
*/
|
|
1541
1879
|
updateManagementAgentInstallKey(updateManagementAgentInstallKeyRequest) {
|
|
1542
1880
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1552,7 +1890,8 @@ class ManagementAgentClient {
|
|
|
1552
1890
|
"opc-request-id": updateManagementAgentInstallKeyRequest.opcRequestId,
|
|
1553
1891
|
"if-match": updateManagementAgentInstallKeyRequest.ifMatch
|
|
1554
1892
|
};
|
|
1555
|
-
const
|
|
1893
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1894
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateManagementAgentInstallKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
1556
1895
|
if (this.logger)
|
|
1557
1896
|
retrier.logger = this.logger;
|
|
1558
1897
|
const request = yield oci_common_2.composeRequest({
|