oci-computeinstanceagent
Advanced tools
Comparing version 2.5.2 to 2.6.0
@@ -22,2 +22,5 @@ /** | ||
} | ||
/** | ||
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration. | ||
*/ | ||
export declare class ComputeInstanceAgentClient { | ||
@@ -77,6 +80,7 @@ protected static serviceEndpointTemplate: string; | ||
* | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param CancelInstanceAgentCommandRequest | ||
* @return CancelInstanceAgentCommandResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/CancelInstanceAgentCommand.ts.html |here} to see how to use CancelInstanceAgentCommand API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/CancelInstanceAgentCommand.ts.html |here} to see how to use CancelInstanceAgentCommand API. | ||
*/ | ||
@@ -93,6 +97,7 @@ cancelInstanceAgentCommand(cancelInstanceAgentCommandRequest: requests.CancelInstanceAgentCommandRequest): Promise<responses.CancelInstanceAgentCommandResponse>; | ||
* | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param CreateInstanceAgentCommandRequest | ||
* @return CreateInstanceAgentCommandResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/CreateInstanceAgentCommand.ts.html |here} to see how to use CreateInstanceAgentCommand API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/CreateInstanceAgentCommand.ts.html |here} to see how to use CreateInstanceAgentCommand API. | ||
*/ | ||
@@ -102,6 +107,7 @@ createInstanceAgentCommand(createInstanceAgentCommandRequest: requests.CreateInstanceAgentCommandRequest): Promise<responses.CreateInstanceAgentCommandResponse>; | ||
* Gets information about an Oracle Cloud Agent command. | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param GetInstanceAgentCommandRequest | ||
* @return GetInstanceAgentCommandResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/GetInstanceAgentCommand.ts.html |here} to see how to use GetInstanceAgentCommand API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/GetInstanceAgentCommand.ts.html |here} to see how to use GetInstanceAgentCommand API. | ||
*/ | ||
@@ -111,6 +117,7 @@ getInstanceAgentCommand(getInstanceAgentCommandRequest: requests.GetInstanceAgentCommandRequest): Promise<responses.GetInstanceAgentCommandResponse>; | ||
* Gets information about the status of specified instance agent commandId for the given instanceId. | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param GetInstanceAgentCommandExecutionRequest | ||
* @return GetInstanceAgentCommandExecutionResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/GetInstanceAgentCommandExecution.ts.html |here} to see how to use GetInstanceAgentCommandExecution API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/GetInstanceAgentCommandExecution.ts.html |here} to see how to use GetInstanceAgentCommandExecution API. | ||
*/ | ||
@@ -122,6 +129,7 @@ getInstanceAgentCommandExecution(getInstanceAgentCommandExecutionRequest: requests.GetInstanceAgentCommandExecutionRequest): Promise<responses.GetInstanceAgentCommandExecutionResponse>; | ||
* | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param ListInstanceAgentCommandExecutionsRequest | ||
* @return ListInstanceAgentCommandExecutionsResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/ListInstanceAgentCommandExecutions.ts.html |here} to see how to use ListInstanceAgentCommandExecutions API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/ListInstanceAgentCommandExecutions.ts.html |here} to see how to use ListInstanceAgentCommandExecutions API. | ||
*/ | ||
@@ -164,6 +172,7 @@ listInstanceAgentCommandExecutions(listInstanceAgentCommandExecutionsRequest: requests.ListInstanceAgentCommandExecutionsRequest): Promise<responses.ListInstanceAgentCommandExecutionsResponse>; | ||
* | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param ListInstanceAgentCommandsRequest | ||
* @return ListInstanceAgentCommandsResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/ListInstanceAgentCommands.ts.html |here} to see how to use ListInstanceAgentCommands API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/ListInstanceAgentCommands.ts.html |here} to see how to use ListInstanceAgentCommands API. | ||
*/ | ||
@@ -206,2 +215,5 @@ listInstanceAgentCommands(listInstanceAgentCommandsRequest: requests.ListInstanceAgentCommandsRequest): Promise<responses.ListInstanceAgentCommandsResponse>; | ||
} | ||
/** | ||
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration. | ||
*/ | ||
export declare class PluginClient { | ||
@@ -242,6 +254,7 @@ protected static serviceEndpointTemplate: string; | ||
* The API to get information for a plugin. | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param GetInstanceAgentPluginRequest | ||
* @return GetInstanceAgentPluginResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/GetInstanceAgentPlugin.ts.html |here} to see how to use GetInstanceAgentPlugin API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/GetInstanceAgentPlugin.ts.html |here} to see how to use GetInstanceAgentPlugin API. | ||
*/ | ||
@@ -251,6 +264,7 @@ getInstanceAgentPlugin(getInstanceAgentPluginRequest: requests.GetInstanceAgentPluginRequest): Promise<responses.GetInstanceAgentPluginResponse>; | ||
* The API to get one or more plugin information. | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param ListInstanceAgentPluginsRequest | ||
* @return ListInstanceAgentPluginsResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/ListInstanceAgentPlugins.ts.html |here} to see how to use ListInstanceAgentPlugins API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/ListInstanceAgentPlugins.ts.html |here} to see how to use ListInstanceAgentPlugins API. | ||
*/ | ||
@@ -293,2 +307,5 @@ listInstanceAgentPlugins(listInstanceAgentPluginsRequest: requests.ListInstanceAgentPluginsRequest): Promise<responses.ListInstanceAgentPluginsResponse>; | ||
} | ||
/** | ||
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration. | ||
*/ | ||
export declare class PluginconfigClient { | ||
@@ -329,6 +346,7 @@ protected static serviceEndpointTemplate: string; | ||
* The API to get the list of plugins that are available. | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param ListInstanceagentAvailablePluginsRequest | ||
* @return ListInstanceagentAvailablePluginsResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/ListInstanceagentAvailablePlugins.ts.html |here} to see how to use ListInstanceagentAvailablePlugins API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/ListInstanceagentAvailablePlugins.ts.html |here} to see how to use ListInstanceagentAvailablePlugins API. | ||
*/ | ||
@@ -335,0 +353,0 @@ listInstanceagentAvailablePlugins(listInstanceagentAvailablePluginsRequest: requests.ListInstanceagentAvailablePluginsRequest): Promise<responses.ListInstanceagentAvailablePluginsResponse>; |
@@ -57,2 +57,5 @@ "use strict"; | ||
})(ComputeInstanceAgentApiKeys = exports.ComputeInstanceAgentApiKeys || (exports.ComputeInstanceAgentApiKeys = {})); | ||
/** | ||
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration. | ||
*/ | ||
class ComputeInstanceAgentClient { | ||
@@ -72,2 +75,9 @@ constructor(params, clientConfiguration) { | ||
} | ||
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker | ||
const specCircuitBreakerEnabled = false; | ||
if (!this._circuitBreaker && | ||
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) && | ||
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) { | ||
this._circuitBreaker = new common.CircuitBreaker().circuit; | ||
} | ||
this._httpClient = | ||
@@ -149,6 +159,7 @@ params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker); | ||
* | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param CancelInstanceAgentCommandRequest | ||
* @return CancelInstanceAgentCommandResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/CancelInstanceAgentCommand.ts.html |here} to see how to use CancelInstanceAgentCommand API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/CancelInstanceAgentCommand.ts.html |here} to see how to use CancelInstanceAgentCommand API. | ||
*/ | ||
@@ -168,3 +179,4 @@ cancelInstanceAgentCommand(cancelInstanceAgentCommandRequest) { | ||
}; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, cancelInstanceAgentCommandRequest.retryConfiguration); | ||
const specRetryConfiguration = common.NoRetryConfigurationDetails; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelInstanceAgentCommandRequest.retryConfiguration, specRetryConfiguration); | ||
if (this.logger) | ||
@@ -209,6 +221,7 @@ retrier.logger = this.logger; | ||
* | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param CreateInstanceAgentCommandRequest | ||
* @return CreateInstanceAgentCommandResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/CreateInstanceAgentCommand.ts.html |here} to see how to use CreateInstanceAgentCommand API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/CreateInstanceAgentCommand.ts.html |here} to see how to use CreateInstanceAgentCommand API. | ||
*/ | ||
@@ -226,3 +239,4 @@ createInstanceAgentCommand(createInstanceAgentCommandRequest) { | ||
}; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createInstanceAgentCommandRequest.retryConfiguration); | ||
const specRetryConfiguration = common.NoRetryConfigurationDetails; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createInstanceAgentCommandRequest.retryConfiguration, specRetryConfiguration); | ||
if (this.logger) | ||
@@ -270,6 +284,7 @@ retrier.logger = this.logger; | ||
* Gets information about an Oracle Cloud Agent command. | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param GetInstanceAgentCommandRequest | ||
* @return GetInstanceAgentCommandResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/GetInstanceAgentCommand.ts.html |here} to see how to use GetInstanceAgentCommand API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/GetInstanceAgentCommand.ts.html |here} to see how to use GetInstanceAgentCommand API. | ||
*/ | ||
@@ -288,3 +303,4 @@ getInstanceAgentCommand(getInstanceAgentCommandRequest) { | ||
}; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getInstanceAgentCommandRequest.retryConfiguration); | ||
const specRetryConfiguration = common.NoRetryConfigurationDetails; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getInstanceAgentCommandRequest.retryConfiguration, specRetryConfiguration); | ||
if (this.logger) | ||
@@ -331,6 +347,7 @@ retrier.logger = this.logger; | ||
* Gets information about the status of specified instance agent commandId for the given instanceId. | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param GetInstanceAgentCommandExecutionRequest | ||
* @return GetInstanceAgentCommandExecutionResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/GetInstanceAgentCommandExecution.ts.html |here} to see how to use GetInstanceAgentCommandExecution API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/GetInstanceAgentCommandExecution.ts.html |here} to see how to use GetInstanceAgentCommandExecution API. | ||
*/ | ||
@@ -351,3 +368,4 @@ getInstanceAgentCommandExecution(getInstanceAgentCommandExecutionRequest) { | ||
}; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getInstanceAgentCommandExecutionRequest.retryConfiguration); | ||
const specRetryConfiguration = common.NoRetryConfigurationDetails; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getInstanceAgentCommandExecutionRequest.retryConfiguration, specRetryConfiguration); | ||
if (this.logger) | ||
@@ -396,6 +414,7 @@ retrier.logger = this.logger; | ||
* | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param ListInstanceAgentCommandExecutionsRequest | ||
* @return ListInstanceAgentCommandExecutionsResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/ListInstanceAgentCommandExecutions.ts.html |here} to see how to use ListInstanceAgentCommandExecutions API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/ListInstanceAgentCommandExecutions.ts.html |here} to see how to use ListInstanceAgentCommandExecutions API. | ||
*/ | ||
@@ -420,3 +439,4 @@ listInstanceAgentCommandExecutions(listInstanceAgentCommandExecutionsRequest) { | ||
}; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listInstanceAgentCommandExecutionsRequest.retryConfiguration); | ||
const specRetryConfiguration = common.NoRetryConfigurationDetails; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listInstanceAgentCommandExecutionsRequest.retryConfiguration, specRetryConfiguration); | ||
if (this.logger) | ||
@@ -504,6 +524,7 @@ retrier.logger = this.logger; | ||
* | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param ListInstanceAgentCommandsRequest | ||
* @return ListInstanceAgentCommandsResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/ListInstanceAgentCommands.ts.html |here} to see how to use ListInstanceAgentCommands API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/ListInstanceAgentCommands.ts.html |here} to see how to use ListInstanceAgentCommands API. | ||
*/ | ||
@@ -526,3 +547,4 @@ listInstanceAgentCommands(listInstanceAgentCommandsRequest) { | ||
}; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listInstanceAgentCommandsRequest.retryConfiguration); | ||
const specRetryConfiguration = common.NoRetryConfigurationDetails; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listInstanceAgentCommandsRequest.retryConfiguration, specRetryConfiguration); | ||
if (this.logger) | ||
@@ -613,2 +635,5 @@ retrier.logger = this.logger; | ||
})(PluginApiKeys = exports.PluginApiKeys || (exports.PluginApiKeys = {})); | ||
/** | ||
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration. | ||
*/ | ||
class PluginClient { | ||
@@ -628,2 +653,9 @@ constructor(params, clientConfiguration) { | ||
} | ||
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker | ||
const specCircuitBreakerEnabled = false; | ||
if (!this._circuitBreaker && | ||
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) && | ||
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) { | ||
this._circuitBreaker = new common.CircuitBreaker().circuit; | ||
} | ||
this._httpClient = | ||
@@ -679,6 +711,7 @@ params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker); | ||
* The API to get information for a plugin. | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param GetInstanceAgentPluginRequest | ||
* @return GetInstanceAgentPluginResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/GetInstanceAgentPlugin.ts.html |here} to see how to use GetInstanceAgentPlugin API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/GetInstanceAgentPlugin.ts.html |here} to see how to use GetInstanceAgentPlugin API. | ||
*/ | ||
@@ -700,3 +733,4 @@ getInstanceAgentPlugin(getInstanceAgentPluginRequest) { | ||
}; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getInstanceAgentPluginRequest.retryConfiguration); | ||
const specRetryConfiguration = common.NoRetryConfigurationDetails; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getInstanceAgentPluginRequest.retryConfiguration, specRetryConfiguration); | ||
if (this.logger) | ||
@@ -738,6 +772,7 @@ retrier.logger = this.logger; | ||
* The API to get one or more plugin information. | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param ListInstanceAgentPluginsRequest | ||
* @return ListInstanceAgentPluginsResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/ListInstanceAgentPlugins.ts.html |here} to see how to use ListInstanceAgentPlugins API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/ListInstanceAgentPlugins.ts.html |here} to see how to use ListInstanceAgentPlugins API. | ||
*/ | ||
@@ -764,3 +799,4 @@ listInstanceAgentPlugins(listInstanceAgentPluginsRequest) { | ||
}; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listInstanceAgentPluginsRequest.retryConfiguration); | ||
const specRetryConfiguration = common.NoRetryConfigurationDetails; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listInstanceAgentPluginsRequest.retryConfiguration, specRetryConfiguration); | ||
if (this.logger) | ||
@@ -851,2 +887,5 @@ retrier.logger = this.logger; | ||
})(PluginconfigApiKeys = exports.PluginconfigApiKeys || (exports.PluginconfigApiKeys = {})); | ||
/** | ||
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration. | ||
*/ | ||
class PluginconfigClient { | ||
@@ -866,2 +905,9 @@ constructor(params, clientConfiguration) { | ||
} | ||
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker | ||
const specCircuitBreakerEnabled = false; | ||
if (!this._circuitBreaker && | ||
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) && | ||
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) { | ||
this._circuitBreaker = new common.CircuitBreaker().circuit; | ||
} | ||
this._httpClient = | ||
@@ -917,6 +963,7 @@ params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker); | ||
* The API to get the list of plugins that are available. | ||
* This operation does not retry by default if the user has not defined a retry configuration. | ||
* @param ListInstanceagentAvailablePluginsRequest | ||
* @return ListInstanceagentAvailablePluginsResponse | ||
* @throws OciError when an error occurs | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/ListInstanceagentAvailablePlugins.ts.html |here} to see how to use ListInstanceagentAvailablePlugins API. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/ListInstanceagentAvailablePlugins.ts.html |here} to see how to use ListInstanceagentAvailablePlugins API. | ||
*/ | ||
@@ -942,3 +989,4 @@ listInstanceagentAvailablePlugins(listInstanceagentAvailablePluginsRequest) { | ||
}; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listInstanceagentAvailablePluginsRequest.retryConfiguration); | ||
const specRetryConfiguration = common.NoRetryConfigurationDetails; | ||
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listInstanceagentAvailablePluginsRequest.retryConfiguration, specRetryConfiguration); | ||
if (this.logger) | ||
@@ -945,0 +993,0 @@ retrier.logger = this.logger; |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/CancelInstanceAgentCommand.ts.html |here} to see how to use CancelInstanceAgentCommandRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/CancelInstanceAgentCommand.ts.html |here} to see how to use CancelInstanceAgentCommandRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface CancelInstanceAgentCommandRequest extends common.BaseRequest { |
@@ -16,3 +16,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/CreateInstanceAgentCommand.ts.html |here} to see how to use CreateInstanceAgentCommandRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/CreateInstanceAgentCommand.ts.html |here} to see how to use CreateInstanceAgentCommandRequest. | ||
*/ | ||
@@ -19,0 +19,0 @@ export interface CreateInstanceAgentCommandRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/GetInstanceAgentCommandExecution.ts.html |here} to see how to use GetInstanceAgentCommandExecutionRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/GetInstanceAgentCommandExecution.ts.html |here} to see how to use GetInstanceAgentCommandExecutionRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface GetInstanceAgentCommandExecutionRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/GetInstanceAgentCommand.ts.html |here} to see how to use GetInstanceAgentCommandRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/GetInstanceAgentCommand.ts.html |here} to see how to use GetInstanceAgentCommandRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface GetInstanceAgentCommandRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/GetInstanceAgentPlugin.ts.html |here} to see how to use GetInstanceAgentPluginRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/GetInstanceAgentPlugin.ts.html |here} to see how to use GetInstanceAgentPluginRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface GetInstanceAgentPluginRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/ListInstanceAgentCommandExecutions.ts.html |here} to see how to use ListInstanceAgentCommandExecutionsRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/ListInstanceAgentCommandExecutions.ts.html |here} to see how to use ListInstanceAgentCommandExecutionsRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface ListInstanceAgentCommandExecutionsRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/ListInstanceAgentCommands.ts.html |here} to see how to use ListInstanceAgentCommandsRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/ListInstanceAgentCommands.ts.html |here} to see how to use ListInstanceAgentCommandsRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface ListInstanceAgentCommandsRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/ListInstanceAgentPlugins.ts.html |here} to see how to use ListInstanceAgentPluginsRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/ListInstanceAgentPlugins.ts.html |here} to see how to use ListInstanceAgentPluginsRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface ListInstanceAgentPluginsRequest extends common.BaseRequest { |
@@ -15,3 +15,3 @@ /** | ||
/** | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.2/computeinstanceagent/ListInstanceagentAvailablePlugins.ts.html |here} to see how to use ListInstanceagentAvailablePluginsRequest. | ||
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/computeinstanceagent/ListInstanceagentAvailablePlugins.ts.html |here} to see how to use ListInstanceagentAvailablePluginsRequest. | ||
*/ | ||
@@ -18,0 +18,0 @@ export interface ListInstanceagentAvailablePluginsRequest extends common.BaseRequest { |
{ | ||
"name": "oci-computeinstanceagent", | ||
"version": "2.5.2", | ||
"version": "2.6.0", | ||
"description": "OCI NodeJS client for Compute Instance Agent Service", | ||
@@ -18,4 +18,4 @@ "repository": { | ||
"dependencies": { | ||
"oci-common": "2.5.2", | ||
"oci-workrequests": "2.5.2" | ||
"oci-common": "2.6.0", | ||
"oci-workrequests": "2.6.0" | ||
}, | ||
@@ -22,0 +22,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
400938
5112
+ Addedoci-common@2.6.0(transitive)
+ Addedoci-workrequests@2.6.0(transitive)
- Removedoci-common@2.5.2(transitive)
- Removedoci-workrequests@2.5.2(transitive)
Updatedoci-common@2.6.0
Updatedoci-workrequests@2.6.0