Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oci-computeinstanceagent

Package Overview
Dependencies
Maintainers
2
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oci-computeinstanceagent - npm Package Compare versions

Comparing version 1.14.0 to 1.15.0

lib/model/available-plugin-summary.d.ts

8

index.d.ts
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -23,1 +25,3 @@ *

export import ComputeInstanceAgentWaiter = computeinstanceagent_waiter.ComputeInstanceAgentWaiter;
export import PluginClient = client.PluginClient;
export import PluginconfigClient = client.PluginconfigClient;
"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -34,3 +36,3 @@ *

Object.defineProperty(exports, "__esModule", { value: true });
exports.ComputeInstanceAgentWaiter = exports.ComputeInstanceAgentClient = exports.responses = exports.requests = exports.models = void 0;
exports.PluginconfigClient = exports.PluginClient = exports.ComputeInstanceAgentWaiter = exports.ComputeInstanceAgentClient = exports.responses = exports.requests = exports.models = void 0;
const requests = __importStar(require("./lib/request"));

@@ -46,2 +48,4 @@ exports.requests = requests;

exports.ComputeInstanceAgentWaiter = computeinstanceagent_waiter.ComputeInstanceAgentWaiter;
exports.PluginClient = client.PluginClient;
exports.PluginconfigClient = client.PluginconfigClient;
//# sourceMappingURL=index.js.map
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -68,25 +70,35 @@ *

/**
* Cancel a command. Cancel is best effort attempt. If the commmand has already completed it will skip cancel.
*
* @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/1.14.0/computeinstanceagent/CancelInstanceAgentCommand.ts.html |here} to see how to use CancelInstanceAgentCommand API.
*/
* Cancels a command that is scheduled to run on a compute instance that is managed
* by Oracle Cloud Agent.
* <p>
Canceling a command is a best-effort attempt. If the command has already
* completed, it will not be canceled.
*
* @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/1.15.0/computeinstanceagent/CancelInstanceAgentCommand.ts.html |here} to see how to use CancelInstanceAgentCommand API.
*/
cancelInstanceAgentCommand(cancelInstanceAgentCommandRequest: requests.CancelInstanceAgentCommandRequest): Promise<responses.CancelInstanceAgentCommandResponse>;
/**
* Create command for one or more managed instances
*
* @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/1.14.0/computeinstanceagent/CreateInstanceAgentCommand.ts.html |here} to see how to use CreateInstanceAgentCommand API.
*/
* Creates a command or script to run on a compute instance that is managed by Oracle Cloud Agent.
* <p>
On Linux instances, the script runs in a bash shell. On Windows instances, the
* script runs in a batch shell.
* <p>
Commands that require administrator privileges will run only if Oracle Cloud Agent
* is running with administrator privileges.
*
* @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/1.15.0/computeinstanceagent/CreateInstanceAgentCommand.ts.html |here} to see how to use CreateInstanceAgentCommand API.
*/
createInstanceAgentCommand(createInstanceAgentCommandRequest: requests.CreateInstanceAgentCommandRequest): Promise<responses.CreateInstanceAgentCommandResponse>;
/**
* Gets information about the specified instance agent commandId.
* Gets information about an Oracle Cloud Agent command.
* @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/1.14.0/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/1.15.0/computeinstanceagent/GetInstanceAgentCommand.ts.html |here} to see how to use GetInstanceAgentCommand API.
*/

@@ -99,8 +111,8 @@ getInstanceAgentCommand(getInstanceAgentCommandRequest: requests.GetInstanceAgentCommandRequest): Promise<responses.GetInstanceAgentCommandResponse>;

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.14.0/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/1.15.0/computeinstanceagent/GetInstanceAgentCommandExecution.ts.html |here} to see how to use GetInstanceAgentCommandExecution API.
*/
getInstanceAgentCommandExecution(getInstanceAgentCommandExecutionRequest: requests.GetInstanceAgentCommandExecutionRequest): Promise<responses.GetInstanceAgentCommandExecutionResponse>;
/**
* List all executions of a command, i.e return command execution results from all targeted instances batch by
* batch.
* Lists the execution details for Oracle Cloud Agent commands that run on the specified compute
* instance.
*

@@ -110,3 +122,3 @@ * @param ListInstanceAgentCommandExecutionsRequest

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.14.0/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/1.15.0/computeinstanceagent/ListInstanceAgentCommandExecutions.ts.html |here} to see how to use ListInstanceAgentCommandExecutions API.
*/

@@ -130,4 +142,3 @@ listInstanceAgentCommandExecutions(listInstanceAgentCommandExecutionsRequest: requests.ListInstanceAgentCommandExecutionsRequest): Promise<responses.ListInstanceAgentCommandExecutionsResponse>;

/**
* List Instance agent commands issued with the specified filter.
* Additonally you can filter commands sent to a particular InstanceId
* Lists the Oracle Cloud Agent commands issued in a compartment.
*

@@ -137,3 +148,3 @@ * @param ListInstanceAgentCommandsRequest

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.14.0/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/1.15.0/computeinstanceagent/ListInstanceAgentCommands.ts.html |here} to see how to use ListInstanceAgentCommands API.
*/

@@ -157,1 +168,127 @@ listInstanceAgentCommands(listInstanceAgentCommandsRequest: requests.ListInstanceAgentCommandsRequest): Promise<responses.ListInstanceAgentCommandsResponse>;

}
export declare enum PluginApiKeys {
}
export declare class PluginClient {
protected static serviceEndpointTemplate: string;
protected "_endpoint": string;
protected "_defaultHeaders": any;
protected "_clientConfiguration": common.ClientConfiguration;
protected _circuitBreaker: null;
protected _httpClient: common.HttpClient;
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
/**
* Get the endpoint that is being used to call (ex, https://www.example.com).
*/
get endpoint(): string;
/**
* Sets the endpoint to call (ex, https://www.example.com).
* @param endpoint The endpoint of the service.
*/
set endpoint(endpoint: string);
get logger(): import("oci-common/lib/log").Logger;
/**
* Sets the region to call (ex, Region.US_PHOENIX_1).
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
* @param region The region of the service.
*/
set region(region: common.Region);
/**
* Sets the regionId to call (ex, 'us-phoenix-1').
*
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
* and then call {@link #endpoint(String) endpoint}.
* @param regionId The public region ID.
*/
set regionId(regionId: string);
/**
* The API to get information for a plugin.
* @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/1.15.0/computeinstanceagent/GetInstanceAgentPlugin.ts.html |here} to see how to use GetInstanceAgentPlugin API.
*/
getInstanceAgentPlugin(getInstanceAgentPluginRequest: requests.GetInstanceAgentPluginRequest): Promise<responses.GetInstanceAgentPluginResponse>;
/**
* The API to get one or more plugin information.
* @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/1.15.0/computeinstanceagent/ListInstanceAgentPlugins.ts.html |here} to see how to use ListInstanceAgentPlugins API.
*/
listInstanceAgentPlugins(listInstanceAgentPluginsRequest: requests.ListInstanceAgentPluginsRequest): Promise<responses.ListInstanceAgentPluginsResponse>;
/**
* Creates a new async iterator which will iterate over the models.InstanceAgentPluginSummary objects
* contained in responses from the listInstanceAgentPlugins operation. This iterator will fetch more data from the
* server as needed.
*
* @param request a request which can be sent to the service operation
*/
listAllInstanceAgentPlugins(request: requests.ListInstanceAgentPluginsRequest): AsyncIterableIterator<models.InstanceAgentPluginSummary>;
/**
* Creates a new async iterator which will iterate over the responses received from the listInstanceAgentPlugins operation. This iterator
* will fetch more data from the server as needed.
*
* @param request a request which can be sent to the service operation
*/
listAllInstanceAgentPluginsResponses(request: requests.ListInstanceAgentPluginsRequest): AsyncIterableIterator<responses.ListInstanceAgentPluginsResponse>;
}
export declare enum PluginconfigApiKeys {
}
export declare class PluginconfigClient {
protected static serviceEndpointTemplate: string;
protected "_endpoint": string;
protected "_defaultHeaders": any;
protected "_clientConfiguration": common.ClientConfiguration;
protected _circuitBreaker: null;
protected _httpClient: common.HttpClient;
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
/**
* Get the endpoint that is being used to call (ex, https://www.example.com).
*/
get endpoint(): string;
/**
* Sets the endpoint to call (ex, https://www.example.com).
* @param endpoint The endpoint of the service.
*/
set endpoint(endpoint: string);
get logger(): import("oci-common/lib/log").Logger;
/**
* Sets the region to call (ex, Region.US_PHOENIX_1).
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
* @param region The region of the service.
*/
set region(region: common.Region);
/**
* Sets the regionId to call (ex, 'us-phoenix-1').
*
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
* and then call {@link #endpoint(String) endpoint}.
* @param regionId The public region ID.
*/
set regionId(regionId: string);
/**
* The API to get the list of plugins that are available.
* @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/1.15.0/computeinstanceagent/ListInstanceagentAvailablePlugins.ts.html |here} to see how to use ListInstanceagentAvailablePlugins API.
*/
listInstanceagentAvailablePlugins(listInstanceagentAvailablePluginsRequest: requests.ListInstanceagentAvailablePluginsRequest): Promise<responses.ListInstanceagentAvailablePluginsResponse>;
/**
* Creates a new async iterator which will iterate over the models.AvailablePluginSummary objects
* contained in responses from the listInstanceagentAvailablePlugins operation. This iterator will fetch more data from the
* server as needed.
*
* @param request a request which can be sent to the service operation
*/
listAllInstanceagentAvailablePlugins(request: requests.ListInstanceagentAvailablePluginsRequest): AsyncIterableIterator<models.AvailablePluginSummary>;
/**
* Creates a new async iterator which will iterate over the responses received from the listInstanceagentAvailablePlugins operation. This iterator
* will fetch more data from the server as needed.
*
* @param request a request which can be sent to the service operation
*/
listAllInstanceagentAvailablePluginsResponses(request: requests.ListInstanceagentAvailablePluginsRequest): AsyncIterableIterator<responses.ListInstanceagentAvailablePluginsResponse>;
}
"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -43,3 +45,3 @@ *

Object.defineProperty(exports, "__esModule", { value: true });
exports.ComputeInstanceAgentClient = exports.ComputeInstanceAgentApiKeys = void 0;
exports.PluginconfigClient = exports.PluginconfigApiKeys = exports.PluginClient = exports.PluginApiKeys = exports.ComputeInstanceAgentClient = exports.ComputeInstanceAgentApiKeys = void 0;
const common = require("oci-common");

@@ -140,9 +142,13 @@ const models = __importStar(require("./model"));

/**
* Cancel a command. Cancel is best effort attempt. If the commmand has already completed it will skip cancel.
*
* @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/1.14.0/computeinstanceagent/CancelInstanceAgentCommand.ts.html |here} to see how to use CancelInstanceAgentCommand API.
*/
* Cancels a command that is scheduled to run on a compute instance that is managed
* by Oracle Cloud Agent.
* <p>
Canceling a command is a best-effort attempt. If the command has already
* completed, it will not be canceled.
*
* @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/1.15.0/computeinstanceagent/CancelInstanceAgentCommand.ts.html |here} to see how to use CancelInstanceAgentCommand API.
*/
cancelInstanceAgentCommand(cancelInstanceAgentCommandRequest) {

@@ -193,9 +199,15 @@ return __awaiter(this, void 0, void 0, function* () {

/**
* Create command for one or more managed instances
*
* @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/1.14.0/computeinstanceagent/CreateInstanceAgentCommand.ts.html |here} to see how to use CreateInstanceAgentCommand API.
*/
* Creates a command or script to run on a compute instance that is managed by Oracle Cloud Agent.
* <p>
On Linux instances, the script runs in a bash shell. On Windows instances, the
* script runs in a batch shell.
* <p>
Commands that require administrator privileges will run only if Oracle Cloud Agent
* is running with administrator privileges.
*
* @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/1.15.0/computeinstanceagent/CreateInstanceAgentCommand.ts.html |here} to see how to use CreateInstanceAgentCommand API.
*/
createInstanceAgentCommand(createInstanceAgentCommandRequest) {

@@ -253,7 +265,7 @@ return __awaiter(this, void 0, void 0, function* () {

/**
* Gets information about the specified instance agent commandId.
* Gets information about an Oracle Cloud Agent command.
* @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/1.14.0/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/1.15.0/computeinstanceagent/GetInstanceAgentCommand.ts.html |here} to see how to use GetInstanceAgentCommand API.
*/

@@ -316,3 +328,3 @@ getInstanceAgentCommand(getInstanceAgentCommandRequest) {

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.14.0/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/1.15.0/computeinstanceagent/GetInstanceAgentCommandExecution.ts.html |here} to see how to use GetInstanceAgentCommandExecution API.
*/

@@ -373,4 +385,4 @@ getInstanceAgentCommandExecution(getInstanceAgentCommandExecutionRequest) {

/**
* List all executions of a command, i.e return command execution results from all targeted instances batch by
* batch.
* Lists the execution details for Oracle Cloud Agent commands that run on the specified compute
* instance.
*

@@ -380,3 +392,3 @@ * @param ListInstanceAgentCommandExecutionsRequest

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.14.0/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/1.15.0/computeinstanceagent/ListInstanceAgentCommandExecutions.ts.html |here} to see how to use ListInstanceAgentCommandExecutions API.
*/

@@ -460,4 +472,3 @@ listInstanceAgentCommandExecutions(listInstanceAgentCommandExecutionsRequest) {

/**
* List Instance agent commands issued with the specified filter.
* Additonally you can filter commands sent to a particular InstanceId
* Lists the Oracle Cloud Agent commands issued in a compartment.
*

@@ -467,3 +478,3 @@ * @param ListInstanceAgentCommandsRequest

* @throws OciError when an error occurs
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.14.0/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/1.15.0/computeinstanceagent/ListInstanceAgentCommands.ts.html |here} to see how to use ListInstanceAgentCommands API.
*/

@@ -547,2 +558,363 @@ listInstanceAgentCommands(listInstanceAgentCommandsRequest) {

ComputeInstanceAgentClient.serviceEndpointTemplate = "https://iaas.{region}.{secondLevelDomain}";
var PluginApiKeys;
(function (PluginApiKeys) {
})(PluginApiKeys = exports.PluginApiKeys || (exports.PluginApiKeys = {}));
class PluginClient {
constructor(params, clientConfiguration) {
this["_endpoint"] = "";
this["_defaultHeaders"] = {};
this._circuitBreaker = null;
const requestSigner = params.authenticationDetailsProvider
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
: null;
if (clientConfiguration) {
this._clientConfiguration = clientConfiguration;
this._circuitBreaker = clientConfiguration.circuitBreaker
? clientConfiguration.circuitBreaker.circuit
: null;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
if (params.authenticationDetailsProvider &&
common.isRegionProvider(params.authenticationDetailsProvider)) {
const provider = params.authenticationDetailsProvider;
if (provider.getRegion()) {
this.region = provider.getRegion();
}
}
}
/**
* Get the endpoint that is being used to call (ex, https://www.example.com).
*/
get endpoint() {
return this._endpoint;
}
/**
* Sets the endpoint to call (ex, https://www.example.com).
* @param endpoint The endpoint of the service.
*/
set endpoint(endpoint) {
this._endpoint = endpoint;
this._endpoint = this._endpoint + "/20180530";
if (this.logger)
this.logger.info(`PluginClient endpoint set to ${this._endpoint}`);
}
get logger() {
return common.LOG.logger;
}
/**
* Sets the region to call (ex, Region.US_PHOENIX_1).
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
* @param region The region of the service.
*/
set region(region) {
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(PluginClient.serviceEndpointTemplate, region);
}
/**
* Sets the regionId to call (ex, 'us-phoenix-1').
*
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
* and then call {@link #endpoint(String) endpoint}.
* @param regionId The public region ID.
*/
set regionId(regionId) {
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(PluginClient.serviceEndpointTemplate, regionId);
}
/**
* The API to get information for a plugin.
* @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/1.15.0/computeinstanceagent/GetInstanceAgentPlugin.ts.html |here} to see how to use GetInstanceAgentPlugin API.
*/
getInstanceAgentPlugin(getInstanceAgentPluginRequest) {
return __awaiter(this, void 0, void 0, function* () {
if (this.logger)
this.logger.debug("Calling operation PluginClient#getInstanceAgentPlugin.");
const pathParams = {
"{instanceagentId}": getInstanceAgentPluginRequest.instanceagentId,
"{pluginName}": getInstanceAgentPluginRequest.pluginName
};
const queryParams = {
"compartmentId": getInstanceAgentPluginRequest.compartmentId
};
let headerParams = {
"Content-Type": common.Constants.APPLICATION_JSON,
"opc-request-id": getInstanceAgentPluginRequest.opcRequestId
};
const request = yield oci_common_2.composeRequest({
baseEndpoint: this._endpoint,
defaultHeaders: this._defaultHeaders,
path: "/instanceagents/{instanceagentId}/plugins/{pluginName}",
method: "GET",
pathParams: pathParams,
headerParams: headerParams,
queryParams: queryParams
});
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getInstanceAgentPluginRequest.retryConfiguration);
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_2.composeResponse({
responseObject: {},
body: yield response.json(),
bodyKey: "instanceAgentPlugin",
bodyModel: "model.InstanceAgentPlugin",
responseHeaders: [
{
value: response.headers.get("opc-request-id"),
key: "opcRequestId",
dataType: "string"
}
]
});
return sdkResponse;
}
catch (err) {
throw err;
}
});
}
/**
* The API to get one or more plugin information.
* @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/1.15.0/computeinstanceagent/ListInstanceAgentPlugins.ts.html |here} to see how to use ListInstanceAgentPlugins API.
*/
listInstanceAgentPlugins(listInstanceAgentPluginsRequest) {
return __awaiter(this, void 0, void 0, function* () {
if (this.logger)
this.logger.debug("Calling operation PluginClient#listInstanceAgentPlugins.");
const pathParams = {
"{instanceagentId}": listInstanceAgentPluginsRequest.instanceagentId
};
const queryParams = {
"compartmentId": listInstanceAgentPluginsRequest.compartmentId,
"status": listInstanceAgentPluginsRequest.status,
"page": listInstanceAgentPluginsRequest.page,
"limit": listInstanceAgentPluginsRequest.limit,
"sortBy": listInstanceAgentPluginsRequest.sortBy,
"sortOrder": listInstanceAgentPluginsRequest.sortOrder,
"name": listInstanceAgentPluginsRequest.name
};
let headerParams = {
"Content-Type": common.Constants.APPLICATION_JSON,
"opc-request-id": listInstanceAgentPluginsRequest.opcRequestId
};
const request = yield oci_common_2.composeRequest({
baseEndpoint: this._endpoint,
defaultHeaders: this._defaultHeaders,
path: "/instanceagents/{instanceagentId}/plugins",
method: "GET",
pathParams: pathParams,
headerParams: headerParams,
queryParams: queryParams
});
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listInstanceAgentPluginsRequest.retryConfiguration);
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_2.composeResponse({
responseObject: {},
body: yield response.json(),
bodyKey: "items",
bodyModel: "InstanceAgentPluginSummary[]",
responseHeaders: [
{
value: response.headers.get("opc-request-id"),
key: "opcRequestId",
dataType: "string"
},
{
value: response.headers.get("opc-next-page"),
key: "opcNextPage",
dataType: "string"
}
]
});
return sdkResponse;
}
catch (err) {
throw err;
}
});
}
/**
* Creates a new async iterator which will iterate over the models.InstanceAgentPluginSummary objects
* contained in responses from the listInstanceAgentPlugins operation. This iterator will fetch more data from the
* server as needed.
*
* @param request a request which can be sent to the service operation
*/
listAllInstanceAgentPlugins(request) {
return oci_common_1.paginateRecords(request, req => this.listInstanceAgentPlugins(req));
}
/**
* Creates a new async iterator which will iterate over the responses received from the listInstanceAgentPlugins operation. This iterator
* will fetch more data from the server as needed.
*
* @param request a request which can be sent to the service operation
*/
listAllInstanceAgentPluginsResponses(request) {
return oci_common_1.paginateResponses(request, req => this.listInstanceAgentPlugins(req));
}
}
exports.PluginClient = PluginClient;
PluginClient.serviceEndpointTemplate = "https://iaas.{region}.{secondLevelDomain}";
var PluginconfigApiKeys;
(function (PluginconfigApiKeys) {
})(PluginconfigApiKeys = exports.PluginconfigApiKeys || (exports.PluginconfigApiKeys = {}));
class PluginconfigClient {
constructor(params, clientConfiguration) {
this["_endpoint"] = "";
this["_defaultHeaders"] = {};
this._circuitBreaker = null;
const requestSigner = params.authenticationDetailsProvider
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
: null;
if (clientConfiguration) {
this._clientConfiguration = clientConfiguration;
this._circuitBreaker = clientConfiguration.circuitBreaker
? clientConfiguration.circuitBreaker.circuit
: null;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
if (params.authenticationDetailsProvider &&
common.isRegionProvider(params.authenticationDetailsProvider)) {
const provider = params.authenticationDetailsProvider;
if (provider.getRegion()) {
this.region = provider.getRegion();
}
}
}
/**
* Get the endpoint that is being used to call (ex, https://www.example.com).
*/
get endpoint() {
return this._endpoint;
}
/**
* Sets the endpoint to call (ex, https://www.example.com).
* @param endpoint The endpoint of the service.
*/
set endpoint(endpoint) {
this._endpoint = endpoint;
this._endpoint = this._endpoint + "/20180530";
if (this.logger)
this.logger.info(`PluginconfigClient endpoint set to ${this._endpoint}`);
}
get logger() {
return common.LOG.logger;
}
/**
* Sets the region to call (ex, Region.US_PHOENIX_1).
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
* @param region The region of the service.
*/
set region(region) {
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(PluginconfigClient.serviceEndpointTemplate, region);
}
/**
* Sets the regionId to call (ex, 'us-phoenix-1').
*
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
* and then call {@link #endpoint(String) endpoint}.
* @param regionId The public region ID.
*/
set regionId(regionId) {
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(PluginconfigClient.serviceEndpointTemplate, regionId);
}
/**
* The API to get the list of plugins that are available.
* @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/1.15.0/computeinstanceagent/ListInstanceagentAvailablePlugins.ts.html |here} to see how to use ListInstanceagentAvailablePlugins API.
*/
listInstanceagentAvailablePlugins(listInstanceagentAvailablePluginsRequest) {
return __awaiter(this, void 0, void 0, function* () {
if (this.logger)
this.logger.debug("Calling operation PluginconfigClient#listInstanceagentAvailablePlugins.");
const pathParams = {};
const queryParams = {
"compartmentId": listInstanceagentAvailablePluginsRequest.compartmentId,
"page": listInstanceagentAvailablePluginsRequest.page,
"limit": listInstanceagentAvailablePluginsRequest.limit,
"osName": listInstanceagentAvailablePluginsRequest.osName,
"osVersion": listInstanceagentAvailablePluginsRequest.osVersion,
"sortBy": listInstanceagentAvailablePluginsRequest.sortBy,
"sortOrder": listInstanceagentAvailablePluginsRequest.sortOrder,
"name": listInstanceagentAvailablePluginsRequest.name
};
let headerParams = {
"Content-Type": common.Constants.APPLICATION_JSON,
"opc-request-id": listInstanceagentAvailablePluginsRequest.opcRequestId
};
const request = yield oci_common_2.composeRequest({
baseEndpoint: this._endpoint,
defaultHeaders: this._defaultHeaders,
path: "/instanceagent/availablePlugins",
method: "GET",
pathParams: pathParams,
headerParams: headerParams,
queryParams: queryParams
});
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listInstanceagentAvailablePluginsRequest.retryConfiguration);
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_2.composeResponse({
responseObject: {},
body: yield response.json(),
bodyKey: "items",
bodyModel: "AvailablePluginSummary[]",
responseHeaders: [
{
value: response.headers.get("opc-request-id"),
key: "opcRequestId",
dataType: "string"
},
{
value: response.headers.get("opc-next-page"),
key: "opcNextPage",
dataType: "string"
}
]
});
return sdkResponse;
}
catch (err) {
throw err;
}
});
}
/**
* Creates a new async iterator which will iterate over the models.AvailablePluginSummary objects
* contained in responses from the listInstanceagentAvailablePlugins operation. This iterator will fetch more data from the
* server as needed.
*
* @param request a request which can be sent to the service operation
*/
listAllInstanceagentAvailablePlugins(request) {
return oci_common_1.paginateRecords(request, req => this.listInstanceagentAvailablePlugins(req));
}
/**
* Creates a new async iterator which will iterate over the responses received from the listInstanceagentAvailablePlugins operation. This iterator
* will fetch more data from the server as needed.
*
* @param request a request which can be sent to the service operation
*/
listAllInstanceagentAvailablePluginsResponses(request) {
return oci_common_1.paginateResponses(request, req => this.listInstanceagentAvailablePlugins(req));
}
}
exports.PluginconfigClient = PluginconfigClient;
PluginconfigClient.serviceEndpointTemplate = "https://iaas.{region}.{secondLevelDomain}";
//# sourceMappingURL=client.js.map
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -5,0 +7,0 @@ *

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -15,21 +17,30 @@ *

/**
* Create Command Details
* Creation details for an Oracle Cloud Agent command.
*/
export interface CreateInstanceAgentCommandDetails {
/**
* The OCID of the compartment you want to create the command.
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment to create the command in.
*/
"compartmentId": string;
/**
* Command execution time limit. Zero means no timeout.
* The amount of time that Oracle Cloud Agent is given to run the command on the instance before timing
* out. The timer starts when Oracle Cloud Agent starts the command. Zero means no timeout.
*
*/
"executionTimeOutInSeconds": number;
/**
* A user-friendly name for the command. It does not have to be unique.
* Avoid entering confidential information.
* Example: `Database Backup Command`
*
* A user-friendly name for the command. It does not have to be unique.
* Avoid entering confidential information.
* <p>
Example: `Database Backup Script`
*
*/
"displayName"?: string;
/**
* The target instance to run the command on.
*/
"displayName"?: string;
"target": model.InstanceAgentCommandTarget;
/**
* The contents of the command.
*/
"content": model.InstanceAgentCommandContent;

@@ -36,0 +47,0 @@ }

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -13,2 +15,4 @@ *

*/
import * as AvailablePluginSummary from "./available-plugin-summary";
export import AvailablePluginSummary = AvailablePluginSummary.AvailablePluginSummary;
import * as CreateInstanceAgentCommandDetails from "./create-instance-agent-command-details";

@@ -20,4 +24,2 @@ export import CreateInstanceAgentCommandDetails = CreateInstanceAgentCommandDetails.CreateInstanceAgentCommandDetails;

export import InstanceAgentCommandContent = InstanceAgentCommandContent.InstanceAgentCommandContent;
import * as InstanceAgentCommandContentInfo from "./instance-agent-command-content-info";
export import InstanceAgentCommandContentInfo = InstanceAgentCommandContentInfo.InstanceAgentCommandContentInfo;
import * as InstanceAgentCommandExecution from "./instance-agent-command-execution";

@@ -37,2 +39,8 @@ export import InstanceAgentCommandExecution = InstanceAgentCommandExecution.InstanceAgentCommandExecution;

export import InstanceAgentCommandTarget = InstanceAgentCommandTarget.InstanceAgentCommandTarget;
import * as InstanceAgentPlugin from "./instance-agent-plugin";
export import InstanceAgentPlugin = InstanceAgentPlugin.InstanceAgentPlugin;
import * as InstanceAgentPluginSummary from "./instance-agent-plugin-summary";
export import InstanceAgentPluginSummary = InstanceAgentPluginSummary.InstanceAgentPluginSummary;
import * as Plugin from "./plugin";
export import Plugin = Plugin.Plugin;
import * as InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails from "./instance-agent-command-execution-output-via-object-storage-tuple-details";

@@ -39,0 +47,0 @@ export import InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails = InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails.InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails;

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -34,3 +36,5 @@ *

Object.defineProperty(exports, "__esModule", { value: true });
exports.InstanceAgentCommandSourceViaTextDetails = exports.InstanceAgentCommandSourceViaObjectStorageUriDetails = exports.InstanceAgentCommandSourceViaObjectStorageTupleDetails = exports.InstanceAgentCommandOutputViaTextDetails = exports.InstanceAgentCommandOutputViaObjectStorageUriDetails = exports.InstanceAgentCommandOutputViaObjectStorageTupleDetails = exports.InstanceAgentCommandExecutionOutputViaTextDetails = exports.InstanceAgentCommandExecutionOutputViaObjectStorageUriDetails = exports.InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails = exports.InstanceAgentCommandTarget = exports.InstanceAgentCommandSummary = exports.InstanceAgentCommandSourceDetails = exports.InstanceAgentCommandOutputDetails = exports.InstanceAgentCommandExecutionSummary = exports.InstanceAgentCommandExecutionOutputContent = exports.InstanceAgentCommandExecution = exports.InstanceAgentCommandContentInfo = exports.InstanceAgentCommandContent = exports.InstanceAgentCommand = exports.CreateInstanceAgentCommandDetails = void 0;
exports.InstanceAgentCommandSourceViaTextDetails = exports.InstanceAgentCommandSourceViaObjectStorageUriDetails = exports.InstanceAgentCommandSourceViaObjectStorageTupleDetails = exports.InstanceAgentCommandOutputViaTextDetails = exports.InstanceAgentCommandOutputViaObjectStorageUriDetails = exports.InstanceAgentCommandOutputViaObjectStorageTupleDetails = exports.InstanceAgentCommandExecutionOutputViaTextDetails = exports.InstanceAgentCommandExecutionOutputViaObjectStorageUriDetails = exports.InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails = exports.Plugin = exports.InstanceAgentPluginSummary = exports.InstanceAgentPlugin = exports.InstanceAgentCommandTarget = exports.InstanceAgentCommandSummary = exports.InstanceAgentCommandSourceDetails = exports.InstanceAgentCommandOutputDetails = exports.InstanceAgentCommandExecutionSummary = exports.InstanceAgentCommandExecutionOutputContent = exports.InstanceAgentCommandExecution = exports.InstanceAgentCommandContent = exports.InstanceAgentCommand = exports.CreateInstanceAgentCommandDetails = exports.AvailablePluginSummary = void 0;
const AvailablePluginSummary = __importStar(require("./available-plugin-summary"));
exports.AvailablePluginSummary = AvailablePluginSummary.AvailablePluginSummary;
const CreateInstanceAgentCommandDetails = __importStar(require("./create-instance-agent-command-details"));

@@ -42,4 +46,2 @@ exports.CreateInstanceAgentCommandDetails = CreateInstanceAgentCommandDetails.CreateInstanceAgentCommandDetails;

exports.InstanceAgentCommandContent = InstanceAgentCommandContent.InstanceAgentCommandContent;
const InstanceAgentCommandContentInfo = __importStar(require("./instance-agent-command-content-info"));
exports.InstanceAgentCommandContentInfo = InstanceAgentCommandContentInfo.InstanceAgentCommandContentInfo;
const InstanceAgentCommandExecution = __importStar(require("./instance-agent-command-execution"));

@@ -59,2 +61,8 @@ exports.InstanceAgentCommandExecution = InstanceAgentCommandExecution.InstanceAgentCommandExecution;

exports.InstanceAgentCommandTarget = InstanceAgentCommandTarget.InstanceAgentCommandTarget;
const InstanceAgentPlugin = __importStar(require("./instance-agent-plugin"));
exports.InstanceAgentPlugin = InstanceAgentPlugin.InstanceAgentPlugin;
const InstanceAgentPluginSummary = __importStar(require("./instance-agent-plugin-summary"));
exports.InstanceAgentPluginSummary = InstanceAgentPluginSummary.InstanceAgentPluginSummary;
const Plugin = __importStar(require("./plugin"));
exports.Plugin = Plugin.Plugin;
const InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails = __importStar(require("./instance-agent-command-execution-output-via-object-storage-tuple-details"));

@@ -61,0 +69,0 @@ exports.InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails = InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails.InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails;

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -15,6 +17,12 @@ *

/**
* Command content.
* The contents of the command.
*/
export interface InstanceAgentCommandContent {
/**
* The source of the command.
*/
"source": model.InstanceAgentCommandSourceViaObjectStorageTupleDetails | model.InstanceAgentCommandSourceViaObjectStorageUriDetails | model.InstanceAgentCommandSourceViaTextDetails;
/**
* The output destination for the command.
*/
"output"?: model.InstanceAgentCommandOutputViaObjectStorageUriDetails | model.InstanceAgentCommandOutputViaObjectStorageTupleDetails | model.InstanceAgentCommandOutputViaTextDetails;

@@ -21,0 +29,0 @@ }

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -14,11 +16,12 @@ *

/**
* command execution output.
* The execution output from a command.
*/
export interface InstanceAgentCommandExecutionOutputContent {
/**
* command exit code.
* The exit code for the command. Exit code `0` indicates success.
*/
"exitCode": number;
/**
* optional status message that agent's can populate for additional troubleshooting.
* An optional status message that Oracle Cloud Agent can populate for additional troubleshooting.
*
*/

@@ -25,0 +28,0 @@ "message"?: string;

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -15,3 +17,3 @@ *

/**
* command execution output via object storage tuple.
* The execution output from a command when saved to an Object Storage bucket.
*/

@@ -28,3 +30,3 @@ export interface InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails extends model.InstanceAgentCommandExecutionOutputContent {

/**
* The Object Storage name for the command output.
* The Object Storage object name for the command output.
*/

@@ -31,0 +33,0 @@ "objectName": string;

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -15,7 +17,7 @@ *

/**
* command execution output via uri.
* The execution output from a command when saved to an Object Storage URL.
*/
export interface InstanceAgentCommandExecutionOutputViaObjectStorageUriDetails extends model.InstanceAgentCommandExecutionOutputContent {
/**
* The Object Storage URL or PAR for the command output.
* The Object Storage URL or pre-authenticated request (PAR) for the command output.
*/

@@ -22,0 +24,0 @@ "outputUri": string;

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -15,11 +17,11 @@ *

/**
* command execution output via text.
* The execution output from a command when returned in plain text.
*/
export interface InstanceAgentCommandExecutionOutputViaTextDetails extends model.InstanceAgentCommandExecutionOutputContent {
/**
* The command response output.
* The command output.
*/
"text": string;
"text"?: string;
/**
* Sha256 checksum value of the text content
* SHA-256 checksum value of the text content.
*/

@@ -26,0 +28,0 @@ "textSha256"?: string;

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -15,20 +17,20 @@ *

/**
* A command's execution summary.
* Execution details for a command.
*/
export interface InstanceAgentCommandExecutionSummary {
/**
* The OCID of the command
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the command.
*/
"instanceAgentCommandId": string;
/**
* The OCID of the instance
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance.
*/
"instanceId": string;
/**
* Specifies the command delivery state.
* * `VISIBLE` - The command is visible to instance.
* * `PENDING` - The command is pending ack from the instance.
* * `ACKED` - The command has been received and acked by the instance.
* * `ACKED_CANCELED` - The canceled command has been received and acked by the instance.
* * `EXPIRED` - The instance has not requested for commands and its delivery has expired.
* The command delivery state.
* * `VISIBLE` - The command is visible to the instance.
* * `PENDING` - The command is pending acknowledgment from the instance.
* * `ACKED` - The command has been received and acknowledged by the instance.
* * `ACKED_CANCELED` - The canceled command has been received and acknowledged by the instance.
* * `EXPIRED` - The instance has not requested for commands and the command's delivery has expired.
*

@@ -38,9 +40,9 @@ */

/**
* command execution life cycle state.
* * `ACCEPTED` - The command execution has been accepted to run.
* * `IN_PROGRESS` - The command execution is in progress.
* * `SUCCEEDED` - The command execution is successful.
* * `FAILED` - The command execution has failed.
* * `TIMED_OUT` - The command execution has timedout.
* * `CANCELED` - The command execution has canceled.
* The command execution lifecycle state.
* * `ACCEPTED` - The command has been accepted to run.
* * `IN_PROGRESS` - The command is in progress.
* * `SUCCEEDED` - The command was successfully executed.
* * `FAILED` - The command failed to execute.
* * `TIMED_OUT` - The command execution timed out.
* * `CANCELED` - The command execution was canceled.
*

@@ -50,17 +52,24 @@ */

/**
* The command creation date
* The date and time the command was created, in the format defined by
* [RFC3339](https://tools.ietf.org/html/rfc3339).
*
*/
"timeCreated": Date;
/**
* The command last updated at date.
* The date and time the command was last updated, in the format defined by
* [RFC3339](https://tools.ietf.org/html/rfc3339).
*
*/
"timeUpdated": Date;
/**
* The large non-consecutive number that Run Command Service assigns to each created command.
* A large, non-consecutive number that Oracle Cloud Agent assigns to each created command.
*/
"sequenceNumber": number;
/**
* The user friendly display name of the command.
* A user-friendly name. Does not have to be unique.
*/
"displayName"?: string;
/**
* The execution output from a command.
*/
"content": model.InstanceAgentCommandExecutionOutputViaTextDetails | model.InstanceAgentCommandExecutionOutputViaObjectStorageUriDetails | model.InstanceAgentCommandExecutionOutputViaObjectStorageTupleDetails;

@@ -67,0 +76,0 @@ }

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -5,0 +7,0 @@ *

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -14,3 +16,3 @@ *

/**
* Command output.
* The output destination for the command.
*/

@@ -17,0 +19,0 @@ export interface InstanceAgentCommandOutputDetails {

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -15,3 +17,3 @@ *

/**
* Command output via object storage tuple.
* The command output destination when saved to an Object Storage bucket.
*/

@@ -28,3 +30,3 @@ export interface InstanceAgentCommandOutputViaObjectStorageTupleDetails extends model.InstanceAgentCommandOutputDetails {

/**
* The Object Storage name for the command output.
* The Object Storage object name for the command output.
*/

@@ -31,0 +33,0 @@ "objectName": string;

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -15,7 +17,7 @@ *

/**
* Command output via uri.
* The command output destination when saved to an Object Storage URL.
*/
export interface InstanceAgentCommandOutputViaObjectStorageUriDetails extends model.InstanceAgentCommandOutputDetails {
/**
* The Object Storage URL or PAR for the command output.
* The Object Storage URL or pre-authenticated request (PAR) for the command output.
*/

@@ -22,0 +24,0 @@ "outputUri": string;

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -15,3 +17,3 @@ *

/**
* Command output via text.
* The command output destination when returned in plain text.
*/

@@ -18,0 +20,0 @@ export interface InstanceAgentCommandOutputViaTextDetails extends model.InstanceAgentCommandOutputDetails {

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -14,3 +16,3 @@ *

/**
* Command content.
* The source of the command.
*/

@@ -17,0 +19,0 @@ export interface InstanceAgentCommandSourceDetails {

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -15,3 +17,3 @@ *

/**
* Command content via object storage tuple.
* The source of the command when imported from an Object Storage bucket.
*/

@@ -28,3 +30,3 @@ export interface InstanceAgentCommandSourceViaObjectStorageTupleDetails extends model.InstanceAgentCommandSourceDetails {

/**
* The Object Storage name for the command.
* The Object Storage object name for the command.
*/

@@ -31,0 +33,0 @@ "objectName": string;

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -15,7 +17,7 @@ *

/**
* Command content via uri.
* The source of the command when imported from an Object Storage URL.
*/
export interface InstanceAgentCommandSourceViaObjectStorageUriDetails extends model.InstanceAgentCommandSourceDetails {
/**
* The Object Storage URL or PAR for the command.
* The Object Storage URL or pre-authenticated request (PAR) for the command.
*/

@@ -22,0 +24,0 @@ "sourceUri": string;

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -15,3 +17,3 @@ *

/**
* Command content via text.
* The source of the command when provided using plain text.
*/

@@ -24,3 +26,3 @@ export interface InstanceAgentCommandSourceViaTextDetails extends model.InstanceAgentCommandSourceDetails {

/**
* Sha256 checksum value of the text content
* SHA-256 checksum value of the text content.
*/

@@ -27,0 +29,0 @@ "textSha256"?: string;

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -14,27 +16,31 @@ *

/**
* command summary.
* Summary information for a command.
*/
export interface InstanceAgentCommandSummary {
/**
* The command OCID
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the command.
*/
"instanceAgentCommandId": string;
/**
* The user friendly display name of the command.
* A user-friendly name. Does not have to be unique.
*/
"displayName"?: string;
/**
* The OCID of the compartment the command is created in.
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the command.
*/
"compartmentId": string;
/**
* The command creation date
* The date and time the command was created, in the format defined by
* [RFC3339](https://tools.ietf.org/html/rfc3339).
*
*/
"timeCreated": Date;
/**
* The command last updated at date.
* The date and time the command was last updated, in the format defined by
* [RFC3339](https://tools.ietf.org/html/rfc3339).
*
*/
"timeUpdated": Date;
/**
* Set to true, if the command has been canceled.
* Whether a request was made to cancel the command. Canceling a command is a best-effort attempt.
*/

@@ -41,0 +47,0 @@ "isCanceled"?: boolean;

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -14,7 +16,7 @@ *

/**
* Target instances that will receive a command.
* The target instance that the command runs on.
*/
export interface InstanceAgentCommandTarget {
/**
* The target instance OCID
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the target instance.
*/

@@ -21,0 +23,0 @@ "instanceId"?: string;

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -19,30 +21,42 @@ *

/**
* The command OCID
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the command.
*/
"id": string;
/**
* The OCID of the compartment the command is created in.
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment containing the command.
*/
"compartmentId": string;
/**
* The user friendly display name of the command.
* A user-friendly name. Does not have to be unique. Avoid entering confidential information.
*/
"displayName"?: string;
/**
* the time command was created at.
* The date and time the command was created, in the format defined by
* [RFC3339](https://tools.ietf.org/html/rfc3339).
*
*/
"timeCreated"?: Date;
/**
* the time command was updated at.
* The date and time the command was last updated, in the format defined by
* [RFC3339](https://tools.ietf.org/html/rfc3339).
*
*/
"timeUpdated"?: Date;
/**
* Whether the command has been requested to be canceled.
* Whether a request was made to cancel the command. Canceling a command is a best-effort attempt.
*/
"isCanceled"?: boolean;
/**
* Command execution time limit that the instance agent will honor when executing the command inside the instance. This timer starts when the instance agent starts the commond. Zero means no timeout.
* The amount of time that Oracle Cloud Agent is given to run the command on the instance before timing
* out. The timer starts when Oracle Cloud Agent starts the command. Zero means no timeout.
*
*/
"executionTimeOutInSeconds"?: number;
/**
* The target instance that the command runs on.
*/
"target": model.InstanceAgentCommandTarget;
/**
* The contents of the command.
*/
"content": model.InstanceAgentCommandContent;

@@ -49,0 +63,0 @@ }

"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

@@ -15,12 +15,12 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.14.0/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/1.15.0/computeinstanceagent/CancelInstanceAgentCommand.ts.html |here} to see how to use CancelInstanceAgentCommandRequest.
*/
export interface CancelInstanceAgentCommandRequest extends common.BaseRequest {
/**
* The OCID of the command.
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the command.
*/
"instanceAgentCommandId": string;
/**
* Unique identifier for the request.
* If you need to contact Oracle about a particular request, please provide the request ID.
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
* please provide the request ID.
*

@@ -27,0 +27,0 @@ */

@@ -16,3 +16,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.14.0/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/1.15.0/computeinstanceagent/CreateInstanceAgentCommand.ts.html |here} to see how to use CreateInstanceAgentCommandRequest.
*/

@@ -25,4 +25,4 @@ export interface CreateInstanceAgentCommandRequest extends common.BaseRequest {

/**
* Unique identifier for the request.
* If you need to contact Oracle about a particular request, please provide the request ID.
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
* please provide the request ID.
*

@@ -29,0 +29,0 @@ */

@@ -15,16 +15,16 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.14.0/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/1.15.0/computeinstanceagent/GetInstanceAgentCommandExecution.ts.html |here} to see how to use GetInstanceAgentCommandExecutionRequest.
*/
export interface GetInstanceAgentCommandExecutionRequest extends common.BaseRequest {
/**
* The OCID of the command.
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the command.
*/
"instanceAgentCommandId": string;
/**
* The OCID of the instance.
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance.
*/
"instanceId": string;
/**
* Unique identifier for the request.
* If you need to contact Oracle about a particular request, please provide the request ID.
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
* please provide the request ID.
*

@@ -31,0 +31,0 @@ */

@@ -15,12 +15,12 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.14.0/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/1.15.0/computeinstanceagent/GetInstanceAgentCommand.ts.html |here} to see how to use GetInstanceAgentCommandRequest.
*/
export interface GetInstanceAgentCommandRequest extends common.BaseRequest {
/**
* The OCID of the command.
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the command.
*/
"instanceAgentCommandId": string;
/**
* Unique identifier for the request.
* If you need to contact Oracle about a particular request, please provide the request ID.
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
* please provide the request ID.
*

@@ -27,0 +27,0 @@ */

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -25,1 +27,7 @@ *

export import ListInstanceAgentCommandsRequest = ListInstanceAgentCommandsRequest.ListInstanceAgentCommandsRequest;
import * as GetInstanceAgentPluginRequest from "./get-instance-agent-plugin-request";
export import GetInstanceAgentPluginRequest = GetInstanceAgentPluginRequest.GetInstanceAgentPluginRequest;
import * as ListInstanceAgentPluginsRequest from "./list-instance-agent-plugins-request";
export import ListInstanceAgentPluginsRequest = ListInstanceAgentPluginsRequest.ListInstanceAgentPluginsRequest;
import * as ListInstanceagentAvailablePluginsRequest from "./list-instanceagent-available-plugins-request";
export import ListInstanceagentAvailablePluginsRequest = ListInstanceagentAvailablePluginsRequest.ListInstanceagentAvailablePluginsRequest;
"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -34,3 +36,3 @@ *

Object.defineProperty(exports, "__esModule", { value: true });
exports.ListInstanceAgentCommandsRequest = exports.ListInstanceAgentCommandExecutionsRequest = void 0;
exports.ListInstanceagentAvailablePluginsRequest = exports.ListInstanceAgentPluginsRequest = exports.ListInstanceAgentCommandsRequest = exports.ListInstanceAgentCommandExecutionsRequest = void 0;
const ListInstanceAgentCommandExecutionsRequest = __importStar(require("./list-instance-agent-command-executions-request"));

@@ -40,2 +42,6 @@ exports.ListInstanceAgentCommandExecutionsRequest = ListInstanceAgentCommandExecutionsRequest.ListInstanceAgentCommandExecutionsRequest;

exports.ListInstanceAgentCommandsRequest = ListInstanceAgentCommandsRequest.ListInstanceAgentCommandsRequest;
const ListInstanceAgentPluginsRequest = __importStar(require("./list-instance-agent-plugins-request"));
exports.ListInstanceAgentPluginsRequest = ListInstanceAgentPluginsRequest.ListInstanceAgentPluginsRequest;
const ListInstanceagentAvailablePluginsRequest = __importStar(require("./list-instanceagent-available-plugins-request"));
exports.ListInstanceagentAvailablePluginsRequest = ListInstanceagentAvailablePluginsRequest.ListInstanceagentAvailablePluginsRequest;
//# sourceMappingURL=index.js.map

@@ -15,3 +15,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.14.0/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/1.15.0/computeinstanceagent/ListInstanceAgentCommandExecutions.ts.html |here} to see how to use ListInstanceAgentCommandExecutionsRequest.
*/

@@ -24,8 +24,8 @@ export interface ListInstanceAgentCommandExecutionsRequest extends common.BaseRequest {

/**
* The OCID of the instance.
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the instance.
*/
"instanceId": string;
/**
* Unique identifier for the request.
* If you need to contact Oracle about a particular request, please provide the request ID.
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
* please provide the request ID.
*

@@ -35,3 +35,5 @@ */

/**
* The value of the `opc-next-page` response header from the previous \"List\" call.
* For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
* call. For important details about how pagination works, see
* [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
*

@@ -41,3 +43,5 @@ */

/**
* The maximum number of items to return in a paginated \"List\" call.
* For list pagination. The maximum number of results per page, or items to return in a paginated
* \"List\" call. For important details about how pagination works, see
* [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
*

@@ -48,3 +52,3 @@ */

* The field to sort by. You can provide one sort order (`sortOrder`). Default order for
* TIMECREATED is descending.
* `TIMECREATED` is descending.
* <p>

@@ -59,3 +63,3 @@ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you

/**
* The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
* The sort order to use, either ascending (`ASC`) or descending (`DESC`). The `DISPLAYNAME` sort order
* is case sensitive.

@@ -62,0 +66,0 @@ *

@@ -15,3 +15,3 @@ /**

/**
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/1.14.0/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/1.15.0/computeinstanceagent/ListInstanceAgentCommands.ts.html |here} to see how to use ListInstanceAgentCommandsRequest.
*/

@@ -24,4 +24,4 @@ export interface ListInstanceAgentCommandsRequest extends common.BaseRequest {

/**
* Unique identifier for the request.
* If you need to contact Oracle about a particular request, please provide the request ID.
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
* please provide the request ID.
*

@@ -31,3 +31,5 @@ */

/**
* The value of the `opc-next-page` response header from the previous \"List\" call.
* For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
* call. For important details about how pagination works, see
* [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
*

@@ -37,3 +39,5 @@ */

/**
* The maximum number of items to return in a paginated \"List\" call.
* For list pagination. The maximum number of results per page, or items to return in a paginated
* \"List\" call. For important details about how pagination works, see
* [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
*

@@ -44,3 +48,3 @@ */

* The field to sort by. You can provide one sort order (`sortOrder`). Default order for
* TIMECREATED is descending.
* `TIMECREATED` is descending.
* <p>

@@ -55,3 +59,3 @@ **Note:** In general, some \"List\" operations (for example, `ListInstances`) let you

/**
* The sort order to use, either ascending (`ASC`) or descending (`DESC`). The DISPLAYNAME sort order
* The sort order to use, either ascending (`ASC`) or descending (`DESC`). The `DISPLAYNAME` sort order
* is case sensitive.

@@ -58,0 +62,0 @@ *

/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -25,1 +27,7 @@ *

export import ListInstanceAgentCommandsResponse = ListInstanceAgentCommandsResponse.ListInstanceAgentCommandsResponse;
import * as GetInstanceAgentPluginResponse from "./get-instance-agent-plugin-response";
export import GetInstanceAgentPluginResponse = GetInstanceAgentPluginResponse.GetInstanceAgentPluginResponse;
import * as ListInstanceAgentPluginsResponse from "./list-instance-agent-plugins-response";
export import ListInstanceAgentPluginsResponse = ListInstanceAgentPluginsResponse.ListInstanceAgentPluginsResponse;
import * as ListInstanceagentAvailablePluginsResponse from "./list-instanceagent-available-plugins-response";
export import ListInstanceagentAvailablePluginsResponse = ListInstanceagentAvailablePluginsResponse.ListInstanceagentAvailablePluginsResponse;
"use strict";
/**
* InstanceAgentService API
* Instance Agent Service API
* Oracle Cloud Agent API
* API for the Oracle Cloud Agent software running on compute instances. Oracle Cloud Agent
is a lightweight process that monitors and manages compute instances.
* OpenAPI spec version: 20180530

@@ -6,0 +8,0 @@ *

{
"name": "oci-computeinstanceagent",
"version": "1.14.0",
"version": "1.15.0",
"description": "OCI NodeJS client for Compute Instance Agent Service",

@@ -18,4 +18,4 @@ "repository": {

"dependencies": {
"oci-common": "1.14.0",
"oci-workrequests": "1.14.0"
"oci-common": "1.15.0",
"oci-workrequests": "1.15.0"
},

@@ -22,0 +22,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc