oci-resourcesearch 2.4.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +6 -0
- package/lib/client.d.ts +26 -3
- package/lib/client.js +43 -6
- package/lib/client.js.map +1 -1
- package/lib/request/get-resource-type-request.d.ts +1 -1
- package/lib/request/list-resource-types-request.d.ts +1 -1
- package/lib/request/search-resources-request.d.ts +1 -1
- package/package.json +3 -3
package/LICENSE.txt
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 or Apache License 2.0. See below for license terms. You may choose either license.
|
|
4
|
+
|
|
5
|
+
____________________________
|
|
6
|
+
|
|
1
7
|
The Universal Permissive License (UPL), Version 1.0
|
|
2
8
|
|
|
3
9
|
Subject to the condition set forth below, permission is hereby granted to any
|
package/lib/client.d.ts
CHANGED
|
@@ -16,6 +16,9 @@ import * as model from "./model";
|
|
|
16
16
|
import * as responses from "./response";
|
|
17
17
|
export declare enum ResourceSearchApiKeys {
|
|
18
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
21
|
+
*/
|
|
19
22
|
export declare class ResourceSearchClient {
|
|
20
23
|
protected static serviceEndpointTemplate: string;
|
|
21
24
|
protected "_endpoint": string;
|
|
@@ -52,22 +55,25 @@ export declare class ResourceSearchClient {
|
|
|
52
55
|
/**
|
|
53
56
|
* Gets detailed information about a resource type by using the resource type name.
|
|
54
57
|
*
|
|
58
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
55
59
|
* @param GetResourceTypeRequest
|
|
56
60
|
* @return GetResourceTypeResponse
|
|
57
61
|
* @throws OciError when an error occurs
|
|
58
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
62
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/resourcesearch/GetResourceType.ts.html |here} to see how to use GetResourceType API.
|
|
59
63
|
*/
|
|
60
64
|
getResourceType(getResourceTypeRequest: requests.GetResourceTypeRequest): Promise<responses.GetResourceTypeResponse>;
|
|
61
65
|
/**
|
|
62
66
|
* Lists all resource types that you can search or query for.
|
|
63
67
|
*
|
|
68
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
64
69
|
* @param ListResourceTypesRequest
|
|
65
70
|
* @return ListResourceTypesResponse
|
|
66
71
|
* @throws OciError when an error occurs
|
|
67
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
72
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/resourcesearch/ListResourceTypes.ts.html |here} to see how to use ListResourceTypes API.
|
|
68
73
|
*/
|
|
69
74
|
listResourceTypes(listResourceTypesRequest: requests.ListResourceTypesRequest): Promise<responses.ListResourceTypesResponse>;
|
|
70
75
|
/**
|
|
76
|
+
* NOTE: This function is deprecated in favor of listResourceTypesRecordIterator function.
|
|
71
77
|
* Creates a new async iterator which will iterate over the models.ResourceType objects
|
|
72
78
|
* contained in responses from the listResourceTypes operation. This iterator will fetch more data from the
|
|
73
79
|
* server as needed.
|
|
@@ -76,21 +82,38 @@ export declare class ResourceSearchClient {
|
|
|
76
82
|
*/
|
|
77
83
|
listAllResourceTypes(request: requests.ListResourceTypesRequest): AsyncIterableIterator<model.ResourceType>;
|
|
78
84
|
/**
|
|
85
|
+
* NOTE: This function is deprecated in favor of listResourceTypesResponseIterator function.
|
|
79
86
|
* Creates a new async iterator which will iterate over the responses received from the listResourceTypes operation. This iterator
|
|
80
87
|
* will fetch more data from the server as needed.
|
|
81
88
|
*
|
|
82
89
|
* @param request a request which can be sent to the service operation
|
|
83
90
|
*/
|
|
84
91
|
listAllResourceTypesResponses(request: requests.ListResourceTypesRequest): AsyncIterableIterator<responses.ListResourceTypesResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* Creates a new async iterator which will iterate over the models.ResourceType objects
|
|
94
|
+
* contained in responses from the listResourceTypes operation. This iterator will fetch more data from the
|
|
95
|
+
* server as needed.
|
|
96
|
+
*
|
|
97
|
+
* @param request a request which can be sent to the service operation
|
|
98
|
+
*/
|
|
99
|
+
listResourceTypesRecordIterator(request: requests.ListResourceTypesRequest): AsyncIterableIterator<model.ResourceType>;
|
|
100
|
+
/**
|
|
101
|
+
* Creates a new async iterator which will iterate over the responses received from the listResourceTypes operation. This iterator
|
|
102
|
+
* will fetch more data from the server as needed.
|
|
103
|
+
*
|
|
104
|
+
* @param request a request which can be sent to the service operation
|
|
105
|
+
*/
|
|
106
|
+
listResourceTypesResponseIterator(request: requests.ListResourceTypesRequest): AsyncIterableIterator<responses.ListResourceTypesResponse>;
|
|
85
107
|
/**
|
|
86
108
|
* Queries any and all compartments in the specified tenancy to find resources that match the specified criteria.
|
|
87
109
|
* Results include resources that you have permission to view and can span different resource types.
|
|
88
110
|
* You can also sort results based on a specified resource attribute.
|
|
89
111
|
*
|
|
112
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
90
113
|
* @param SearchResourcesRequest
|
|
91
114
|
* @return SearchResourcesResponse
|
|
92
115
|
* @throws OciError when an error occurs
|
|
93
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
116
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/resourcesearch/SearchResources.ts.html |here} to see how to use SearchResources API.
|
|
94
117
|
*/
|
|
95
118
|
searchResources(searchResourcesRequest: requests.SearchResourcesRequest): Promise<responses.SearchResourcesResponse>;
|
|
96
119
|
}
|
package/lib/client.js
CHANGED
|
@@ -51,6 +51,9 @@ const oci_common_2 = require("oci-common");
|
|
|
51
51
|
var ResourceSearchApiKeys;
|
|
52
52
|
(function (ResourceSearchApiKeys) {
|
|
53
53
|
})(ResourceSearchApiKeys = exports.ResourceSearchApiKeys || (exports.ResourceSearchApiKeys = {}));
|
|
54
|
+
/**
|
|
55
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
56
|
+
*/
|
|
54
57
|
class ResourceSearchClient {
|
|
55
58
|
constructor(params, clientConfiguration) {
|
|
56
59
|
this["_endpoint"] = "";
|
|
@@ -65,6 +68,13 @@ class ResourceSearchClient {
|
|
|
65
68
|
? clientConfiguration.circuitBreaker.circuit
|
|
66
69
|
: null;
|
|
67
70
|
}
|
|
71
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
72
|
+
const specCircuitBreakerEnabled = false;
|
|
73
|
+
if (!this._circuitBreaker &&
|
|
74
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
75
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
76
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
77
|
+
}
|
|
68
78
|
this._httpClient =
|
|
69
79
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
70
80
|
if (params.authenticationDetailsProvider &&
|
|
@@ -116,10 +126,11 @@ class ResourceSearchClient {
|
|
|
116
126
|
/**
|
|
117
127
|
* Gets detailed information about a resource type by using the resource type name.
|
|
118
128
|
*
|
|
129
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
119
130
|
* @param GetResourceTypeRequest
|
|
120
131
|
* @return GetResourceTypeResponse
|
|
121
132
|
* @throws OciError when an error occurs
|
|
122
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
133
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/resourcesearch/GetResourceType.ts.html |here} to see how to use GetResourceType API.
|
|
123
134
|
*/
|
|
124
135
|
getResourceType(getResourceTypeRequest) {
|
|
125
136
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -133,7 +144,8 @@ class ResourceSearchClient {
|
|
|
133
144
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
134
145
|
"opc-request-id": getResourceTypeRequest.opcRequestId
|
|
135
146
|
};
|
|
136
|
-
const
|
|
147
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
148
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResourceTypeRequest.retryConfiguration, specRetryConfiguration);
|
|
137
149
|
if (this.logger)
|
|
138
150
|
retrier.logger = this.logger;
|
|
139
151
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -171,10 +183,11 @@ class ResourceSearchClient {
|
|
|
171
183
|
/**
|
|
172
184
|
* Lists all resource types that you can search or query for.
|
|
173
185
|
*
|
|
186
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
174
187
|
* @param ListResourceTypesRequest
|
|
175
188
|
* @return ListResourceTypesResponse
|
|
176
189
|
* @throws OciError when an error occurs
|
|
177
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
190
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/resourcesearch/ListResourceTypes.ts.html |here} to see how to use ListResourceTypes API.
|
|
178
191
|
*/
|
|
179
192
|
listResourceTypes(listResourceTypesRequest) {
|
|
180
193
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -189,7 +202,8 @@ class ResourceSearchClient {
|
|
|
189
202
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
190
203
|
"opc-request-id": listResourceTypesRequest.opcRequestId
|
|
191
204
|
};
|
|
192
|
-
const
|
|
205
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
206
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourceTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
193
207
|
if (this.logger)
|
|
194
208
|
retrier.logger = this.logger;
|
|
195
209
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -230,6 +244,7 @@ class ResourceSearchClient {
|
|
|
230
244
|
});
|
|
231
245
|
}
|
|
232
246
|
/**
|
|
247
|
+
* NOTE: This function is deprecated in favor of listResourceTypesRecordIterator function.
|
|
233
248
|
* Creates a new async iterator which will iterate over the models.ResourceType objects
|
|
234
249
|
* contained in responses from the listResourceTypes operation. This iterator will fetch more data from the
|
|
235
250
|
* server as needed.
|
|
@@ -240,6 +255,7 @@ class ResourceSearchClient {
|
|
|
240
255
|
return oci_common_1.paginateRecords(request, req => this.listResourceTypes(req));
|
|
241
256
|
}
|
|
242
257
|
/**
|
|
258
|
+
* NOTE: This function is deprecated in favor of listResourceTypesResponseIterator function.
|
|
243
259
|
* Creates a new async iterator which will iterate over the responses received from the listResourceTypes operation. This iterator
|
|
244
260
|
* will fetch more data from the server as needed.
|
|
245
261
|
*
|
|
@@ -248,15 +264,35 @@ class ResourceSearchClient {
|
|
|
248
264
|
listAllResourceTypesResponses(request) {
|
|
249
265
|
return oci_common_1.paginateResponses(request, req => this.listResourceTypes(req));
|
|
250
266
|
}
|
|
267
|
+
/**
|
|
268
|
+
* Creates a new async iterator which will iterate over the models.ResourceType objects
|
|
269
|
+
* contained in responses from the listResourceTypes operation. This iterator will fetch more data from the
|
|
270
|
+
* server as needed.
|
|
271
|
+
*
|
|
272
|
+
* @param request a request which can be sent to the service operation
|
|
273
|
+
*/
|
|
274
|
+
listResourceTypesRecordIterator(request) {
|
|
275
|
+
return oci_common_1.paginateRecords(request, req => this.listResourceTypes(req));
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Creates a new async iterator which will iterate over the responses received from the listResourceTypes operation. This iterator
|
|
279
|
+
* will fetch more data from the server as needed.
|
|
280
|
+
*
|
|
281
|
+
* @param request a request which can be sent to the service operation
|
|
282
|
+
*/
|
|
283
|
+
listResourceTypesResponseIterator(request) {
|
|
284
|
+
return oci_common_1.paginateResponses(request, req => this.listResourceTypes(req));
|
|
285
|
+
}
|
|
251
286
|
/**
|
|
252
287
|
* Queries any and all compartments in the specified tenancy to find resources that match the specified criteria.
|
|
253
288
|
* Results include resources that you have permission to view and can span different resource types.
|
|
254
289
|
* You can also sort results based on a specified resource attribute.
|
|
255
290
|
*
|
|
291
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
256
292
|
* @param SearchResourcesRequest
|
|
257
293
|
* @return SearchResourcesResponse
|
|
258
294
|
* @throws OciError when an error occurs
|
|
259
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
295
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/resourcesearch/SearchResources.ts.html |here} to see how to use SearchResources API.
|
|
260
296
|
*/
|
|
261
297
|
searchResources(searchResourcesRequest) {
|
|
262
298
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -272,7 +308,8 @@ class ResourceSearchClient {
|
|
|
272
308
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
273
309
|
"opc-request-id": searchResourcesRequest.opcRequestId
|
|
274
310
|
};
|
|
275
|
-
const
|
|
311
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
312
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, searchResourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
276
313
|
if (this.logger)
|
|
277
314
|
retrier.logger = this.logger;
|
|
278
315
|
const request = yield oci_common_2.composeRequest({
|
package/lib/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/resourcesearch/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAAgE;AAChE,2CAA6E;AAE7E,kDAAkD;AAClD,kDAAkD;AAClD,kDAAkD;AAElD,IAAY,qBAAwB;AAApC,WAAY,qBAAqB;AAAE,CAAC,EAAxB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAAG;
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/resourcesearch/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAAgE;AAChE,2CAA6E;AAE7E,kDAAkD;AAClD,kDAAkD;AAClD,kDAAkD;AAElD,IAAY,qBAAwB;AAApC,WAAY,qBAAqB;AAAE,CAAC,EAAxB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAAG;AACpC;;GAEG;AACH,MAAa,oBAAoB;IAS/B,YAAY,MAAyB,EAAE,mBAAgD;QAP7E,iBAAW,GAAW,EAAE,CAAC;QACzB,uBAAiB,GAAQ,EAAE,CAAC;QAE5B,oBAAe,GAAG,IAAI,CAAC;QAK/B,MAAM,aAAa,GAAG,MAAM,CAAC,6BAA6B;YACxD,CAAC,CAAC,IAAI,MAAM,CAAC,oBAAoB,CAAC,MAAM,CAAC,6BAA6B,CAAC;YACvE,CAAC,CAAC,IAAI,CAAC;QACT,IAAI,mBAAmB,EAAE;YACvB,IAAI,CAAC,oBAAoB,GAAG,mBAAmB,CAAC;YAChD,IAAI,CAAC,eAAe,GAAG,mBAAmB,CAAC,cAAc;gBACvD,CAAC,CAAC,mBAAmB,CAAC,cAAe,CAAC,OAAO;gBAC7C,CAAC,CAAC,IAAI,CAAC;SACV;QACD,+GAA+G;QAC/G,MAAM,yBAAyB,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YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,GAAG,CAAC;aACX;QACH,CAAC;KAAA;;AA7VH,oDA8VC;AA7VkB,4CAAuB,GAAG,gDAAgD,CAAC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/resourcesearch/GetResourceType.ts.html |here} to see how to use GetResourceTypeRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface GetResourceTypeRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import common = require("oci-common");
|
|
14
14
|
/**
|
|
15
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/resourcesearch/ListResourceTypes.ts.html |here} to see how to use ListResourceTypesRequest.
|
|
16
16
|
*/
|
|
17
17
|
export interface ListResourceTypesRequest extends common.BaseRequest {
|
|
18
18
|
/**
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
import common = require("oci-common");
|
|
15
15
|
/**
|
|
16
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
16
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/resourcesearch/SearchResources.ts.html |here} to see how to use SearchResourcesRequest.
|
|
17
17
|
*/
|
|
18
18
|
export interface SearchResourcesRequest extends common.BaseRequest {
|
|
19
19
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-resourcesearch",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "OCI NodeJS client for resource research Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.
|
|
19
|
-
"oci-workrequests": "2.
|
|
18
|
+
"oci-common": "2.6.0",
|
|
19
|
+
"oci-workrequests": "2.6.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|