oci-loganalytics 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 +383 -159
- package/lib/client.js +1018 -325
- package/lib/client.js.map +1 -1
- package/lib/model/abstract-column.d.ts +5 -0
- package/lib/model/abstract-column.js.map +1 -1
- package/lib/model/abstract-command-descriptor.js +4 -0
- package/lib/model/abstract-command-descriptor.js.map +1 -1
- package/lib/model/create-log-analytics-object-collection-rule-details.d.ts +7 -0
- package/lib/model/create-log-analytics-object-collection-rule-details.js.map +1 -1
- package/lib/model/extract-log-header-results.d.ts +4 -0
- package/lib/model/extract-log-header-results.js.map +1 -1
- package/lib/model/geo-stats-command-descriptor.d.ts +51 -0
- package/lib/model/geo-stats-command-descriptor.js +88 -0
- package/lib/model/geo-stats-command-descriptor.js.map +1 -0
- package/lib/model/highlight-groups-command-descriptor.d.ts +5 -0
- package/lib/model/highlight-groups-command-descriptor.js.map +1 -1
- package/lib/model/index.d.ts +12 -0
- package/lib/model/index.js +17 -5
- package/lib/model/index.js.map +1 -1
- package/lib/model/log-analytics-object-collection-rule-summary.d.ts +7 -0
- package/lib/model/log-analytics-object-collection-rule-summary.js.map +1 -1
- package/lib/model/log-analytics-object-collection-rule.d.ts +7 -0
- package/lib/model/log-analytics-object-collection-rule.js.map +1 -1
- package/lib/model/log-analytics-parser-summary.d.ts +5 -0
- package/lib/model/log-analytics-parser-summary.js.map +1 -1
- package/lib/model/log-analytics-parser.d.ts +5 -0
- package/lib/model/log-analytics-parser.js.map +1 -1
- package/lib/model/log-analytics-preference-collection.d.ts +27 -0
- package/lib/model/log-analytics-preference-collection.js +62 -0
- package/lib/model/log-analytics-preference-collection.js.map +1 -0
- package/lib/model/log-analytics-preference-details.d.ts +27 -0
- package/lib/model/log-analytics-preference-details.js +62 -0
- package/lib/model/log-analytics-preference-details.js.map +1 -0
- package/lib/model/log-analytics-preference.d.ts +30 -0
- package/lib/model/log-analytics-preference.js +30 -0
- package/lib/model/log-analytics-preference.js.map +1 -0
- package/lib/model/log-analytics-source-function.d.ts +4 -0
- package/lib/model/log-analytics-source-function.js.map +1 -1
- package/lib/model/log-sets-count.d.ts +27 -0
- package/lib/model/log-sets-count.js +30 -0
- package/lib/model/log-sets-count.js.map +1 -0
- package/lib/model/test-parser-payload-details.d.ts +5 -0
- package/lib/model/test-parser-payload-details.js.map +1 -1
- package/lib/model/unprocessed-data-bucket.d.ts +44 -0
- package/lib/model/unprocessed-data-bucket.js +30 -0
- package/lib/model/unprocessed-data-bucket.js.map +1 -0
- package/lib/model/update-log-analytics-object-collection-rule-details.d.ts +7 -0
- package/lib/model/update-log-analytics-object-collection-rule-details.js.map +1 -1
- package/lib/model/upsert-log-analytics-parser-details.d.ts +5 -0
- package/lib/model/upsert-log-analytics-parser-details.js.map +1 -1
- package/lib/request/add-entity-association-request.d.ts +1 -1
- package/lib/request/add-source-event-types-request.d.ts +1 -1
- package/lib/request/append-lookup-data-request.d.ts +8 -1
- package/lib/request/batch-get-basic-info-request.d.ts +1 -1
- package/lib/request/cancel-query-work-request-request.d.ts +1 -1
- package/lib/request/change-log-analytics-em-bridge-compartment-request.d.ts +1 -1
- package/lib/request/change-log-analytics-entity-compartment-request.d.ts +1 -1
- package/lib/request/change-log-analytics-log-group-compartment-request.d.ts +1 -1
- package/lib/request/change-log-analytics-object-collection-rule-compartment-request.d.ts +1 -1
- package/lib/request/change-scheduled-task-compartment-request.d.ts +1 -1
- package/lib/request/clean-request.d.ts +1 -1
- package/lib/request/create-log-analytics-em-bridge-request.d.ts +1 -1
- package/lib/request/create-log-analytics-entity-request.d.ts +1 -1
- package/lib/request/create-log-analytics-entity-type-request.d.ts +1 -1
- package/lib/request/create-log-analytics-log-group-request.d.ts +1 -1
- package/lib/request/create-log-analytics-object-collection-rule-request.d.ts +1 -1
- package/lib/request/create-scheduled-task-request.d.ts +1 -1
- package/lib/request/delete-associations-request.d.ts +1 -1
- package/lib/request/delete-field-request.d.ts +1 -1
- package/lib/request/delete-label-request.d.ts +1 -1
- package/lib/request/delete-log-analytics-em-bridge-request.d.ts +1 -1
- package/lib/request/delete-log-analytics-entity-request.d.ts +1 -1
- package/lib/request/delete-log-analytics-entity-type-request.d.ts +1 -1
- package/lib/request/delete-log-analytics-log-group-request.d.ts +1 -1
- package/lib/request/delete-log-analytics-object-collection-rule-request.d.ts +1 -1
- package/lib/request/delete-lookup-request.d.ts +1 -1
- package/lib/request/delete-parser-request.d.ts +1 -1
- package/lib/request/delete-scheduled-task-request.d.ts +1 -1
- package/lib/request/delete-source-request.d.ts +1 -1
- package/lib/request/delete-upload-file-request.d.ts +1 -1
- package/lib/request/delete-upload-request.d.ts +1 -1
- package/lib/request/delete-upload-warning-request.d.ts +1 -1
- package/lib/request/disable-archiving-request.d.ts +1 -1
- package/lib/request/disable-auto-association-request.d.ts +1 -1
- package/lib/request/disable-source-event-types-request.d.ts +1 -1
- package/lib/request/enable-archiving-request.d.ts +1 -1
- package/lib/request/enable-auto-association-request.d.ts +1 -1
- package/lib/request/enable-source-event-types-request.d.ts +1 -1
- package/lib/request/estimate-purge-data-size-request.d.ts +1 -1
- package/lib/request/estimate-recall-data-size-request.d.ts +1 -1
- package/lib/request/estimate-release-data-size-request.d.ts +1 -1
- package/lib/request/export-custom-content-request.d.ts +1 -1
- package/lib/request/export-query-result-request.d.ts +1 -1
- package/lib/request/extract-structured-log-field-paths-request.d.ts +4 -3
- package/lib/request/extract-structured-log-field-paths-request.js +1 -0
- package/lib/request/extract-structured-log-field-paths-request.js.map +1 -1
- package/lib/request/extract-structured-log-header-paths-request.d.ts +4 -3
- package/lib/request/extract-structured-log-header-paths-request.js +1 -0
- package/lib/request/extract-structured-log-header-paths-request.js.map +1 -1
- package/lib/request/filter-request.d.ts +1 -1
- package/lib/request/get-association-summary-request.d.ts +1 -1
- package/lib/request/get-column-names-request.d.ts +1 -1
- package/lib/request/get-config-work-request-request.d.ts +1 -1
- package/lib/request/get-field-request.d.ts +1 -1
- package/lib/request/get-fields-summary-request.d.ts +1 -1
- package/lib/request/get-label-request.d.ts +1 -1
- package/lib/request/get-label-summary-request.d.ts +1 -1
- package/lib/request/get-log-analytics-em-bridge-request.d.ts +1 -1
- package/lib/request/get-log-analytics-em-bridge-summary-request.d.ts +1 -1
- package/lib/request/get-log-analytics-entities-summary-request.d.ts +1 -1
- package/lib/request/get-log-analytics-entity-request.d.ts +1 -1
- package/lib/request/get-log-analytics-entity-type-request.d.ts +1 -1
- package/lib/request/get-log-analytics-log-group-request.d.ts +1 -1
- package/lib/request/get-log-analytics-log-groups-summary-request.d.ts +1 -1
- package/lib/request/get-log-analytics-object-collection-rule-request.d.ts +1 -1
- package/lib/request/get-log-sets-count-request.d.ts +27 -0
- package/lib/request/get-log-sets-count-request.js +15 -0
- package/lib/request/get-log-sets-count-request.js.map +1 -0
- package/lib/request/get-lookup-request.d.ts +1 -1
- package/lib/request/get-lookup-summary-request.d.ts +1 -1
- package/lib/request/get-namespace-request.d.ts +1 -1
- package/lib/request/get-parser-request.d.ts +1 -1
- package/lib/request/get-parser-summary-request.d.ts +1 -1
- package/lib/request/get-preferences-request.d.ts +53 -0
- package/lib/request/get-preferences-request.js +28 -0
- package/lib/request/get-preferences-request.js.map +1 -0
- package/lib/request/get-query-result-request.d.ts +1 -1
- package/lib/request/get-query-work-request-request.d.ts +1 -1
- package/lib/request/get-scheduled-task-request.d.ts +1 -1
- package/lib/request/get-source-request.d.ts +1 -1
- package/lib/request/get-source-summary-request.d.ts +1 -1
- package/lib/request/get-storage-request.d.ts +1 -1
- package/lib/request/get-storage-usage-request.d.ts +1 -1
- package/lib/request/get-storage-work-request-request.d.ts +1 -1
- package/lib/request/get-unprocessed-data-bucket-request.d.ts +27 -0
- package/lib/request/get-unprocessed-data-bucket-request.js +15 -0
- package/lib/request/get-unprocessed-data-bucket-request.js.map +1 -0
- package/lib/request/get-upload-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/import-custom-content-request.d.ts +8 -1
- package/lib/request/index.d.ts +12 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-associable-entities-request.d.ts +1 -1
- package/lib/request/list-associated-entities-request.d.ts +1 -1
- package/lib/request/list-auto-associations-request.d.ts +1 -1
- package/lib/request/list-config-work-requests-request.d.ts +1 -1
- package/lib/request/list-entity-associations-request.d.ts +1 -1
- package/lib/request/list-entity-source-associations-request.d.ts +1 -1
- package/lib/request/list-fields-request.d.ts +1 -1
- package/lib/request/list-label-priorities-request.d.ts +1 -1
- package/lib/request/list-label-source-details-request.d.ts +1 -1
- package/lib/request/list-labels-request.d.ts +1 -1
- package/lib/request/list-log-analytics-em-bridges-request.d.ts +1 -1
- package/lib/request/list-log-analytics-entities-request.d.ts +1 -1
- package/lib/request/list-log-analytics-entity-types-request.d.ts +1 -1
- package/lib/request/list-log-analytics-log-groups-request.d.ts +1 -1
- package/lib/request/list-log-analytics-object-collection-rules-request.d.ts +1 -1
- package/lib/request/list-log-sets-request.d.ts +6 -1
- package/lib/request/list-log-sets-request.js.map +1 -1
- package/lib/request/list-lookups-request.d.ts +1 -1
- package/lib/request/list-meta-source-types-request.d.ts +1 -1
- package/lib/request/list-namespaces-request.d.ts +1 -1
- package/lib/request/list-parser-functions-request.d.ts +1 -1
- package/lib/request/list-parser-meta-plugins-request.d.ts +1 -1
- package/lib/request/list-parsers-request.d.ts +1 -1
- package/lib/request/list-query-work-requests-request.d.ts +1 -1
- package/lib/request/list-recalled-data-request.d.ts +1 -1
- package/lib/request/list-scheduled-tasks-request.d.ts +1 -1
- package/lib/request/list-source-associations-request.d.ts +1 -1
- package/lib/request/list-source-event-types-request.d.ts +1 -1
- package/lib/request/list-source-extended-field-definitions-request.d.ts +1 -1
- package/lib/request/list-source-label-operators-request.d.ts +1 -1
- package/lib/request/list-source-meta-functions-request.d.ts +1 -1
- package/lib/request/list-source-patterns-request.d.ts +1 -1
- package/lib/request/list-sources-request.d.ts +1 -1
- package/lib/request/list-storage-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-storage-work-requests-request.d.ts +1 -1
- package/lib/request/list-supported-char-encodings-request.d.ts +1 -1
- package/lib/request/list-supported-timezones-request.d.ts +1 -1
- package/lib/request/list-upload-files-request.d.ts +1 -1
- package/lib/request/list-upload-warnings-request.d.ts +1 -1
- package/lib/request/list-uploads-request.d.ts +1 -1
- package/lib/request/list-warnings-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/offboard-namespace-request.d.ts +1 -1
- package/lib/request/onboard-namespace-request.d.ts +1 -1
- package/lib/request/parse-query-request.d.ts +1 -1
- package/lib/request/pause-scheduled-task-request.d.ts +1 -1
- package/lib/request/purge-storage-data-request.d.ts +1 -1
- package/lib/request/put-query-work-request-background-request.d.ts +1 -1
- package/lib/request/query-request.d.ts +1 -1
- package/lib/request/recall-archived-data-request.d.ts +1 -1
- package/lib/request/register-lookup-request.d.ts +8 -1
- package/lib/request/register-lookup-request.js.map +1 -1
- package/lib/request/release-recalled-data-request.d.ts +1 -1
- package/lib/request/remove-entity-associations-request.d.ts +1 -1
- package/lib/request/remove-preferences-request.d.ts +41 -0
- package/lib/request/remove-preferences-request.js +15 -0
- package/lib/request/remove-preferences-request.js.map +1 -0
- package/lib/request/remove-source-event-types-request.d.ts +1 -1
- package/lib/request/resume-scheduled-task-request.d.ts +1 -1
- package/lib/request/run-request.d.ts +1 -1
- package/lib/request/set-unprocessed-data-bucket-request.d.ts +37 -0
- package/lib/request/set-unprocessed-data-bucket-request.js +15 -0
- package/lib/request/set-unprocessed-data-bucket-request.js.map +1 -0
- package/lib/request/suggest-request.d.ts +1 -1
- package/lib/request/suppress-warning-request.d.ts +1 -1
- package/lib/request/test-parser-request.d.ts +1 -1
- package/lib/request/unsuppress-warning-request.d.ts +1 -1
- package/lib/request/update-log-analytics-em-bridge-request.d.ts +1 -1
- package/lib/request/update-log-analytics-entity-request.d.ts +1 -1
- package/lib/request/update-log-analytics-entity-type-request.d.ts +1 -1
- package/lib/request/update-log-analytics-log-group-request.d.ts +1 -1
- package/lib/request/update-log-analytics-object-collection-rule-request.d.ts +1 -1
- package/lib/request/update-lookup-data-request.d.ts +8 -1
- package/lib/request/update-lookup-request.d.ts +1 -1
- package/lib/request/update-preferences-request.d.ts +41 -0
- package/lib/request/update-preferences-request.js +15 -0
- package/lib/request/update-preferences-request.js.map +1 -0
- package/lib/request/update-scheduled-task-request.d.ts +1 -1
- package/lib/request/update-storage-request.d.ts +1 -1
- package/lib/request/upload-log-events-file-request.d.ts +8 -1
- package/lib/request/upload-log-file-request.d.ts +8 -1
- package/lib/request/upsert-associations-request.d.ts +1 -1
- package/lib/request/upsert-field-request.d.ts +1 -1
- package/lib/request/upsert-label-request.d.ts +1 -1
- package/lib/request/upsert-parser-request.d.ts +1 -1
- package/lib/request/upsert-source-request.d.ts +1 -1
- package/lib/request/validate-association-parameters-request.d.ts +1 -1
- package/lib/request/validate-file-request.d.ts +1 -1
- package/lib/request/validate-source-extended-field-details-request.d.ts +1 -1
- package/lib/request/validate-source-mapping-request.d.ts +1 -1
- package/lib/request/validate-source-request.d.ts +1 -1
- package/lib/response/get-log-sets-count-response.d.ts +24 -0
- package/lib/response/get-log-sets-count-response.js +15 -0
- package/lib/response/get-log-sets-count-response.js.map +1 -0
- package/lib/response/get-preferences-response.d.ts +38 -0
- package/lib/response/get-preferences-response.js +15 -0
- package/lib/response/get-preferences-response.js.map +1 -0
- package/lib/response/get-unprocessed-data-bucket-response.d.ts +24 -0
- package/lib/response/get-unprocessed-data-bucket-response.js +15 -0
- package/lib/response/get-unprocessed-data-bucket-response.js.map +1 -0
- package/lib/response/index.d.ts +12 -0
- package/lib/response/remove-preferences-response.d.ts +19 -0
- package/lib/response/remove-preferences-response.js +15 -0
- package/lib/response/remove-preferences-response.js.map +1 -0
- package/lib/response/set-unprocessed-data-bucket-response.d.ts +24 -0
- package/lib/response/set-unprocessed-data-bucket-response.js +15 -0
- package/lib/response/set-unprocessed-data-bucket-response.js.map +1 -0
- package/lib/response/update-preferences-response.d.ts +19 -0
- package/lib/response/update-preferences-response.js +15 -0
- package/lib/response/update-preferences-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -52,6 +52,9 @@ const oci_common_1 = require("oci-common");
|
|
|
52
52
|
var LogAnalyticsApiKeys;
|
|
53
53
|
(function (LogAnalyticsApiKeys) {
|
|
54
54
|
})(LogAnalyticsApiKeys = exports.LogAnalyticsApiKeys || (exports.LogAnalyticsApiKeys = {}));
|
|
55
|
+
/**
|
|
56
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
57
|
+
*/
|
|
55
58
|
class LogAnalyticsClient {
|
|
56
59
|
constructor(params, clientConfiguration) {
|
|
57
60
|
this["_endpoint"] = "";
|
|
@@ -66,6 +69,13 @@ class LogAnalyticsClient {
|
|
|
66
69
|
? clientConfiguration.circuitBreaker.circuit
|
|
67
70
|
: null;
|
|
68
71
|
}
|
|
72
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
73
|
+
const specCircuitBreakerEnabled = false;
|
|
74
|
+
if (!this._circuitBreaker &&
|
|
75
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
76
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
77
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
78
|
+
}
|
|
69
79
|
this._httpClient =
|
|
70
80
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
71
81
|
if (params.authenticationDetailsProvider &&
|
|
@@ -137,10 +147,11 @@ class LogAnalyticsClient {
|
|
|
137
147
|
}
|
|
138
148
|
/**
|
|
139
149
|
* Adds association between input source log analytics entity and one or more existing destination entities.
|
|
150
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
140
151
|
* @param AddEntityAssociationRequest
|
|
141
152
|
* @return AddEntityAssociationResponse
|
|
142
153
|
* @throws OciError when an error occurs
|
|
143
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
154
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/AddEntityAssociation.ts.html |here} to see how to use AddEntityAssociation API.
|
|
144
155
|
*/
|
|
145
156
|
addEntityAssociation(addEntityAssociationRequest) {
|
|
146
157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -157,7 +168,8 @@ class LogAnalyticsClient {
|
|
|
157
168
|
"opc-retry-token": addEntityAssociationRequest.opcRetryToken,
|
|
158
169
|
"if-match": addEntityAssociationRequest.ifMatch
|
|
159
170
|
};
|
|
160
|
-
const
|
|
171
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
172
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addEntityAssociationRequest.retryConfiguration, specRetryConfiguration);
|
|
161
173
|
if (this.logger)
|
|
162
174
|
retrier.logger = this.logger;
|
|
163
175
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -192,10 +204,11 @@ class LogAnalyticsClient {
|
|
|
192
204
|
/**
|
|
193
205
|
* Add one or more event types to a source. An event type and version can be enabled only on one source.
|
|
194
206
|
*
|
|
207
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
195
208
|
* @param AddSourceEventTypesRequest
|
|
196
209
|
* @return AddSourceEventTypesResponse
|
|
197
210
|
* @throws OciError when an error occurs
|
|
198
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
211
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/AddSourceEventTypes.ts.html |here} to see how to use AddSourceEventTypes API.
|
|
199
212
|
*/
|
|
200
213
|
addSourceEventTypes(addSourceEventTypesRequest) {
|
|
201
214
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -211,7 +224,8 @@ class LogAnalyticsClient {
|
|
|
211
224
|
"opc-retry-token": addSourceEventTypesRequest.opcRetryToken,
|
|
212
225
|
"opc-request-id": addSourceEventTypesRequest.opcRequestId
|
|
213
226
|
};
|
|
214
|
-
const
|
|
227
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
228
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addSourceEventTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
215
229
|
if (this.logger)
|
|
216
230
|
retrier.logger = this.logger;
|
|
217
231
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -246,10 +260,11 @@ class LogAnalyticsClient {
|
|
|
246
260
|
/**
|
|
247
261
|
* Appends data to the lookup content. The csv file containing the content to be appended is passed in as binary data in the request.
|
|
248
262
|
*
|
|
263
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
249
264
|
* @param AppendLookupDataRequest
|
|
250
265
|
* @return AppendLookupDataResponse
|
|
251
266
|
* @throws OciError when an error occurs
|
|
252
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
267
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/AppendLookupData.ts.html |here} to see how to use AppendLookupData API.
|
|
253
268
|
*/
|
|
254
269
|
appendLookupData(appendLookupDataRequest) {
|
|
255
270
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -266,9 +281,11 @@ class LogAnalyticsClient {
|
|
|
266
281
|
let headerParams = {
|
|
267
282
|
"opc-retry-token": appendLookupDataRequest.opcRetryToken,
|
|
268
283
|
"opc-request-id": appendLookupDataRequest.opcRequestId,
|
|
269
|
-
"if-match": appendLookupDataRequest.ifMatch
|
|
284
|
+
"if-match": appendLookupDataRequest.ifMatch,
|
|
285
|
+
"expect": appendLookupDataRequest.expect
|
|
270
286
|
};
|
|
271
|
-
const
|
|
287
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
288
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, appendLookupDataRequest.retryConfiguration, specRetryConfiguration);
|
|
272
289
|
if (this.logger)
|
|
273
290
|
retrier.logger = this.logger;
|
|
274
291
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -309,10 +326,11 @@ class LogAnalyticsClient {
|
|
|
309
326
|
/**
|
|
310
327
|
* Lists basic information about a specified set of labels in batch.
|
|
311
328
|
*
|
|
329
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
312
330
|
* @param BatchGetBasicInfoRequest
|
|
313
331
|
* @return BatchGetBasicInfoResponse
|
|
314
332
|
* @throws OciError when an error occurs
|
|
315
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
333
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/BatchGetBasicInfo.ts.html |here} to see how to use BatchGetBasicInfo API.
|
|
316
334
|
*/
|
|
317
335
|
batchGetBasicInfo(batchGetBasicInfoRequest) {
|
|
318
336
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -332,7 +350,8 @@ class LogAnalyticsClient {
|
|
|
332
350
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
333
351
|
"opc-request-id": batchGetBasicInfoRequest.opcRequestId
|
|
334
352
|
};
|
|
335
|
-
const
|
|
353
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
354
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, batchGetBasicInfoRequest.retryConfiguration, specRetryConfiguration);
|
|
336
355
|
if (this.logger)
|
|
337
356
|
retrier.logger = this.logger;
|
|
338
357
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -380,10 +399,11 @@ class LogAnalyticsClient {
|
|
|
380
399
|
}
|
|
381
400
|
/**
|
|
382
401
|
* Cancel/Remove query job work request.
|
|
402
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
383
403
|
* @param CancelQueryWorkRequestRequest
|
|
384
404
|
* @return CancelQueryWorkRequestResponse
|
|
385
405
|
* @throws OciError when an error occurs
|
|
386
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
406
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/CancelQueryWorkRequest.ts.html |here} to see how to use CancelQueryWorkRequest API.
|
|
387
407
|
*/
|
|
388
408
|
cancelQueryWorkRequest(cancelQueryWorkRequestRequest) {
|
|
389
409
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -399,7 +419,8 @@ class LogAnalyticsClient {
|
|
|
399
419
|
"opc-request-id": cancelQueryWorkRequestRequest.opcRequestId,
|
|
400
420
|
"if-match": cancelQueryWorkRequestRequest.ifMatch
|
|
401
421
|
};
|
|
402
|
-
const
|
|
422
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
423
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelQueryWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
403
424
|
if (this.logger)
|
|
404
425
|
retrier.logger = this.logger;
|
|
405
426
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -432,10 +453,11 @@ class LogAnalyticsClient {
|
|
|
432
453
|
}
|
|
433
454
|
/**
|
|
434
455
|
* Update the compartment of the log analytics enterprise manager bridge with the given id.
|
|
456
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
435
457
|
* @param ChangeLogAnalyticsEmBridgeCompartmentRequest
|
|
436
458
|
* @return ChangeLogAnalyticsEmBridgeCompartmentResponse
|
|
437
459
|
* @throws OciError when an error occurs
|
|
438
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
460
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ChangeLogAnalyticsEmBridgeCompartment.ts.html |here} to see how to use ChangeLogAnalyticsEmBridgeCompartment API.
|
|
439
461
|
*/
|
|
440
462
|
changeLogAnalyticsEmBridgeCompartment(changeLogAnalyticsEmBridgeCompartmentRequest) {
|
|
441
463
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -452,7 +474,8 @@ class LogAnalyticsClient {
|
|
|
452
474
|
"opc-request-id": changeLogAnalyticsEmBridgeCompartmentRequest.opcRequestId,
|
|
453
475
|
"opc-retry-token": changeLogAnalyticsEmBridgeCompartmentRequest.opcRetryToken
|
|
454
476
|
};
|
|
455
|
-
const
|
|
477
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
478
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLogAnalyticsEmBridgeCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
456
479
|
if (this.logger)
|
|
457
480
|
retrier.logger = this.logger;
|
|
458
481
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -486,10 +509,11 @@ class LogAnalyticsClient {
|
|
|
486
509
|
}
|
|
487
510
|
/**
|
|
488
511
|
* Update the compartment of the log analytics entity with the given id.
|
|
512
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
489
513
|
* @param ChangeLogAnalyticsEntityCompartmentRequest
|
|
490
514
|
* @return ChangeLogAnalyticsEntityCompartmentResponse
|
|
491
515
|
* @throws OciError when an error occurs
|
|
492
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
516
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ChangeLogAnalyticsEntityCompartment.ts.html |here} to see how to use ChangeLogAnalyticsEntityCompartment API.
|
|
493
517
|
*/
|
|
494
518
|
changeLogAnalyticsEntityCompartment(changeLogAnalyticsEntityCompartmentRequest) {
|
|
495
519
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -506,7 +530,8 @@ class LogAnalyticsClient {
|
|
|
506
530
|
"opc-request-id": changeLogAnalyticsEntityCompartmentRequest.opcRequestId,
|
|
507
531
|
"opc-retry-token": changeLogAnalyticsEntityCompartmentRequest.opcRetryToken
|
|
508
532
|
};
|
|
509
|
-
const
|
|
533
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
534
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLogAnalyticsEntityCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
510
535
|
if (this.logger)
|
|
511
536
|
retrier.logger = this.logger;
|
|
512
537
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -541,10 +566,11 @@ class LogAnalyticsClient {
|
|
|
541
566
|
/**
|
|
542
567
|
* Moves the specified log group to a different compartment.
|
|
543
568
|
*
|
|
569
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
544
570
|
* @param ChangeLogAnalyticsLogGroupCompartmentRequest
|
|
545
571
|
* @return ChangeLogAnalyticsLogGroupCompartmentResponse
|
|
546
572
|
* @throws OciError when an error occurs
|
|
547
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
573
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ChangeLogAnalyticsLogGroupCompartment.ts.html |here} to see how to use ChangeLogAnalyticsLogGroupCompartment API.
|
|
548
574
|
*/
|
|
549
575
|
changeLogAnalyticsLogGroupCompartment(changeLogAnalyticsLogGroupCompartmentRequest) {
|
|
550
576
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -561,7 +587,8 @@ class LogAnalyticsClient {
|
|
|
561
587
|
"opc-request-id": changeLogAnalyticsLogGroupCompartmentRequest.opcRequestId,
|
|
562
588
|
"opc-retry-token": changeLogAnalyticsLogGroupCompartmentRequest.opcRetryToken
|
|
563
589
|
};
|
|
564
|
-
const
|
|
590
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
591
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLogAnalyticsLogGroupCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
565
592
|
if (this.logger)
|
|
566
593
|
retrier.logger = this.logger;
|
|
567
594
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -595,10 +622,11 @@ class LogAnalyticsClient {
|
|
|
595
622
|
}
|
|
596
623
|
/**
|
|
597
624
|
* Move the rule from it's current compartment to the given compartment.
|
|
625
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
598
626
|
* @param ChangeLogAnalyticsObjectCollectionRuleCompartmentRequest
|
|
599
627
|
* @return ChangeLogAnalyticsObjectCollectionRuleCompartmentResponse
|
|
600
628
|
* @throws OciError when an error occurs
|
|
601
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
629
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ChangeLogAnalyticsObjectCollectionRuleCompartment.ts.html |here} to see how to use ChangeLogAnalyticsObjectCollectionRuleCompartment API.
|
|
602
630
|
*/
|
|
603
631
|
changeLogAnalyticsObjectCollectionRuleCompartment(changeLogAnalyticsObjectCollectionRuleCompartmentRequest) {
|
|
604
632
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -614,7 +642,8 @@ class LogAnalyticsClient {
|
|
|
614
642
|
"if-match": changeLogAnalyticsObjectCollectionRuleCompartmentRequest.ifMatch,
|
|
615
643
|
"opc-request-id": changeLogAnalyticsObjectCollectionRuleCompartmentRequest.opcRequestId
|
|
616
644
|
};
|
|
617
|
-
const
|
|
645
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
646
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLogAnalyticsObjectCollectionRuleCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
618
647
|
if (this.logger)
|
|
619
648
|
retrier.logger = this.logger;
|
|
620
649
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -649,10 +678,11 @@ class LogAnalyticsClient {
|
|
|
649
678
|
/**
|
|
650
679
|
* Move the scheduled task into a different compartment within the same tenancy.
|
|
651
680
|
*
|
|
681
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
652
682
|
* @param ChangeScheduledTaskCompartmentRequest
|
|
653
683
|
* @return ChangeScheduledTaskCompartmentResponse
|
|
654
684
|
* @throws OciError when an error occurs
|
|
655
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
685
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ChangeScheduledTaskCompartment.ts.html |here} to see how to use ChangeScheduledTaskCompartment API.
|
|
656
686
|
*/
|
|
657
687
|
changeScheduledTaskCompartment(changeScheduledTaskCompartmentRequest) {
|
|
658
688
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -669,7 +699,8 @@ class LogAnalyticsClient {
|
|
|
669
699
|
"opc-request-id": changeScheduledTaskCompartmentRequest.opcRequestId,
|
|
670
700
|
"opc-retry-token": changeScheduledTaskCompartmentRequest.opcRetryToken
|
|
671
701
|
};
|
|
672
|
-
const
|
|
702
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
703
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeScheduledTaskCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
673
704
|
if (this.logger)
|
|
674
705
|
retrier.logger = this.logger;
|
|
675
706
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -705,10 +736,11 @@ class LogAnalyticsClient {
|
|
|
705
736
|
* Clean accumulated acceleration data stored for the accelerated saved search.
|
|
706
737
|
* The ScheduledTask taskType must be ACCELERATION.
|
|
707
738
|
*
|
|
739
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
708
740
|
* @param CleanRequest
|
|
709
741
|
* @return CleanResponse
|
|
710
742
|
* @throws OciError when an error occurs
|
|
711
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
743
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/Clean.ts.html |here} to see how to use Clean API.
|
|
712
744
|
*/
|
|
713
745
|
clean(cleanRequest) {
|
|
714
746
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -727,7 +759,8 @@ class LogAnalyticsClient {
|
|
|
727
759
|
"opc-request-id": cleanRequest.opcRequestId,
|
|
728
760
|
"opc-retry-token": cleanRequest.opcRetryToken
|
|
729
761
|
};
|
|
730
|
-
const
|
|
762
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
763
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cleanRequest.retryConfiguration, specRetryConfiguration);
|
|
731
764
|
if (this.logger)
|
|
732
765
|
retrier.logger = this.logger;
|
|
733
766
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -760,10 +793,11 @@ class LogAnalyticsClient {
|
|
|
760
793
|
}
|
|
761
794
|
/**
|
|
762
795
|
* Add configuration for enterprise manager bridge. Enterprise manager bridge is used to automatically add selected entities from enterprise manager cloud control. A corresponding OCI bridge configuration is required in enterprise manager.
|
|
796
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
763
797
|
* @param CreateLogAnalyticsEmBridgeRequest
|
|
764
798
|
* @return CreateLogAnalyticsEmBridgeResponse
|
|
765
799
|
* @throws OciError when an error occurs
|
|
766
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
800
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/CreateLogAnalyticsEmBridge.ts.html |here} to see how to use CreateLogAnalyticsEmBridge API.
|
|
767
801
|
*/
|
|
768
802
|
createLogAnalyticsEmBridge(createLogAnalyticsEmBridgeRequest) {
|
|
769
803
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -778,7 +812,8 @@ class LogAnalyticsClient {
|
|
|
778
812
|
"opc-retry-token": createLogAnalyticsEmBridgeRequest.opcRetryToken,
|
|
779
813
|
"opc-request-id": createLogAnalyticsEmBridgeRequest.opcRequestId
|
|
780
814
|
};
|
|
781
|
-
const
|
|
815
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
816
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLogAnalyticsEmBridgeRequest.retryConfiguration, specRetryConfiguration);
|
|
782
817
|
if (this.logger)
|
|
783
818
|
retrier.logger = this.logger;
|
|
784
819
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -821,10 +856,11 @@ class LogAnalyticsClient {
|
|
|
821
856
|
}
|
|
822
857
|
/**
|
|
823
858
|
* Create a new log analytics entity.
|
|
859
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
824
860
|
* @param CreateLogAnalyticsEntityRequest
|
|
825
861
|
* @return CreateLogAnalyticsEntityResponse
|
|
826
862
|
* @throws OciError when an error occurs
|
|
827
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
863
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/CreateLogAnalyticsEntity.ts.html |here} to see how to use CreateLogAnalyticsEntity API.
|
|
828
864
|
*/
|
|
829
865
|
createLogAnalyticsEntity(createLogAnalyticsEntityRequest) {
|
|
830
866
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -839,7 +875,8 @@ class LogAnalyticsClient {
|
|
|
839
875
|
"opc-retry-token": createLogAnalyticsEntityRequest.opcRetryToken,
|
|
840
876
|
"opc-request-id": createLogAnalyticsEntityRequest.opcRequestId
|
|
841
877
|
};
|
|
842
|
-
const
|
|
878
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
879
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLogAnalyticsEntityRequest.retryConfiguration, specRetryConfiguration);
|
|
843
880
|
if (this.logger)
|
|
844
881
|
retrier.logger = this.logger;
|
|
845
882
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -882,10 +919,11 @@ class LogAnalyticsClient {
|
|
|
882
919
|
}
|
|
883
920
|
/**
|
|
884
921
|
* Add custom log analytics entity type.
|
|
922
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
885
923
|
* @param CreateLogAnalyticsEntityTypeRequest
|
|
886
924
|
* @return CreateLogAnalyticsEntityTypeResponse
|
|
887
925
|
* @throws OciError when an error occurs
|
|
888
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
926
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/CreateLogAnalyticsEntityType.ts.html |here} to see how to use CreateLogAnalyticsEntityType API.
|
|
889
927
|
*/
|
|
890
928
|
createLogAnalyticsEntityType(createLogAnalyticsEntityTypeRequest) {
|
|
891
929
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -900,7 +938,8 @@ class LogAnalyticsClient {
|
|
|
900
938
|
"opc-request-id": createLogAnalyticsEntityTypeRequest.opcRequestId,
|
|
901
939
|
"opc-retry-token": createLogAnalyticsEntityTypeRequest.opcRetryToken
|
|
902
940
|
};
|
|
903
|
-
const
|
|
941
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
942
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLogAnalyticsEntityTypeRequest.retryConfiguration, specRetryConfiguration);
|
|
904
943
|
if (this.logger)
|
|
905
944
|
retrier.logger = this.logger;
|
|
906
945
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -935,10 +974,11 @@ class LogAnalyticsClient {
|
|
|
935
974
|
/**
|
|
936
975
|
* Creates a new log group in the specified compartment with the input display name. You may also specify optional information such as description, defined tags, and free-form tags.
|
|
937
976
|
*
|
|
977
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
938
978
|
* @param CreateLogAnalyticsLogGroupRequest
|
|
939
979
|
* @return CreateLogAnalyticsLogGroupResponse
|
|
940
980
|
* @throws OciError when an error occurs
|
|
941
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
981
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/CreateLogAnalyticsLogGroup.ts.html |here} to see how to use CreateLogAnalyticsLogGroup API.
|
|
942
982
|
*/
|
|
943
983
|
createLogAnalyticsLogGroup(createLogAnalyticsLogGroupRequest) {
|
|
944
984
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -953,7 +993,8 @@ class LogAnalyticsClient {
|
|
|
953
993
|
"opc-retry-token": createLogAnalyticsLogGroupRequest.opcRetryToken,
|
|
954
994
|
"opc-request-id": createLogAnalyticsLogGroupRequest.opcRequestId
|
|
955
995
|
};
|
|
956
|
-
const
|
|
996
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
997
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLogAnalyticsLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
957
998
|
if (this.logger)
|
|
958
999
|
retrier.logger = this.logger;
|
|
959
1000
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -996,10 +1037,11 @@ class LogAnalyticsClient {
|
|
|
996
1037
|
}
|
|
997
1038
|
/**
|
|
998
1039
|
* Creates a rule to collect logs from an object storage bucket.
|
|
1040
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
999
1041
|
* @param CreateLogAnalyticsObjectCollectionRuleRequest
|
|
1000
1042
|
* @return CreateLogAnalyticsObjectCollectionRuleResponse
|
|
1001
1043
|
* @throws OciError when an error occurs
|
|
1002
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1044
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/CreateLogAnalyticsObjectCollectionRule.ts.html |here} to see how to use CreateLogAnalyticsObjectCollectionRule API.
|
|
1003
1045
|
*/
|
|
1004
1046
|
createLogAnalyticsObjectCollectionRule(createLogAnalyticsObjectCollectionRuleRequest) {
|
|
1005
1047
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1013,7 +1055,8 @@ class LogAnalyticsClient {
|
|
|
1013
1055
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1014
1056
|
"opc-request-id": createLogAnalyticsObjectCollectionRuleRequest.opcRequestId
|
|
1015
1057
|
};
|
|
1016
|
-
const
|
|
1058
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1059
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLogAnalyticsObjectCollectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1017
1060
|
if (this.logger)
|
|
1018
1061
|
retrier.logger = this.logger;
|
|
1019
1062
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1056,10 +1099,11 @@ class LogAnalyticsClient {
|
|
|
1056
1099
|
}
|
|
1057
1100
|
/**
|
|
1058
1101
|
* Schedule a task as specified and return task info.
|
|
1102
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1059
1103
|
* @param CreateScheduledTaskRequest
|
|
1060
1104
|
* @return CreateScheduledTaskResponse
|
|
1061
1105
|
* @throws OciError when an error occurs
|
|
1062
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1106
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/CreateScheduledTask.ts.html |here} to see how to use CreateScheduledTask API.
|
|
1063
1107
|
*/
|
|
1064
1108
|
createScheduledTask(createScheduledTaskRequest) {
|
|
1065
1109
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1074,7 +1118,8 @@ class LogAnalyticsClient {
|
|
|
1074
1118
|
"opc-request-id": createScheduledTaskRequest.opcRequestId,
|
|
1075
1119
|
"opc-retry-token": createScheduledTaskRequest.opcRetryToken
|
|
1076
1120
|
};
|
|
1077
|
-
const
|
|
1121
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1122
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createScheduledTaskRequest.retryConfiguration, specRetryConfiguration);
|
|
1078
1123
|
if (this.logger)
|
|
1079
1124
|
retrier.logger = this.logger;
|
|
1080
1125
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1118,10 +1163,11 @@ class LogAnalyticsClient {
|
|
|
1118
1163
|
/**
|
|
1119
1164
|
* Deletes the associations between the sources and entities specified.
|
|
1120
1165
|
*
|
|
1166
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1121
1167
|
* @param DeleteAssociationsRequest
|
|
1122
1168
|
* @return DeleteAssociationsResponse
|
|
1123
1169
|
* @throws OciError when an error occurs
|
|
1124
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1170
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteAssociations.ts.html |here} to see how to use DeleteAssociations API.
|
|
1125
1171
|
*/
|
|
1126
1172
|
deleteAssociations(deleteAssociationsRequest) {
|
|
1127
1173
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1136,7 +1182,8 @@ class LogAnalyticsClient {
|
|
|
1136
1182
|
"opc-retry-token": deleteAssociationsRequest.opcRetryToken,
|
|
1137
1183
|
"opc-request-id": deleteAssociationsRequest.opcRequestId
|
|
1138
1184
|
};
|
|
1139
|
-
const
|
|
1185
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1186
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAssociationsRequest.retryConfiguration, specRetryConfiguration);
|
|
1140
1187
|
if (this.logger)
|
|
1141
1188
|
retrier.logger = this.logger;
|
|
1142
1189
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1176,10 +1223,11 @@ class LogAnalyticsClient {
|
|
|
1176
1223
|
/**
|
|
1177
1224
|
* Deletes field with the specified name.
|
|
1178
1225
|
*
|
|
1226
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1179
1227
|
* @param DeleteFieldRequest
|
|
1180
1228
|
* @return DeleteFieldResponse
|
|
1181
1229
|
* @throws OciError when an error occurs
|
|
1182
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1230
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteField.ts.html |here} to see how to use DeleteField API.
|
|
1183
1231
|
*/
|
|
1184
1232
|
deleteField(deleteFieldRequest) {
|
|
1185
1233
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1196,7 +1244,8 @@ class LogAnalyticsClient {
|
|
|
1196
1244
|
"opc-request-id": deleteFieldRequest.opcRequestId,
|
|
1197
1245
|
"if-match": deleteFieldRequest.ifMatch
|
|
1198
1246
|
};
|
|
1199
|
-
const
|
|
1247
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1248
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFieldRequest.retryConfiguration, specRetryConfiguration);
|
|
1200
1249
|
if (this.logger)
|
|
1201
1250
|
retrier.logger = this.logger;
|
|
1202
1251
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1230,10 +1279,11 @@ class LogAnalyticsClient {
|
|
|
1230
1279
|
/**
|
|
1231
1280
|
* Deletes label with the specified name.
|
|
1232
1281
|
*
|
|
1282
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1233
1283
|
* @param DeleteLabelRequest
|
|
1234
1284
|
* @return DeleteLabelResponse
|
|
1235
1285
|
* @throws OciError when an error occurs
|
|
1236
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1286
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteLabel.ts.html |here} to see how to use DeleteLabel API.
|
|
1237
1287
|
*/
|
|
1238
1288
|
deleteLabel(deleteLabelRequest) {
|
|
1239
1289
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1250,7 +1300,8 @@ class LogAnalyticsClient {
|
|
|
1250
1300
|
"opc-request-id": deleteLabelRequest.opcRequestId,
|
|
1251
1301
|
"if-match": deleteLabelRequest.ifMatch
|
|
1252
1302
|
};
|
|
1253
|
-
const
|
|
1303
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1304
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLabelRequest.retryConfiguration, specRetryConfiguration);
|
|
1254
1305
|
if (this.logger)
|
|
1255
1306
|
retrier.logger = this.logger;
|
|
1256
1307
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1283,10 +1334,11 @@ class LogAnalyticsClient {
|
|
|
1283
1334
|
}
|
|
1284
1335
|
/**
|
|
1285
1336
|
* Delete log analytics enterprise manager bridge with the given id.
|
|
1337
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1286
1338
|
* @param DeleteLogAnalyticsEmBridgeRequest
|
|
1287
1339
|
* @return DeleteLogAnalyticsEmBridgeResponse
|
|
1288
1340
|
* @throws OciError when an error occurs
|
|
1289
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1341
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteLogAnalyticsEmBridge.ts.html |here} to see how to use DeleteLogAnalyticsEmBridge API.
|
|
1290
1342
|
*/
|
|
1291
1343
|
deleteLogAnalyticsEmBridge(deleteLogAnalyticsEmBridgeRequest) {
|
|
1292
1344
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1302,7 +1354,8 @@ class LogAnalyticsClient {
|
|
|
1302
1354
|
"if-match": deleteLogAnalyticsEmBridgeRequest.ifMatch,
|
|
1303
1355
|
"opc-request-id": deleteLogAnalyticsEmBridgeRequest.opcRequestId
|
|
1304
1356
|
};
|
|
1305
|
-
const
|
|
1357
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1358
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLogAnalyticsEmBridgeRequest.retryConfiguration, specRetryConfiguration);
|
|
1306
1359
|
if (this.logger)
|
|
1307
1360
|
retrier.logger = this.logger;
|
|
1308
1361
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1335,10 +1388,11 @@ class LogAnalyticsClient {
|
|
|
1335
1388
|
}
|
|
1336
1389
|
/**
|
|
1337
1390
|
* Delete log analytics entity with the given id.
|
|
1391
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1338
1392
|
* @param DeleteLogAnalyticsEntityRequest
|
|
1339
1393
|
* @return DeleteLogAnalyticsEntityResponse
|
|
1340
1394
|
* @throws OciError when an error occurs
|
|
1341
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1395
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteLogAnalyticsEntity.ts.html |here} to see how to use DeleteLogAnalyticsEntity API.
|
|
1342
1396
|
*/
|
|
1343
1397
|
deleteLogAnalyticsEntity(deleteLogAnalyticsEntityRequest) {
|
|
1344
1398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1354,7 +1408,8 @@ class LogAnalyticsClient {
|
|
|
1354
1408
|
"if-match": deleteLogAnalyticsEntityRequest.ifMatch,
|
|
1355
1409
|
"opc-request-id": deleteLogAnalyticsEntityRequest.opcRequestId
|
|
1356
1410
|
};
|
|
1357
|
-
const
|
|
1411
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1412
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLogAnalyticsEntityRequest.retryConfiguration, specRetryConfiguration);
|
|
1358
1413
|
if (this.logger)
|
|
1359
1414
|
retrier.logger = this.logger;
|
|
1360
1415
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1387,10 +1442,11 @@ class LogAnalyticsClient {
|
|
|
1387
1442
|
}
|
|
1388
1443
|
/**
|
|
1389
1444
|
* Delete log analytics entity type with the given name.
|
|
1445
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1390
1446
|
* @param DeleteLogAnalyticsEntityTypeRequest
|
|
1391
1447
|
* @return DeleteLogAnalyticsEntityTypeResponse
|
|
1392
1448
|
* @throws OciError when an error occurs
|
|
1393
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1449
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteLogAnalyticsEntityType.ts.html |here} to see how to use DeleteLogAnalyticsEntityType API.
|
|
1394
1450
|
*/
|
|
1395
1451
|
deleteLogAnalyticsEntityType(deleteLogAnalyticsEntityTypeRequest) {
|
|
1396
1452
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1406,7 +1462,8 @@ class LogAnalyticsClient {
|
|
|
1406
1462
|
"if-match": deleteLogAnalyticsEntityTypeRequest.ifMatch,
|
|
1407
1463
|
"opc-request-id": deleteLogAnalyticsEntityTypeRequest.opcRequestId
|
|
1408
1464
|
};
|
|
1409
|
-
const
|
|
1465
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1466
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLogAnalyticsEntityTypeRequest.retryConfiguration, specRetryConfiguration);
|
|
1410
1467
|
if (this.logger)
|
|
1411
1468
|
retrier.logger = this.logger;
|
|
1412
1469
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1440,10 +1497,11 @@ class LogAnalyticsClient {
|
|
|
1440
1497
|
/**
|
|
1441
1498
|
* Deletes the specified log group. The log group cannot be part of an active association or have an active upload.
|
|
1442
1499
|
*
|
|
1500
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1443
1501
|
* @param DeleteLogAnalyticsLogGroupRequest
|
|
1444
1502
|
* @return DeleteLogAnalyticsLogGroupResponse
|
|
1445
1503
|
* @throws OciError when an error occurs
|
|
1446
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1504
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteLogAnalyticsLogGroup.ts.html |here} to see how to use DeleteLogAnalyticsLogGroup API.
|
|
1447
1505
|
*/
|
|
1448
1506
|
deleteLogAnalyticsLogGroup(deleteLogAnalyticsLogGroupRequest) {
|
|
1449
1507
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1459,7 +1517,8 @@ class LogAnalyticsClient {
|
|
|
1459
1517
|
"if-match": deleteLogAnalyticsLogGroupRequest.ifMatch,
|
|
1460
1518
|
"opc-request-id": deleteLogAnalyticsLogGroupRequest.opcRequestId
|
|
1461
1519
|
};
|
|
1462
|
-
const
|
|
1520
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1521
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLogAnalyticsLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
1463
1522
|
if (this.logger)
|
|
1464
1523
|
retrier.logger = this.logger;
|
|
1465
1524
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1494,10 +1553,11 @@ class LogAnalyticsClient {
|
|
|
1494
1553
|
* Deletes the configured object storage bucket based collection rule and stop the log collection.
|
|
1495
1554
|
* It will not delete the existing processed data associated with this bucket from logging analytics storage.
|
|
1496
1555
|
*
|
|
1556
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1497
1557
|
* @param DeleteLogAnalyticsObjectCollectionRuleRequest
|
|
1498
1558
|
* @return DeleteLogAnalyticsObjectCollectionRuleResponse
|
|
1499
1559
|
* @throws OciError when an error occurs
|
|
1500
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1560
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteLogAnalyticsObjectCollectionRule.ts.html |here} to see how to use DeleteLogAnalyticsObjectCollectionRule API.
|
|
1501
1561
|
*/
|
|
1502
1562
|
deleteLogAnalyticsObjectCollectionRule(deleteLogAnalyticsObjectCollectionRuleRequest) {
|
|
1503
1563
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1513,7 +1573,8 @@ class LogAnalyticsClient {
|
|
|
1513
1573
|
"opc-request-id": deleteLogAnalyticsObjectCollectionRuleRequest.opcRequestId,
|
|
1514
1574
|
"if-match": deleteLogAnalyticsObjectCollectionRuleRequest.ifMatch
|
|
1515
1575
|
};
|
|
1516
|
-
const
|
|
1576
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1577
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLogAnalyticsObjectCollectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
1517
1578
|
if (this.logger)
|
|
1518
1579
|
retrier.logger = this.logger;
|
|
1519
1580
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1547,10 +1608,11 @@ class LogAnalyticsClient {
|
|
|
1547
1608
|
/**
|
|
1548
1609
|
* Deletes lookup with the specified name.
|
|
1549
1610
|
*
|
|
1611
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1550
1612
|
* @param DeleteLookupRequest
|
|
1551
1613
|
* @return DeleteLookupResponse
|
|
1552
1614
|
* @throws OciError when an error occurs
|
|
1553
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1615
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteLookup.ts.html |here} to see how to use DeleteLookup API.
|
|
1554
1616
|
*/
|
|
1555
1617
|
deleteLookup(deleteLookupRequest) {
|
|
1556
1618
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1569,7 +1631,8 @@ class LogAnalyticsClient {
|
|
|
1569
1631
|
"opc-request-id": deleteLookupRequest.opcRequestId,
|
|
1570
1632
|
"if-match": deleteLookupRequest.ifMatch
|
|
1571
1633
|
};
|
|
1572
|
-
const
|
|
1634
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1635
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLookupRequest.retryConfiguration, specRetryConfiguration);
|
|
1573
1636
|
if (this.logger)
|
|
1574
1637
|
retrier.logger = this.logger;
|
|
1575
1638
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1608,10 +1671,11 @@ class LogAnalyticsClient {
|
|
|
1608
1671
|
/**
|
|
1609
1672
|
* Deletes parser with the specified name.
|
|
1610
1673
|
*
|
|
1674
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1611
1675
|
* @param DeleteParserRequest
|
|
1612
1676
|
* @return DeleteParserResponse
|
|
1613
1677
|
* @throws OciError when an error occurs
|
|
1614
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1678
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteParser.ts.html |here} to see how to use DeleteParser API.
|
|
1615
1679
|
*/
|
|
1616
1680
|
deleteParser(deleteParserRequest) {
|
|
1617
1681
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1628,7 +1692,8 @@ class LogAnalyticsClient {
|
|
|
1628
1692
|
"opc-request-id": deleteParserRequest.opcRequestId,
|
|
1629
1693
|
"if-match": deleteParserRequest.ifMatch
|
|
1630
1694
|
};
|
|
1631
|
-
const
|
|
1695
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1696
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteParserRequest.retryConfiguration, specRetryConfiguration);
|
|
1632
1697
|
if (this.logger)
|
|
1633
1698
|
retrier.logger = this.logger;
|
|
1634
1699
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1661,10 +1726,11 @@ class LogAnalyticsClient {
|
|
|
1661
1726
|
}
|
|
1662
1727
|
/**
|
|
1663
1728
|
* Delete the scheduled task.
|
|
1729
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1664
1730
|
* @param DeleteScheduledTaskRequest
|
|
1665
1731
|
* @return DeleteScheduledTaskResponse
|
|
1666
1732
|
* @throws OciError when an error occurs
|
|
1667
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1733
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteScheduledTask.ts.html |here} to see how to use DeleteScheduledTask API.
|
|
1668
1734
|
*/
|
|
1669
1735
|
deleteScheduledTask(deleteScheduledTaskRequest) {
|
|
1670
1736
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1680,7 +1746,8 @@ class LogAnalyticsClient {
|
|
|
1680
1746
|
"opc-request-id": deleteScheduledTaskRequest.opcRequestId,
|
|
1681
1747
|
"if-match": deleteScheduledTaskRequest.ifMatch
|
|
1682
1748
|
};
|
|
1683
|
-
const
|
|
1749
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1750
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteScheduledTaskRequest.retryConfiguration, specRetryConfiguration);
|
|
1684
1751
|
if (this.logger)
|
|
1685
1752
|
retrier.logger = this.logger;
|
|
1686
1753
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1714,10 +1781,11 @@ class LogAnalyticsClient {
|
|
|
1714
1781
|
/**
|
|
1715
1782
|
* Deletes source with the specified name.
|
|
1716
1783
|
*
|
|
1784
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1717
1785
|
* @param DeleteSourceRequest
|
|
1718
1786
|
* @return DeleteSourceResponse
|
|
1719
1787
|
* @throws OciError when an error occurs
|
|
1720
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1788
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteSource.ts.html |here} to see how to use DeleteSource API.
|
|
1721
1789
|
*/
|
|
1722
1790
|
deleteSource(deleteSourceRequest) {
|
|
1723
1791
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1734,7 +1802,8 @@ class LogAnalyticsClient {
|
|
|
1734
1802
|
"opc-request-id": deleteSourceRequest.opcRequestId,
|
|
1735
1803
|
"if-match": deleteSourceRequest.ifMatch
|
|
1736
1804
|
};
|
|
1737
|
-
const
|
|
1805
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1806
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSourceRequest.retryConfiguration, specRetryConfiguration);
|
|
1738
1807
|
if (this.logger)
|
|
1739
1808
|
retrier.logger = this.logger;
|
|
1740
1809
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1769,10 +1838,11 @@ class LogAnalyticsClient {
|
|
|
1769
1838
|
* Deletes an Upload by its reference.
|
|
1770
1839
|
* It deletes all the logs in storage asscoiated with the upload and the corresponding upload metadata.
|
|
1771
1840
|
*
|
|
1841
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1772
1842
|
* @param DeleteUploadRequest
|
|
1773
1843
|
* @return DeleteUploadResponse
|
|
1774
1844
|
* @throws OciError when an error occurs
|
|
1775
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1845
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteUpload.ts.html |here} to see how to use DeleteUpload API.
|
|
1776
1846
|
*/
|
|
1777
1847
|
deleteUpload(deleteUploadRequest) {
|
|
1778
1848
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1788,7 +1858,8 @@ class LogAnalyticsClient {
|
|
|
1788
1858
|
"if-match": deleteUploadRequest.ifMatch,
|
|
1789
1859
|
"opc-request-id": deleteUploadRequest.opcRequestId
|
|
1790
1860
|
};
|
|
1791
|
-
const
|
|
1861
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1862
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteUploadRequest.retryConfiguration, specRetryConfiguration);
|
|
1792
1863
|
if (this.logger)
|
|
1793
1864
|
retrier.logger = this.logger;
|
|
1794
1865
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1833,10 +1904,11 @@ class LogAnalyticsClient {
|
|
|
1833
1904
|
* Deletes a specific log file inside an upload by upload file reference.
|
|
1834
1905
|
* It deletes all the logs from storage associated with the file and the corresponding metadata.
|
|
1835
1906
|
*
|
|
1907
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1836
1908
|
* @param DeleteUploadFileRequest
|
|
1837
1909
|
* @return DeleteUploadFileResponse
|
|
1838
1910
|
* @throws OciError when an error occurs
|
|
1839
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1911
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteUploadFile.ts.html |here} to see how to use DeleteUploadFile API.
|
|
1840
1912
|
*/
|
|
1841
1913
|
deleteUploadFile(deleteUploadFileRequest) {
|
|
1842
1914
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1852,7 +1924,8 @@ class LogAnalyticsClient {
|
|
|
1852
1924
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1853
1925
|
"opc-request-id": deleteUploadFileRequest.opcRequestId
|
|
1854
1926
|
};
|
|
1855
|
-
const
|
|
1927
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1928
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteUploadFileRequest.retryConfiguration, specRetryConfiguration);
|
|
1856
1929
|
if (this.logger)
|
|
1857
1930
|
retrier.logger = this.logger;
|
|
1858
1931
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1896,10 +1969,11 @@ class LogAnalyticsClient {
|
|
|
1896
1969
|
/**
|
|
1897
1970
|
* Suppresses a specific warning inside an upload.
|
|
1898
1971
|
*
|
|
1972
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1899
1973
|
* @param DeleteUploadWarningRequest
|
|
1900
1974
|
* @return DeleteUploadWarningResponse
|
|
1901
1975
|
* @throws OciError when an error occurs
|
|
1902
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1976
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DeleteUploadWarning.ts.html |here} to see how to use DeleteUploadWarning API.
|
|
1903
1977
|
*/
|
|
1904
1978
|
deleteUploadWarning(deleteUploadWarningRequest) {
|
|
1905
1979
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1915,7 +1989,8 @@ class LogAnalyticsClient {
|
|
|
1915
1989
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1916
1990
|
"opc-request-id": deleteUploadWarningRequest.opcRequestId
|
|
1917
1991
|
};
|
|
1918
|
-
const
|
|
1992
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1993
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteUploadWarningRequest.retryConfiguration, specRetryConfiguration);
|
|
1919
1994
|
if (this.logger)
|
|
1920
1995
|
retrier.logger = this.logger;
|
|
1921
1996
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -1949,10 +2024,11 @@ class LogAnalyticsClient {
|
|
|
1949
2024
|
/**
|
|
1950
2025
|
* This API disables archiving.
|
|
1951
2026
|
*
|
|
2027
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1952
2028
|
* @param DisableArchivingRequest
|
|
1953
2029
|
* @return DisableArchivingResponse
|
|
1954
2030
|
* @throws OciError when an error occurs
|
|
1955
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2031
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DisableArchiving.ts.html |here} to see how to use DisableArchiving API.
|
|
1956
2032
|
*/
|
|
1957
2033
|
disableArchiving(disableArchivingRequest) {
|
|
1958
2034
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1967,7 +2043,8 @@ class LogAnalyticsClient {
|
|
|
1967
2043
|
"opc-request-id": disableArchivingRequest.opcRequestId,
|
|
1968
2044
|
"if-match": disableArchivingRequest.ifMatch
|
|
1969
2045
|
};
|
|
1970
|
-
const
|
|
2046
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2047
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableArchivingRequest.retryConfiguration, specRetryConfiguration);
|
|
1971
2048
|
if (this.logger)
|
|
1972
2049
|
retrier.logger = this.logger;
|
|
1973
2050
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2012,10 +2089,11 @@ class LogAnalyticsClient {
|
|
|
2012
2089
|
* associated with any entity that becomes eligible for association. In addition, you may also optionally
|
|
2013
2090
|
* remove all existing associations for this log source.
|
|
2014
2091
|
*
|
|
2092
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2015
2093
|
* @param DisableAutoAssociationRequest
|
|
2016
2094
|
* @return DisableAutoAssociationResponse
|
|
2017
2095
|
* @throws OciError when an error occurs
|
|
2018
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2096
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DisableAutoAssociation.ts.html |here} to see how to use DisableAutoAssociation API.
|
|
2019
2097
|
*/
|
|
2020
2098
|
disableAutoAssociation(disableAutoAssociationRequest) {
|
|
2021
2099
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2031,7 +2109,8 @@ class LogAnalyticsClient {
|
|
|
2031
2109
|
"opc-retry-token": disableAutoAssociationRequest.opcRetryToken,
|
|
2032
2110
|
"opc-request-id": disableAutoAssociationRequest.opcRequestId
|
|
2033
2111
|
};
|
|
2034
|
-
const
|
|
2112
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2113
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableAutoAssociationRequest.retryConfiguration, specRetryConfiguration);
|
|
2035
2114
|
if (this.logger)
|
|
2036
2115
|
retrier.logger = this.logger;
|
|
2037
2116
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2071,10 +2150,11 @@ class LogAnalyticsClient {
|
|
|
2071
2150
|
/**
|
|
2072
2151
|
* Disable one or more event types in a source.
|
|
2073
2152
|
*
|
|
2153
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2074
2154
|
* @param DisableSourceEventTypesRequest
|
|
2075
2155
|
* @return DisableSourceEventTypesResponse
|
|
2076
2156
|
* @throws OciError when an error occurs
|
|
2077
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2157
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/DisableSourceEventTypes.ts.html |here} to see how to use DisableSourceEventTypes API.
|
|
2078
2158
|
*/
|
|
2079
2159
|
disableSourceEventTypes(disableSourceEventTypesRequest) {
|
|
2080
2160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2090,7 +2170,8 @@ class LogAnalyticsClient {
|
|
|
2090
2170
|
"opc-retry-token": disableSourceEventTypesRequest.opcRetryToken,
|
|
2091
2171
|
"opc-request-id": disableSourceEventTypesRequest.opcRequestId
|
|
2092
2172
|
};
|
|
2093
|
-
const
|
|
2173
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2174
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableSourceEventTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
2094
2175
|
if (this.logger)
|
|
2095
2176
|
retrier.logger = this.logger;
|
|
2096
2177
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2125,10 +2206,11 @@ class LogAnalyticsClient {
|
|
|
2125
2206
|
/**
|
|
2126
2207
|
* THis API enables archiving.
|
|
2127
2208
|
*
|
|
2209
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2128
2210
|
* @param EnableArchivingRequest
|
|
2129
2211
|
* @return EnableArchivingResponse
|
|
2130
2212
|
* @throws OciError when an error occurs
|
|
2131
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2213
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/EnableArchiving.ts.html |here} to see how to use EnableArchiving API.
|
|
2132
2214
|
*/
|
|
2133
2215
|
enableArchiving(enableArchivingRequest) {
|
|
2134
2216
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2143,7 +2225,8 @@ class LogAnalyticsClient {
|
|
|
2143
2225
|
"opc-request-id": enableArchivingRequest.opcRequestId,
|
|
2144
2226
|
"if-match": enableArchivingRequest.ifMatch
|
|
2145
2227
|
};
|
|
2146
|
-
const
|
|
2228
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2229
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableArchivingRequest.retryConfiguration, specRetryConfiguration);
|
|
2147
2230
|
if (this.logger)
|
|
2148
2231
|
retrier.logger = this.logger;
|
|
2149
2232
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2188,10 +2271,11 @@ class LogAnalyticsClient {
|
|
|
2188
2271
|
* to any eligible entities it is not already associated with, and would also ensure the log source gets
|
|
2189
2272
|
* associated with entities that are added or become eligible in the future.
|
|
2190
2273
|
*
|
|
2274
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2191
2275
|
* @param EnableAutoAssociationRequest
|
|
2192
2276
|
* @return EnableAutoAssociationResponse
|
|
2193
2277
|
* @throws OciError when an error occurs
|
|
2194
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2278
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/EnableAutoAssociation.ts.html |here} to see how to use EnableAutoAssociation API.
|
|
2195
2279
|
*/
|
|
2196
2280
|
enableAutoAssociation(enableAutoAssociationRequest) {
|
|
2197
2281
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2207,7 +2291,8 @@ class LogAnalyticsClient {
|
|
|
2207
2291
|
"opc-retry-token": enableAutoAssociationRequest.opcRetryToken,
|
|
2208
2292
|
"opc-request-id": enableAutoAssociationRequest.opcRequestId
|
|
2209
2293
|
};
|
|
2210
|
-
const
|
|
2294
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2295
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableAutoAssociationRequest.retryConfiguration, specRetryConfiguration);
|
|
2211
2296
|
if (this.logger)
|
|
2212
2297
|
retrier.logger = this.logger;
|
|
2213
2298
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2247,10 +2332,11 @@ class LogAnalyticsClient {
|
|
|
2247
2332
|
/**
|
|
2248
2333
|
* Enable one or more event types in a source. An event type and version can be enabled only in one source.
|
|
2249
2334
|
*
|
|
2335
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2250
2336
|
* @param EnableSourceEventTypesRequest
|
|
2251
2337
|
* @return EnableSourceEventTypesResponse
|
|
2252
2338
|
* @throws OciError when an error occurs
|
|
2253
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2339
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/EnableSourceEventTypes.ts.html |here} to see how to use EnableSourceEventTypes API.
|
|
2254
2340
|
*/
|
|
2255
2341
|
enableSourceEventTypes(enableSourceEventTypesRequest) {
|
|
2256
2342
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2266,7 +2352,8 @@ class LogAnalyticsClient {
|
|
|
2266
2352
|
"opc-retry-token": enableSourceEventTypesRequest.opcRetryToken,
|
|
2267
2353
|
"opc-request-id": enableSourceEventTypesRequest.opcRequestId
|
|
2268
2354
|
};
|
|
2269
|
-
const
|
|
2355
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2356
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableSourceEventTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
2270
2357
|
if (this.logger)
|
|
2271
2358
|
retrier.logger = this.logger;
|
|
2272
2359
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2301,10 +2388,11 @@ class LogAnalyticsClient {
|
|
|
2301
2388
|
/**
|
|
2302
2389
|
* This API estimates the size of data to be purged based based on time interval, purge query etc.
|
|
2303
2390
|
*
|
|
2391
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2304
2392
|
* @param EstimatePurgeDataSizeRequest
|
|
2305
2393
|
* @return EstimatePurgeDataSizeResponse
|
|
2306
2394
|
* @throws OciError when an error occurs
|
|
2307
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2395
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/EstimatePurgeDataSize.ts.html |here} to see how to use EstimatePurgeDataSize API.
|
|
2308
2396
|
*/
|
|
2309
2397
|
estimatePurgeDataSize(estimatePurgeDataSizeRequest) {
|
|
2310
2398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2320,7 +2408,8 @@ class LogAnalyticsClient {
|
|
|
2320
2408
|
"opc-retry-token": estimatePurgeDataSizeRequest.opcRetryToken,
|
|
2321
2409
|
"if-match": estimatePurgeDataSizeRequest.ifMatch
|
|
2322
2410
|
};
|
|
2323
|
-
const
|
|
2411
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2412
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, estimatePurgeDataSizeRequest.retryConfiguration, specRetryConfiguration);
|
|
2324
2413
|
if (this.logger)
|
|
2325
2414
|
retrier.logger = this.logger;
|
|
2326
2415
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2364,10 +2453,11 @@ class LogAnalyticsClient {
|
|
|
2364
2453
|
/**
|
|
2365
2454
|
* This API gives an active storage usage estimate for archived data to be recalled and the time range of such data.
|
|
2366
2455
|
*
|
|
2456
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2367
2457
|
* @param EstimateRecallDataSizeRequest
|
|
2368
2458
|
* @return EstimateRecallDataSizeResponse
|
|
2369
2459
|
* @throws OciError when an error occurs
|
|
2370
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2460
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/EstimateRecallDataSize.ts.html |here} to see how to use EstimateRecallDataSize API.
|
|
2371
2461
|
*/
|
|
2372
2462
|
estimateRecallDataSize(estimateRecallDataSizeRequest) {
|
|
2373
2463
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2381,7 +2471,8 @@ class LogAnalyticsClient {
|
|
|
2381
2471
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2382
2472
|
"opc-request-id": estimateRecallDataSizeRequest.opcRequestId
|
|
2383
2473
|
};
|
|
2384
|
-
const
|
|
2474
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2475
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, estimateRecallDataSizeRequest.retryConfiguration, specRetryConfiguration);
|
|
2385
2476
|
if (this.logger)
|
|
2386
2477
|
retrier.logger = this.logger;
|
|
2387
2478
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2420,10 +2511,11 @@ class LogAnalyticsClient {
|
|
|
2420
2511
|
/**
|
|
2421
2512
|
* This API gives an active storage usage estimate for recalled data to be released and the time range of such data.
|
|
2422
2513
|
*
|
|
2514
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2423
2515
|
* @param EstimateReleaseDataSizeRequest
|
|
2424
2516
|
* @return EstimateReleaseDataSizeResponse
|
|
2425
2517
|
* @throws OciError when an error occurs
|
|
2426
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2518
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/EstimateReleaseDataSize.ts.html |here} to see how to use EstimateReleaseDataSize API.
|
|
2427
2519
|
*/
|
|
2428
2520
|
estimateReleaseDataSize(estimateReleaseDataSizeRequest) {
|
|
2429
2521
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2437,7 +2529,8 @@ class LogAnalyticsClient {
|
|
|
2437
2529
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2438
2530
|
"opc-request-id": estimateReleaseDataSizeRequest.opcRequestId
|
|
2439
2531
|
};
|
|
2440
|
-
const
|
|
2532
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2533
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, estimateReleaseDataSizeRequest.retryConfiguration, specRetryConfiguration);
|
|
2441
2534
|
if (this.logger)
|
|
2442
2535
|
retrier.logger = this.logger;
|
|
2443
2536
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2476,10 +2569,11 @@ class LogAnalyticsClient {
|
|
|
2476
2569
|
/**
|
|
2477
2570
|
* Exports all custom details of the specified sources, parsers, fields and labels, in zip format.
|
|
2478
2571
|
*
|
|
2572
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2479
2573
|
* @param ExportCustomContentRequest
|
|
2480
2574
|
* @return ExportCustomContentResponse
|
|
2481
2575
|
* @throws OciError when an error occurs
|
|
2482
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2576
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ExportCustomContent.ts.html |here} to see how to use ExportCustomContent API.
|
|
2483
2577
|
*/
|
|
2484
2578
|
exportCustomContent(exportCustomContentRequest) {
|
|
2485
2579
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2494,7 +2588,8 @@ class LogAnalyticsClient {
|
|
|
2494
2588
|
"opc-retry-token": exportCustomContentRequest.opcRetryToken,
|
|
2495
2589
|
"opc-request-id": exportCustomContentRequest.opcRequestId
|
|
2496
2590
|
};
|
|
2497
|
-
const
|
|
2591
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2592
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportCustomContentRequest.retryConfiguration, specRetryConfiguration);
|
|
2498
2593
|
if (this.logger)
|
|
2499
2594
|
retrier.logger = this.logger;
|
|
2500
2595
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2531,10 +2626,11 @@ class LogAnalyticsClient {
|
|
|
2531
2626
|
}
|
|
2532
2627
|
/**
|
|
2533
2628
|
* Export data based on query. Endpoint returns a stream of data. Endpoint is synchronous. Queries must deliver first result within 60 seconds or calls are subject to timeout.
|
|
2629
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2534
2630
|
* @param ExportQueryResultRequest
|
|
2535
2631
|
* @return ExportQueryResultResponse
|
|
2536
2632
|
* @throws OciError when an error occurs
|
|
2537
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2633
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ExportQueryResult.ts.html |here} to see how to use ExportQueryResult API.
|
|
2538
2634
|
*/
|
|
2539
2635
|
exportQueryResult(exportQueryResultRequest) {
|
|
2540
2636
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2548,7 +2644,8 @@ class LogAnalyticsClient {
|
|
|
2548
2644
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2549
2645
|
"opc-request-id": exportQueryResultRequest.opcRequestId
|
|
2550
2646
|
};
|
|
2551
|
-
const
|
|
2647
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2648
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportQueryResultRequest.retryConfiguration, specRetryConfiguration);
|
|
2552
2649
|
if (this.logger)
|
|
2553
2650
|
retrier.logger = this.logger;
|
|
2554
2651
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2586,10 +2683,11 @@ class LogAnalyticsClient {
|
|
|
2586
2683
|
/**
|
|
2587
2684
|
* Extracts the field paths from the example json or xml content.
|
|
2588
2685
|
*
|
|
2686
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2589
2687
|
* @param ExtractStructuredLogFieldPathsRequest
|
|
2590
2688
|
* @return ExtractStructuredLogFieldPathsResponse
|
|
2591
2689
|
* @throws OciError when an error occurs
|
|
2592
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2690
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ExtractStructuredLogFieldPaths.ts.html |here} to see how to use ExtractStructuredLogFieldPaths API.
|
|
2593
2691
|
*/
|
|
2594
2692
|
extractStructuredLogFieldPaths(extractStructuredLogFieldPathsRequest) {
|
|
2595
2693
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2606,7 +2704,8 @@ class LogAnalyticsClient {
|
|
|
2606
2704
|
"opc-retry-token": extractStructuredLogFieldPathsRequest.opcRetryToken,
|
|
2607
2705
|
"opc-request-id": extractStructuredLogFieldPathsRequest.opcRequestId
|
|
2608
2706
|
};
|
|
2609
|
-
const
|
|
2707
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2708
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, extractStructuredLogFieldPathsRequest.retryConfiguration, specRetryConfiguration);
|
|
2610
2709
|
if (this.logger)
|
|
2611
2710
|
retrier.logger = this.logger;
|
|
2612
2711
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2645,10 +2744,11 @@ class LogAnalyticsClient {
|
|
|
2645
2744
|
/**
|
|
2646
2745
|
* Extracts the header paths from the example json or xml content.
|
|
2647
2746
|
*
|
|
2747
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2648
2748
|
* @param ExtractStructuredLogHeaderPathsRequest
|
|
2649
2749
|
* @return ExtractStructuredLogHeaderPathsResponse
|
|
2650
2750
|
* @throws OciError when an error occurs
|
|
2651
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2751
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ExtractStructuredLogHeaderPaths.ts.html |here} to see how to use ExtractStructuredLogHeaderPaths API.
|
|
2652
2752
|
*/
|
|
2653
2753
|
extractStructuredLogHeaderPaths(extractStructuredLogHeaderPathsRequest) {
|
|
2654
2754
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2665,7 +2765,8 @@ class LogAnalyticsClient {
|
|
|
2665
2765
|
"opc-retry-token": extractStructuredLogHeaderPathsRequest.opcRetryToken,
|
|
2666
2766
|
"opc-request-id": extractStructuredLogHeaderPathsRequest.opcRequestId
|
|
2667
2767
|
};
|
|
2668
|
-
const
|
|
2768
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2769
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, extractStructuredLogHeaderPathsRequest.retryConfiguration, specRetryConfiguration);
|
|
2669
2770
|
if (this.logger)
|
|
2670
2771
|
retrier.logger = this.logger;
|
|
2671
2772
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2703,10 +2804,11 @@ class LogAnalyticsClient {
|
|
|
2703
2804
|
}
|
|
2704
2805
|
/**
|
|
2705
2806
|
* Each filter specifies an operator, a field and one or more values to be inserted into the provided query as criteria.
|
|
2807
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2706
2808
|
* @param FilterRequest
|
|
2707
2809
|
* @return FilterResponse
|
|
2708
2810
|
* @throws OciError when an error occurs
|
|
2709
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2811
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/Filter.ts.html |here} to see how to use Filter API.
|
|
2710
2812
|
*/
|
|
2711
2813
|
filter(filterRequest) {
|
|
2712
2814
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2720,7 +2822,8 @@ class LogAnalyticsClient {
|
|
|
2720
2822
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2721
2823
|
"opc-request-id": filterRequest.opcRequestId
|
|
2722
2824
|
};
|
|
2723
|
-
const
|
|
2825
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2826
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, filterRequest.retryConfiguration, specRetryConfiguration);
|
|
2724
2827
|
if (this.logger)
|
|
2725
2828
|
retrier.logger = this.logger;
|
|
2726
2829
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2759,10 +2862,11 @@ class LogAnalyticsClient {
|
|
|
2759
2862
|
/**
|
|
2760
2863
|
* Returns the count of source associations for entities in the specified compartment.
|
|
2761
2864
|
*
|
|
2865
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2762
2866
|
* @param GetAssociationSummaryRequest
|
|
2763
2867
|
* @return GetAssociationSummaryResponse
|
|
2764
2868
|
* @throws OciError when an error occurs
|
|
2765
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2869
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetAssociationSummary.ts.html |here} to see how to use GetAssociationSummary API.
|
|
2766
2870
|
*/
|
|
2767
2871
|
getAssociationSummary(getAssociationSummaryRequest) {
|
|
2768
2872
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2778,7 +2882,8 @@ class LogAnalyticsClient {
|
|
|
2778
2882
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2779
2883
|
"opc-request-id": getAssociationSummaryRequest.opcRequestId
|
|
2780
2884
|
};
|
|
2781
|
-
const
|
|
2885
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2886
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAssociationSummaryRequest.retryConfiguration, specRetryConfiguration);
|
|
2782
2887
|
if (this.logger)
|
|
2783
2888
|
retrier.logger = this.logger;
|
|
2784
2889
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2816,10 +2921,11 @@ class LogAnalyticsClient {
|
|
|
2816
2921
|
/**
|
|
2817
2922
|
* Extracts column names from the input SQL query.
|
|
2818
2923
|
*
|
|
2924
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2819
2925
|
* @param GetColumnNamesRequest
|
|
2820
2926
|
* @return GetColumnNamesResponse
|
|
2821
2927
|
* @throws OciError when an error occurs
|
|
2822
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2928
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetColumnNames.ts.html |here} to see how to use GetColumnNames API.
|
|
2823
2929
|
*/
|
|
2824
2930
|
getColumnNames(getColumnNamesRequest) {
|
|
2825
2931
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2836,7 +2942,8 @@ class LogAnalyticsClient {
|
|
|
2836
2942
|
"opc-retry-token": getColumnNamesRequest.opcRetryToken,
|
|
2837
2943
|
"opc-request-id": getColumnNamesRequest.opcRequestId
|
|
2838
2944
|
};
|
|
2839
|
-
const
|
|
2945
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2946
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getColumnNamesRequest.retryConfiguration, specRetryConfiguration);
|
|
2840
2947
|
if (this.logger)
|
|
2841
2948
|
retrier.logger = this.logger;
|
|
2842
2949
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2874,10 +2981,11 @@ class LogAnalyticsClient {
|
|
|
2874
2981
|
/**
|
|
2875
2982
|
* Returns detailed information about the configuration work request with the specified id.
|
|
2876
2983
|
*
|
|
2984
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2877
2985
|
* @param GetConfigWorkRequestRequest
|
|
2878
2986
|
* @return GetConfigWorkRequestResponse
|
|
2879
2987
|
* @throws OciError when an error occurs
|
|
2880
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2988
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetConfigWorkRequest.ts.html |here} to see how to use GetConfigWorkRequest API.
|
|
2881
2989
|
*/
|
|
2882
2990
|
getConfigWorkRequest(getConfigWorkRequestRequest) {
|
|
2883
2991
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2892,7 +3000,8 @@ class LogAnalyticsClient {
|
|
|
2892
3000
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2893
3001
|
"opc-request-id": getConfigWorkRequestRequest.opcRequestId
|
|
2894
3002
|
};
|
|
2895
|
-
const
|
|
3003
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3004
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getConfigWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
2896
3005
|
if (this.logger)
|
|
2897
3006
|
retrier.logger = this.logger;
|
|
2898
3007
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2930,10 +3039,11 @@ class LogAnalyticsClient {
|
|
|
2930
3039
|
/**
|
|
2931
3040
|
* Gets detailed information about the field with the specified name.
|
|
2932
3041
|
*
|
|
3042
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2933
3043
|
* @param GetFieldRequest
|
|
2934
3044
|
* @return GetFieldResponse
|
|
2935
3045
|
* @throws OciError when an error occurs
|
|
2936
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3046
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetField.ts.html |here} to see how to use GetField API.
|
|
2937
3047
|
*/
|
|
2938
3048
|
getField(getFieldRequest) {
|
|
2939
3049
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2948,7 +3058,8 @@ class LogAnalyticsClient {
|
|
|
2948
3058
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2949
3059
|
"opc-request-id": getFieldRequest.opcRequestId
|
|
2950
3060
|
};
|
|
2951
|
-
const
|
|
3061
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3062
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFieldRequest.retryConfiguration, specRetryConfiguration);
|
|
2952
3063
|
if (this.logger)
|
|
2953
3064
|
retrier.logger = this.logger;
|
|
2954
3065
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -2991,10 +3102,11 @@ class LogAnalyticsClient {
|
|
|
2991
3102
|
/**
|
|
2992
3103
|
* Returns the count of fields. You may optionally specify isShowDetail=true to view a summary of each field data type.
|
|
2993
3104
|
*
|
|
3105
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2994
3106
|
* @param GetFieldsSummaryRequest
|
|
2995
3107
|
* @return GetFieldsSummaryResponse
|
|
2996
3108
|
* @throws OciError when an error occurs
|
|
2997
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3109
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetFieldsSummary.ts.html |here} to see how to use GetFieldsSummary API.
|
|
2998
3110
|
*/
|
|
2999
3111
|
getFieldsSummary(getFieldsSummaryRequest) {
|
|
3000
3112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3010,7 +3122,8 @@ class LogAnalyticsClient {
|
|
|
3010
3122
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3011
3123
|
"opc-request-id": getFieldsSummaryRequest.opcRequestId
|
|
3012
3124
|
};
|
|
3013
|
-
const
|
|
3125
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3126
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFieldsSummaryRequest.retryConfiguration, specRetryConfiguration);
|
|
3014
3127
|
if (this.logger)
|
|
3015
3128
|
retrier.logger = this.logger;
|
|
3016
3129
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3048,10 +3161,11 @@ class LogAnalyticsClient {
|
|
|
3048
3161
|
/**
|
|
3049
3162
|
* Gets detailed information about the label with the specified name.
|
|
3050
3163
|
*
|
|
3164
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3051
3165
|
* @param GetLabelRequest
|
|
3052
3166
|
* @return GetLabelResponse
|
|
3053
3167
|
* @throws OciError when an error occurs
|
|
3054
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3168
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetLabel.ts.html |here} to see how to use GetLabel API.
|
|
3055
3169
|
*/
|
|
3056
3170
|
getLabel(getLabelRequest) {
|
|
3057
3171
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3066,7 +3180,8 @@ class LogAnalyticsClient {
|
|
|
3066
3180
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3067
3181
|
"opc-request-id": getLabelRequest.opcRequestId
|
|
3068
3182
|
};
|
|
3069
|
-
const
|
|
3183
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3184
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLabelRequest.retryConfiguration, specRetryConfiguration);
|
|
3070
3185
|
if (this.logger)
|
|
3071
3186
|
retrier.logger = this.logger;
|
|
3072
3187
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3109,10 +3224,11 @@ class LogAnalyticsClient {
|
|
|
3109
3224
|
/**
|
|
3110
3225
|
* Returns the count of labels.
|
|
3111
3226
|
*
|
|
3227
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3112
3228
|
* @param GetLabelSummaryRequest
|
|
3113
3229
|
* @return GetLabelSummaryResponse
|
|
3114
3230
|
* @throws OciError when an error occurs
|
|
3115
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3231
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetLabelSummary.ts.html |here} to see how to use GetLabelSummary API.
|
|
3116
3232
|
*/
|
|
3117
3233
|
getLabelSummary(getLabelSummaryRequest) {
|
|
3118
3234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3126,7 +3242,8 @@ class LogAnalyticsClient {
|
|
|
3126
3242
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3127
3243
|
"opc-request-id": getLabelSummaryRequest.opcRequestId
|
|
3128
3244
|
};
|
|
3129
|
-
const
|
|
3245
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3246
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLabelSummaryRequest.retryConfiguration, specRetryConfiguration);
|
|
3130
3247
|
if (this.logger)
|
|
3131
3248
|
retrier.logger = this.logger;
|
|
3132
3249
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3163,10 +3280,11 @@ class LogAnalyticsClient {
|
|
|
3163
3280
|
}
|
|
3164
3281
|
/**
|
|
3165
3282
|
* Retrieve the log analytics enterprise manager bridge with the given id.
|
|
3283
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3166
3284
|
* @param GetLogAnalyticsEmBridgeRequest
|
|
3167
3285
|
* @return GetLogAnalyticsEmBridgeResponse
|
|
3168
3286
|
* @throws OciError when an error occurs
|
|
3169
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3287
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetLogAnalyticsEmBridge.ts.html |here} to see how to use GetLogAnalyticsEmBridge API.
|
|
3170
3288
|
*/
|
|
3171
3289
|
getLogAnalyticsEmBridge(getLogAnalyticsEmBridgeRequest) {
|
|
3172
3290
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3181,7 +3299,8 @@ class LogAnalyticsClient {
|
|
|
3181
3299
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3182
3300
|
"opc-request-id": getLogAnalyticsEmBridgeRequest.opcRequestId
|
|
3183
3301
|
};
|
|
3184
|
-
const
|
|
3302
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3303
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogAnalyticsEmBridgeRequest.retryConfiguration, specRetryConfiguration);
|
|
3185
3304
|
if (this.logger)
|
|
3186
3305
|
retrier.logger = this.logger;
|
|
3187
3306
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3223,10 +3342,11 @@ class LogAnalyticsClient {
|
|
|
3223
3342
|
}
|
|
3224
3343
|
/**
|
|
3225
3344
|
* Returns log analytics enterprise manager bridges summary report.
|
|
3345
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3226
3346
|
* @param GetLogAnalyticsEmBridgeSummaryRequest
|
|
3227
3347
|
* @return GetLogAnalyticsEmBridgeSummaryResponse
|
|
3228
3348
|
* @throws OciError when an error occurs
|
|
3229
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3349
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetLogAnalyticsEmBridgeSummary.ts.html |here} to see how to use GetLogAnalyticsEmBridgeSummary API.
|
|
3230
3350
|
*/
|
|
3231
3351
|
getLogAnalyticsEmBridgeSummary(getLogAnalyticsEmBridgeSummaryRequest) {
|
|
3232
3352
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3242,7 +3362,8 @@ class LogAnalyticsClient {
|
|
|
3242
3362
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3243
3363
|
"opc-request-id": getLogAnalyticsEmBridgeSummaryRequest.opcRequestId
|
|
3244
3364
|
};
|
|
3245
|
-
const
|
|
3365
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3366
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogAnalyticsEmBridgeSummaryRequest.retryConfiguration, specRetryConfiguration);
|
|
3246
3367
|
if (this.logger)
|
|
3247
3368
|
retrier.logger = this.logger;
|
|
3248
3369
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3279,10 +3400,11 @@ class LogAnalyticsClient {
|
|
|
3279
3400
|
}
|
|
3280
3401
|
/**
|
|
3281
3402
|
* Returns log analytics entities count summary report.
|
|
3403
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3282
3404
|
* @param GetLogAnalyticsEntitiesSummaryRequest
|
|
3283
3405
|
* @return GetLogAnalyticsEntitiesSummaryResponse
|
|
3284
3406
|
* @throws OciError when an error occurs
|
|
3285
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3407
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetLogAnalyticsEntitiesSummary.ts.html |here} to see how to use GetLogAnalyticsEntitiesSummary API.
|
|
3286
3408
|
*/
|
|
3287
3409
|
getLogAnalyticsEntitiesSummary(getLogAnalyticsEntitiesSummaryRequest) {
|
|
3288
3410
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3298,7 +3420,8 @@ class LogAnalyticsClient {
|
|
|
3298
3420
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3299
3421
|
"opc-request-id": getLogAnalyticsEntitiesSummaryRequest.opcRequestId
|
|
3300
3422
|
};
|
|
3301
|
-
const
|
|
3423
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3424
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogAnalyticsEntitiesSummaryRequest.retryConfiguration, specRetryConfiguration);
|
|
3302
3425
|
if (this.logger)
|
|
3303
3426
|
retrier.logger = this.logger;
|
|
3304
3427
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3335,10 +3458,11 @@ class LogAnalyticsClient {
|
|
|
3335
3458
|
}
|
|
3336
3459
|
/**
|
|
3337
3460
|
* Retrieve the log analytics entity with the given id.
|
|
3461
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3338
3462
|
* @param GetLogAnalyticsEntityRequest
|
|
3339
3463
|
* @return GetLogAnalyticsEntityResponse
|
|
3340
3464
|
* @throws OciError when an error occurs
|
|
3341
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3465
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetLogAnalyticsEntity.ts.html |here} to see how to use GetLogAnalyticsEntity API.
|
|
3342
3466
|
*/
|
|
3343
3467
|
getLogAnalyticsEntity(getLogAnalyticsEntityRequest) {
|
|
3344
3468
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3353,7 +3477,8 @@ class LogAnalyticsClient {
|
|
|
3353
3477
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3354
3478
|
"opc-request-id": getLogAnalyticsEntityRequest.opcRequestId
|
|
3355
3479
|
};
|
|
3356
|
-
const
|
|
3480
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3481
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogAnalyticsEntityRequest.retryConfiguration, specRetryConfiguration);
|
|
3357
3482
|
if (this.logger)
|
|
3358
3483
|
retrier.logger = this.logger;
|
|
3359
3484
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3395,10 +3520,11 @@ class LogAnalyticsClient {
|
|
|
3395
3520
|
}
|
|
3396
3521
|
/**
|
|
3397
3522
|
* Retrieve the log analytics entity type with the given name.
|
|
3523
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3398
3524
|
* @param GetLogAnalyticsEntityTypeRequest
|
|
3399
3525
|
* @return GetLogAnalyticsEntityTypeResponse
|
|
3400
3526
|
* @throws OciError when an error occurs
|
|
3401
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3527
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetLogAnalyticsEntityType.ts.html |here} to see how to use GetLogAnalyticsEntityType API.
|
|
3402
3528
|
*/
|
|
3403
3529
|
getLogAnalyticsEntityType(getLogAnalyticsEntityTypeRequest) {
|
|
3404
3530
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3413,7 +3539,8 @@ class LogAnalyticsClient {
|
|
|
3413
3539
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3414
3540
|
"opc-request-id": getLogAnalyticsEntityTypeRequest.opcRequestId
|
|
3415
3541
|
};
|
|
3416
|
-
const
|
|
3542
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3543
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogAnalyticsEntityTypeRequest.retryConfiguration, specRetryConfiguration);
|
|
3417
3544
|
if (this.logger)
|
|
3418
3545
|
retrier.logger = this.logger;
|
|
3419
3546
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3456,10 +3583,11 @@ class LogAnalyticsClient {
|
|
|
3456
3583
|
/**
|
|
3457
3584
|
* Gets detailed information about the specified log group such as display name, description, defined tags, and free-form tags.
|
|
3458
3585
|
*
|
|
3586
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3459
3587
|
* @param GetLogAnalyticsLogGroupRequest
|
|
3460
3588
|
* @return GetLogAnalyticsLogGroupResponse
|
|
3461
3589
|
* @throws OciError when an error occurs
|
|
3462
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3590
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetLogAnalyticsLogGroup.ts.html |here} to see how to use GetLogAnalyticsLogGroup API.
|
|
3463
3591
|
*/
|
|
3464
3592
|
getLogAnalyticsLogGroup(getLogAnalyticsLogGroupRequest) {
|
|
3465
3593
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3474,7 +3602,8 @@ class LogAnalyticsClient {
|
|
|
3474
3602
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3475
3603
|
"opc-request-id": getLogAnalyticsLogGroupRequest.opcRequestId
|
|
3476
3604
|
};
|
|
3477
|
-
const
|
|
3605
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3606
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogAnalyticsLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
3478
3607
|
if (this.logger)
|
|
3479
3608
|
retrier.logger = this.logger;
|
|
3480
3609
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3517,10 +3646,11 @@ class LogAnalyticsClient {
|
|
|
3517
3646
|
/**
|
|
3518
3647
|
* Returns the count of log groups in a compartment.
|
|
3519
3648
|
*
|
|
3649
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3520
3650
|
* @param GetLogAnalyticsLogGroupsSummaryRequest
|
|
3521
3651
|
* @return GetLogAnalyticsLogGroupsSummaryResponse
|
|
3522
3652
|
* @throws OciError when an error occurs
|
|
3523
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3653
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetLogAnalyticsLogGroupsSummary.ts.html |here} to see how to use GetLogAnalyticsLogGroupsSummary API.
|
|
3524
3654
|
*/
|
|
3525
3655
|
getLogAnalyticsLogGroupsSummary(getLogAnalyticsLogGroupsSummaryRequest) {
|
|
3526
3656
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3536,7 +3666,8 @@ class LogAnalyticsClient {
|
|
|
3536
3666
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3537
3667
|
"opc-request-id": getLogAnalyticsLogGroupsSummaryRequest.opcRequestId
|
|
3538
3668
|
};
|
|
3539
|
-
const
|
|
3669
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3670
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogAnalyticsLogGroupsSummaryRequest.retryConfiguration, specRetryConfiguration);
|
|
3540
3671
|
if (this.logger)
|
|
3541
3672
|
retrier.logger = this.logger;
|
|
3542
3673
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3573,10 +3704,11 @@ class LogAnalyticsClient {
|
|
|
3573
3704
|
}
|
|
3574
3705
|
/**
|
|
3575
3706
|
* Gets a configured object storage based collection rule by given id
|
|
3707
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3576
3708
|
* @param GetLogAnalyticsObjectCollectionRuleRequest
|
|
3577
3709
|
* @return GetLogAnalyticsObjectCollectionRuleResponse
|
|
3578
3710
|
* @throws OciError when an error occurs
|
|
3579
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3711
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetLogAnalyticsObjectCollectionRule.ts.html |here} to see how to use GetLogAnalyticsObjectCollectionRule API.
|
|
3580
3712
|
*/
|
|
3581
3713
|
getLogAnalyticsObjectCollectionRule(getLogAnalyticsObjectCollectionRuleRequest) {
|
|
3582
3714
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3591,7 +3723,8 @@ class LogAnalyticsClient {
|
|
|
3591
3723
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3592
3724
|
"opc-request-id": getLogAnalyticsObjectCollectionRuleRequest.opcRequestId
|
|
3593
3725
|
};
|
|
3594
|
-
const
|
|
3726
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3727
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogAnalyticsObjectCollectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
3595
3728
|
if (this.logger)
|
|
3596
3729
|
retrier.logger = this.logger;
|
|
3597
3730
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3631,13 +3764,71 @@ class LogAnalyticsClient {
|
|
|
3631
3764
|
}
|
|
3632
3765
|
});
|
|
3633
3766
|
}
|
|
3767
|
+
/**
|
|
3768
|
+
* This API returns the count of distinct log sets.
|
|
3769
|
+
*
|
|
3770
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3771
|
+
* @param GetLogSetsCountRequest
|
|
3772
|
+
* @return GetLogSetsCountResponse
|
|
3773
|
+
* @throws OciError when an error occurs
|
|
3774
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetLogSetsCount.ts.html |here} to see how to use GetLogSetsCount API.
|
|
3775
|
+
*/
|
|
3776
|
+
getLogSetsCount(getLogSetsCountRequest) {
|
|
3777
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3778
|
+
if (this.logger)
|
|
3779
|
+
this.logger.debug("Calling operation LogAnalyticsClient#getLogSetsCount.");
|
|
3780
|
+
const pathParams = {
|
|
3781
|
+
"{namespaceName}": getLogSetsCountRequest.namespaceName
|
|
3782
|
+
};
|
|
3783
|
+
const queryParams = {};
|
|
3784
|
+
let headerParams = {
|
|
3785
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3786
|
+
"opc-request-id": getLogSetsCountRequest.opcRequestId
|
|
3787
|
+
};
|
|
3788
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3789
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogSetsCountRequest.retryConfiguration, specRetryConfiguration);
|
|
3790
|
+
if (this.logger)
|
|
3791
|
+
retrier.logger = this.logger;
|
|
3792
|
+
const request = yield oci_common_1.composeRequest({
|
|
3793
|
+
baseEndpoint: this._endpoint,
|
|
3794
|
+
defaultHeaders: this._defaultHeaders,
|
|
3795
|
+
path: "/namespaces/{namespaceName}/storage/logSetsCount",
|
|
3796
|
+
method: "GET",
|
|
3797
|
+
pathParams: pathParams,
|
|
3798
|
+
headerParams: headerParams,
|
|
3799
|
+
queryParams: queryParams
|
|
3800
|
+
});
|
|
3801
|
+
try {
|
|
3802
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3803
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3804
|
+
responseObject: {},
|
|
3805
|
+
body: yield response.json(),
|
|
3806
|
+
bodyKey: "logSetsCount",
|
|
3807
|
+
bodyModel: model.LogSetsCount,
|
|
3808
|
+
type: "model.LogSetsCount",
|
|
3809
|
+
responseHeaders: [
|
|
3810
|
+
{
|
|
3811
|
+
value: response.headers.get("opc-request-id"),
|
|
3812
|
+
key: "opcRequestId",
|
|
3813
|
+
dataType: "string"
|
|
3814
|
+
}
|
|
3815
|
+
]
|
|
3816
|
+
});
|
|
3817
|
+
return sdkResponse;
|
|
3818
|
+
}
|
|
3819
|
+
catch (err) {
|
|
3820
|
+
throw err;
|
|
3821
|
+
}
|
|
3822
|
+
});
|
|
3823
|
+
}
|
|
3634
3824
|
/**
|
|
3635
3825
|
* Gets detailed information about the lookup with the specified name.
|
|
3636
3826
|
*
|
|
3827
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3637
3828
|
* @param GetLookupRequest
|
|
3638
3829
|
* @return GetLookupResponse
|
|
3639
3830
|
* @throws OciError when an error occurs
|
|
3640
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3831
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetLookup.ts.html |here} to see how to use GetLookup API.
|
|
3641
3832
|
*/
|
|
3642
3833
|
getLookup(getLookupRequest) {
|
|
3643
3834
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3652,7 +3843,8 @@ class LogAnalyticsClient {
|
|
|
3652
3843
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3653
3844
|
"opc-request-id": getLookupRequest.opcRequestId
|
|
3654
3845
|
};
|
|
3655
|
-
const
|
|
3846
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3847
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLookupRequest.retryConfiguration, specRetryConfiguration);
|
|
3656
3848
|
if (this.logger)
|
|
3657
3849
|
retrier.logger = this.logger;
|
|
3658
3850
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3694,10 +3886,11 @@ class LogAnalyticsClient {
|
|
|
3694
3886
|
}
|
|
3695
3887
|
/**
|
|
3696
3888
|
* Returns the count of user created and oracle defined lookups.
|
|
3889
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3697
3890
|
* @param GetLookupSummaryRequest
|
|
3698
3891
|
* @return GetLookupSummaryResponse
|
|
3699
3892
|
* @throws OciError when an error occurs
|
|
3700
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3893
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetLookupSummary.ts.html |here} to see how to use GetLookupSummary API.
|
|
3701
3894
|
*/
|
|
3702
3895
|
getLookupSummary(getLookupSummaryRequest) {
|
|
3703
3896
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3711,7 +3904,8 @@ class LogAnalyticsClient {
|
|
|
3711
3904
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3712
3905
|
"opc-request-id": getLookupSummaryRequest.opcRequestId
|
|
3713
3906
|
};
|
|
3714
|
-
const
|
|
3907
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3908
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLookupSummaryRequest.retryConfiguration, specRetryConfiguration);
|
|
3715
3909
|
if (this.logger)
|
|
3716
3910
|
retrier.logger = this.logger;
|
|
3717
3911
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3749,10 +3943,11 @@ class LogAnalyticsClient {
|
|
|
3749
3943
|
/**
|
|
3750
3944
|
* This API gets the namespace details of a tenancy already onboarded in Logging Analytics Application
|
|
3751
3945
|
*
|
|
3946
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3752
3947
|
* @param GetNamespaceRequest
|
|
3753
3948
|
* @return GetNamespaceResponse
|
|
3754
3949
|
* @throws OciError when an error occurs
|
|
3755
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3950
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetNamespace.ts.html |here} to see how to use GetNamespace API.
|
|
3756
3951
|
*/
|
|
3757
3952
|
getNamespace(getNamespaceRequest) {
|
|
3758
3953
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3766,7 +3961,8 @@ class LogAnalyticsClient {
|
|
|
3766
3961
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3767
3962
|
"opc-request-id": getNamespaceRequest.opcRequestId
|
|
3768
3963
|
};
|
|
3769
|
-
const
|
|
3964
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3965
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNamespaceRequest.retryConfiguration, specRetryConfiguration);
|
|
3770
3966
|
if (this.logger)
|
|
3771
3967
|
retrier.logger = this.logger;
|
|
3772
3968
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3809,10 +4005,11 @@ class LogAnalyticsClient {
|
|
|
3809
4005
|
/**
|
|
3810
4006
|
* Gets detailed information about the parser with the specified name.
|
|
3811
4007
|
*
|
|
4008
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3812
4009
|
* @param GetParserRequest
|
|
3813
4010
|
* @return GetParserResponse
|
|
3814
4011
|
* @throws OciError when an error occurs
|
|
3815
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4012
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetParser.ts.html |here} to see how to use GetParser API.
|
|
3816
4013
|
*/
|
|
3817
4014
|
getParser(getParserRequest) {
|
|
3818
4015
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3827,7 +4024,8 @@ class LogAnalyticsClient {
|
|
|
3827
4024
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3828
4025
|
"opc-request-id": getParserRequest.opcRequestId
|
|
3829
4026
|
};
|
|
3830
|
-
const
|
|
4027
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4028
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getParserRequest.retryConfiguration, specRetryConfiguration);
|
|
3831
4029
|
if (this.logger)
|
|
3832
4030
|
retrier.logger = this.logger;
|
|
3833
4031
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3870,10 +4068,11 @@ class LogAnalyticsClient {
|
|
|
3870
4068
|
/**
|
|
3871
4069
|
* Returns the count of parsers.
|
|
3872
4070
|
*
|
|
4071
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3873
4072
|
* @param GetParserSummaryRequest
|
|
3874
4073
|
* @return GetParserSummaryResponse
|
|
3875
4074
|
* @throws OciError when an error occurs
|
|
3876
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4075
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetParserSummary.ts.html |here} to see how to use GetParserSummary API.
|
|
3877
4076
|
*/
|
|
3878
4077
|
getParserSummary(getParserSummaryRequest) {
|
|
3879
4078
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3887,7 +4086,8 @@ class LogAnalyticsClient {
|
|
|
3887
4086
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3888
4087
|
"opc-request-id": getParserSummaryRequest.opcRequestId
|
|
3889
4088
|
};
|
|
3890
|
-
const
|
|
4089
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4090
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getParserSummaryRequest.retryConfiguration, specRetryConfiguration);
|
|
3891
4091
|
if (this.logger)
|
|
3892
4092
|
retrier.logger = this.logger;
|
|
3893
4093
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -3922,14 +4122,87 @@ class LogAnalyticsClient {
|
|
|
3922
4122
|
}
|
|
3923
4123
|
});
|
|
3924
4124
|
}
|
|
4125
|
+
/**
|
|
4126
|
+
* Lists the preferences of the tenant. Currently, only \"DEFAULT_HOMEPAGE\" is supported.
|
|
4127
|
+
*
|
|
4128
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4129
|
+
* @param GetPreferencesRequest
|
|
4130
|
+
* @return GetPreferencesResponse
|
|
4131
|
+
* @throws OciError when an error occurs
|
|
4132
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetPreferences.ts.html |here} to see how to use GetPreferences API.
|
|
4133
|
+
*/
|
|
4134
|
+
getPreferences(getPreferencesRequest) {
|
|
4135
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4136
|
+
if (this.logger)
|
|
4137
|
+
this.logger.debug("Calling operation LogAnalyticsClient#getPreferences.");
|
|
4138
|
+
const pathParams = {
|
|
4139
|
+
"{namespaceName}": getPreferencesRequest.namespaceName
|
|
4140
|
+
};
|
|
4141
|
+
const queryParams = {
|
|
4142
|
+
"sortOrder": getPreferencesRequest.sortOrder,
|
|
4143
|
+
"sortBy": getPreferencesRequest.sortBy,
|
|
4144
|
+
"limit": getPreferencesRequest.limit,
|
|
4145
|
+
"page": getPreferencesRequest.page
|
|
4146
|
+
};
|
|
4147
|
+
let headerParams = {
|
|
4148
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4149
|
+
"opc-request-id": getPreferencesRequest.opcRequestId
|
|
4150
|
+
};
|
|
4151
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4152
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPreferencesRequest.retryConfiguration, specRetryConfiguration);
|
|
4153
|
+
if (this.logger)
|
|
4154
|
+
retrier.logger = this.logger;
|
|
4155
|
+
const request = yield oci_common_1.composeRequest({
|
|
4156
|
+
baseEndpoint: this._endpoint,
|
|
4157
|
+
defaultHeaders: this._defaultHeaders,
|
|
4158
|
+
path: "/namespaces/{namespaceName}/preferences",
|
|
4159
|
+
method: "GET",
|
|
4160
|
+
pathParams: pathParams,
|
|
4161
|
+
headerParams: headerParams,
|
|
4162
|
+
queryParams: queryParams
|
|
4163
|
+
});
|
|
4164
|
+
try {
|
|
4165
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4166
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
4167
|
+
responseObject: {},
|
|
4168
|
+
body: yield response.json(),
|
|
4169
|
+
bodyKey: "logAnalyticsPreferenceCollection",
|
|
4170
|
+
bodyModel: model.LogAnalyticsPreferenceCollection,
|
|
4171
|
+
type: "model.LogAnalyticsPreferenceCollection",
|
|
4172
|
+
responseHeaders: [
|
|
4173
|
+
{
|
|
4174
|
+
value: response.headers.get("opc-prev-page"),
|
|
4175
|
+
key: "opcPrevPage",
|
|
4176
|
+
dataType: "string"
|
|
4177
|
+
},
|
|
4178
|
+
{
|
|
4179
|
+
value: response.headers.get("opc-next-page"),
|
|
4180
|
+
key: "opcNextPage",
|
|
4181
|
+
dataType: "string"
|
|
4182
|
+
},
|
|
4183
|
+
{
|
|
4184
|
+
value: response.headers.get("opc-request-id"),
|
|
4185
|
+
key: "opcRequestId",
|
|
4186
|
+
dataType: "string"
|
|
4187
|
+
}
|
|
4188
|
+
]
|
|
4189
|
+
});
|
|
4190
|
+
return sdkResponse;
|
|
4191
|
+
}
|
|
4192
|
+
catch (err) {
|
|
4193
|
+
throw err;
|
|
4194
|
+
}
|
|
4195
|
+
});
|
|
4196
|
+
}
|
|
3925
4197
|
/**
|
|
3926
4198
|
* Returns the intermediate results for a query that was specified to run asynchronously if the query has not completed,
|
|
3927
4199
|
* otherwise the final query results identified by a queryWorkRequestId returned when submitting the query execute asynchronously.
|
|
3928
4200
|
*
|
|
4201
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3929
4202
|
* @param GetQueryResultRequest
|
|
3930
4203
|
* @return GetQueryResultResponse
|
|
3931
4204
|
* @throws OciError when an error occurs
|
|
3932
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4205
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetQueryResult.ts.html |here} to see how to use GetQueryResult API.
|
|
3933
4206
|
*/
|
|
3934
4207
|
getQueryResult(getQueryResultRequest) {
|
|
3935
4208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3950,7 +4223,8 @@ class LogAnalyticsClient {
|
|
|
3950
4223
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3951
4224
|
"opc-request-id": getQueryResultRequest.opcRequestId
|
|
3952
4225
|
};
|
|
3953
|
-
const
|
|
4226
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4227
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getQueryResultRequest.retryConfiguration, specRetryConfiguration);
|
|
3954
4228
|
if (this.logger)
|
|
3955
4229
|
retrier.logger = this.logger;
|
|
3956
4230
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4002,10 +4276,11 @@ class LogAnalyticsClient {
|
|
|
4002
4276
|
}
|
|
4003
4277
|
/**
|
|
4004
4278
|
* Retrieve work request details by workRequestId. This endpoint can be polled for status tracking of work request. Clients should poll using the interval returned in the retry-after header.
|
|
4279
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4005
4280
|
* @param GetQueryWorkRequestRequest
|
|
4006
4281
|
* @return GetQueryWorkRequestResponse
|
|
4007
4282
|
* @throws OciError when an error occurs
|
|
4008
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4283
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetQueryWorkRequest.ts.html |here} to see how to use GetQueryWorkRequest API.
|
|
4009
4284
|
*/
|
|
4010
4285
|
getQueryWorkRequest(getQueryWorkRequestRequest) {
|
|
4011
4286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4020,7 +4295,8 @@ class LogAnalyticsClient {
|
|
|
4020
4295
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4021
4296
|
"opc-request-id": getQueryWorkRequestRequest.opcRequestId
|
|
4022
4297
|
};
|
|
4023
|
-
const
|
|
4298
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4299
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getQueryWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
4024
4300
|
if (this.logger)
|
|
4025
4301
|
retrier.logger = this.logger;
|
|
4026
4302
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4067,10 +4343,11 @@ class LogAnalyticsClient {
|
|
|
4067
4343
|
}
|
|
4068
4344
|
/**
|
|
4069
4345
|
* Get the scheduled task for the specified task identifier.
|
|
4346
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4070
4347
|
* @param GetScheduledTaskRequest
|
|
4071
4348
|
* @return GetScheduledTaskResponse
|
|
4072
4349
|
* @throws OciError when an error occurs
|
|
4073
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4350
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetScheduledTask.ts.html |here} to see how to use GetScheduledTask API.
|
|
4074
4351
|
*/
|
|
4075
4352
|
getScheduledTask(getScheduledTaskRequest) {
|
|
4076
4353
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4085,7 +4362,8 @@ class LogAnalyticsClient {
|
|
|
4085
4362
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4086
4363
|
"opc-request-id": getScheduledTaskRequest.opcRequestId
|
|
4087
4364
|
};
|
|
4088
|
-
const
|
|
4365
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4366
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getScheduledTaskRequest.retryConfiguration, specRetryConfiguration);
|
|
4089
4367
|
if (this.logger)
|
|
4090
4368
|
retrier.logger = this.logger;
|
|
4091
4369
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4128,10 +4406,11 @@ class LogAnalyticsClient {
|
|
|
4128
4406
|
/**
|
|
4129
4407
|
* Gets detailed information about the source with the specified name.
|
|
4130
4408
|
*
|
|
4409
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4131
4410
|
* @param GetSourceRequest
|
|
4132
4411
|
* @return GetSourceResponse
|
|
4133
4412
|
* @throws OciError when an error occurs
|
|
4134
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4413
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetSource.ts.html |here} to see how to use GetSource API.
|
|
4135
4414
|
*/
|
|
4136
4415
|
getSource(getSourceRequest) {
|
|
4137
4416
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4148,7 +4427,8 @@ class LogAnalyticsClient {
|
|
|
4148
4427
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4149
4428
|
"opc-request-id": getSourceRequest.opcRequestId
|
|
4150
4429
|
};
|
|
4151
|
-
const
|
|
4430
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4431
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSourceRequest.retryConfiguration, specRetryConfiguration);
|
|
4152
4432
|
if (this.logger)
|
|
4153
4433
|
retrier.logger = this.logger;
|
|
4154
4434
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4191,10 +4471,11 @@ class LogAnalyticsClient {
|
|
|
4191
4471
|
/**
|
|
4192
4472
|
* Returns the count of sources.
|
|
4193
4473
|
*
|
|
4474
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4194
4475
|
* @param GetSourceSummaryRequest
|
|
4195
4476
|
* @return GetSourceSummaryResponse
|
|
4196
4477
|
* @throws OciError when an error occurs
|
|
4197
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4478
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetSourceSummary.ts.html |here} to see how to use GetSourceSummary API.
|
|
4198
4479
|
*/
|
|
4199
4480
|
getSourceSummary(getSourceSummaryRequest) {
|
|
4200
4481
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4208,7 +4489,8 @@ class LogAnalyticsClient {
|
|
|
4208
4489
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4209
4490
|
"opc-request-id": getSourceSummaryRequest.opcRequestId
|
|
4210
4491
|
};
|
|
4211
|
-
const
|
|
4492
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4493
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSourceSummaryRequest.retryConfiguration, specRetryConfiguration);
|
|
4212
4494
|
if (this.logger)
|
|
4213
4495
|
retrier.logger = this.logger;
|
|
4214
4496
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4246,10 +4528,11 @@ class LogAnalyticsClient {
|
|
|
4246
4528
|
/**
|
|
4247
4529
|
* This API gets the storage configuration of a tenancy
|
|
4248
4530
|
*
|
|
4531
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4249
4532
|
* @param GetStorageRequest
|
|
4250
4533
|
* @return GetStorageResponse
|
|
4251
4534
|
* @throws OciError when an error occurs
|
|
4252
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4535
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetStorage.ts.html |here} to see how to use GetStorage API.
|
|
4253
4536
|
*/
|
|
4254
4537
|
getStorage(getStorageRequest) {
|
|
4255
4538
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4263,7 +4546,8 @@ class LogAnalyticsClient {
|
|
|
4263
4546
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4264
4547
|
"opc-request-id": getStorageRequest.opcRequestId
|
|
4265
4548
|
};
|
|
4266
|
-
const
|
|
4549
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4550
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStorageRequest.retryConfiguration, specRetryConfiguration);
|
|
4267
4551
|
if (this.logger)
|
|
4268
4552
|
retrier.logger = this.logger;
|
|
4269
4553
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4307,10 +4591,11 @@ class LogAnalyticsClient {
|
|
|
4307
4591
|
* This API gets storage usage information of a tenancy. Storage usage information includes active, archived or recalled
|
|
4308
4592
|
* data. The unit of return data is in bytes.
|
|
4309
4593
|
*
|
|
4594
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4310
4595
|
* @param GetStorageUsageRequest
|
|
4311
4596
|
* @return GetStorageUsageResponse
|
|
4312
4597
|
* @throws OciError when an error occurs
|
|
4313
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4598
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetStorageUsage.ts.html |here} to see how to use GetStorageUsage API.
|
|
4314
4599
|
*/
|
|
4315
4600
|
getStorageUsage(getStorageUsageRequest) {
|
|
4316
4601
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4324,7 +4609,8 @@ class LogAnalyticsClient {
|
|
|
4324
4609
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4325
4610
|
"opc-request-id": getStorageUsageRequest.opcRequestId
|
|
4326
4611
|
};
|
|
4327
|
-
const
|
|
4612
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4613
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStorageUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
4328
4614
|
if (this.logger)
|
|
4329
4615
|
retrier.logger = this.logger;
|
|
4330
4616
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4363,10 +4649,11 @@ class LogAnalyticsClient {
|
|
|
4363
4649
|
* This API returns work request details specified by {workRequestId}. This API can be polled for status tracking of
|
|
4364
4650
|
* work request. Clients should poll using the interval returned in retry-after header.
|
|
4365
4651
|
*
|
|
4652
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4366
4653
|
* @param GetStorageWorkRequestRequest
|
|
4367
4654
|
* @return GetStorageWorkRequestResponse
|
|
4368
4655
|
* @throws OciError when an error occurs
|
|
4369
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4656
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetStorageWorkRequest.ts.html |here} to see how to use GetStorageWorkRequest API.
|
|
4370
4657
|
*/
|
|
4371
4658
|
getStorageWorkRequest(getStorageWorkRequestRequest) {
|
|
4372
4659
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4381,7 +4668,8 @@ class LogAnalyticsClient {
|
|
|
4381
4668
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4382
4669
|
"opc-request-id": getStorageWorkRequestRequest.opcRequestId
|
|
4383
4670
|
};
|
|
4384
|
-
const
|
|
4671
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4672
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStorageWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
4385
4673
|
if (this.logger)
|
|
4386
4674
|
retrier.logger = this.logger;
|
|
4387
4675
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4426,12 +4714,70 @@ class LogAnalyticsClient {
|
|
|
4426
4714
|
}
|
|
4427
4715
|
});
|
|
4428
4716
|
}
|
|
4717
|
+
/**
|
|
4718
|
+
* This API retrieves details of the configured bucket that stores unprocessed payloads.
|
|
4719
|
+
*
|
|
4720
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4721
|
+
* @param GetUnprocessedDataBucketRequest
|
|
4722
|
+
* @return GetUnprocessedDataBucketResponse
|
|
4723
|
+
* @throws OciError when an error occurs
|
|
4724
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetUnprocessedDataBucket.ts.html |here} to see how to use GetUnprocessedDataBucket API.
|
|
4725
|
+
*/
|
|
4726
|
+
getUnprocessedDataBucket(getUnprocessedDataBucketRequest) {
|
|
4727
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4728
|
+
if (this.logger)
|
|
4729
|
+
this.logger.debug("Calling operation LogAnalyticsClient#getUnprocessedDataBucket.");
|
|
4730
|
+
const pathParams = {
|
|
4731
|
+
"{namespaceName}": getUnprocessedDataBucketRequest.namespaceName
|
|
4732
|
+
};
|
|
4733
|
+
const queryParams = {};
|
|
4734
|
+
let headerParams = {
|
|
4735
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4736
|
+
"opc-request-id": getUnprocessedDataBucketRequest.opcRequestId
|
|
4737
|
+
};
|
|
4738
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4739
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getUnprocessedDataBucketRequest.retryConfiguration, specRetryConfiguration);
|
|
4740
|
+
if (this.logger)
|
|
4741
|
+
retrier.logger = this.logger;
|
|
4742
|
+
const request = yield oci_common_1.composeRequest({
|
|
4743
|
+
baseEndpoint: this._endpoint,
|
|
4744
|
+
defaultHeaders: this._defaultHeaders,
|
|
4745
|
+
path: "/namespaces/{namespaceName}/unprocessedDataBucket",
|
|
4746
|
+
method: "GET",
|
|
4747
|
+
pathParams: pathParams,
|
|
4748
|
+
headerParams: headerParams,
|
|
4749
|
+
queryParams: queryParams
|
|
4750
|
+
});
|
|
4751
|
+
try {
|
|
4752
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4753
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
4754
|
+
responseObject: {},
|
|
4755
|
+
body: yield response.json(),
|
|
4756
|
+
bodyKey: "unprocessedDataBucket",
|
|
4757
|
+
bodyModel: model.UnprocessedDataBucket,
|
|
4758
|
+
type: "model.UnprocessedDataBucket",
|
|
4759
|
+
responseHeaders: [
|
|
4760
|
+
{
|
|
4761
|
+
value: response.headers.get("opc-request-id"),
|
|
4762
|
+
key: "opcRequestId",
|
|
4763
|
+
dataType: "string"
|
|
4764
|
+
}
|
|
4765
|
+
]
|
|
4766
|
+
});
|
|
4767
|
+
return sdkResponse;
|
|
4768
|
+
}
|
|
4769
|
+
catch (err) {
|
|
4770
|
+
throw err;
|
|
4771
|
+
}
|
|
4772
|
+
});
|
|
4773
|
+
}
|
|
4429
4774
|
/**
|
|
4430
4775
|
* Gets an On-Demand Upload info by reference.
|
|
4776
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4431
4777
|
* @param GetUploadRequest
|
|
4432
4778
|
* @return GetUploadResponse
|
|
4433
4779
|
* @throws OciError when an error occurs
|
|
4434
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4780
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetUpload.ts.html |here} to see how to use GetUpload API.
|
|
4435
4781
|
*/
|
|
4436
4782
|
getUpload(getUploadRequest) {
|
|
4437
4783
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4446,7 +4792,8 @@ class LogAnalyticsClient {
|
|
|
4446
4792
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4447
4793
|
"opc-request-id": getUploadRequest.opcRequestId
|
|
4448
4794
|
};
|
|
4449
|
-
const
|
|
4795
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4796
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getUploadRequest.retryConfiguration, specRetryConfiguration);
|
|
4450
4797
|
if (this.logger)
|
|
4451
4798
|
retrier.logger = this.logger;
|
|
4452
4799
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4488,10 +4835,11 @@ class LogAnalyticsClient {
|
|
|
4488
4835
|
}
|
|
4489
4836
|
/**
|
|
4490
4837
|
* Gets the status of the work request with the given ID.
|
|
4838
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4491
4839
|
* @param GetWorkRequestRequest
|
|
4492
4840
|
* @return GetWorkRequestResponse
|
|
4493
4841
|
* @throws OciError when an error occurs
|
|
4494
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4842
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
4495
4843
|
*/
|
|
4496
4844
|
getWorkRequest(getWorkRequestRequest) {
|
|
4497
4845
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4506,7 +4854,8 @@ class LogAnalyticsClient {
|
|
|
4506
4854
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4507
4855
|
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
4508
4856
|
};
|
|
4509
|
-
const
|
|
4857
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4858
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
4510
4859
|
if (this.logger)
|
|
4511
4860
|
retrier.logger = this.logger;
|
|
4512
4861
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4549,10 +4898,11 @@ class LogAnalyticsClient {
|
|
|
4549
4898
|
/**
|
|
4550
4899
|
* Imports the specified custom content from the input in zip format.
|
|
4551
4900
|
*
|
|
4901
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4552
4902
|
* @param ImportCustomContentRequest
|
|
4553
4903
|
* @return ImportCustomContentResponse
|
|
4554
4904
|
* @throws OciError when an error occurs
|
|
4555
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4905
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ImportCustomContent.ts.html |here} to see how to use ImportCustomContent API.
|
|
4556
4906
|
*/
|
|
4557
4907
|
importCustomContent(importCustomContentRequest) {
|
|
4558
4908
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4566,9 +4916,11 @@ class LogAnalyticsClient {
|
|
|
4566
4916
|
};
|
|
4567
4917
|
let headerParams = {
|
|
4568
4918
|
"opc-retry-token": importCustomContentRequest.opcRetryToken,
|
|
4569
|
-
"opc-request-id": importCustomContentRequest.opcRequestId
|
|
4919
|
+
"opc-request-id": importCustomContentRequest.opcRequestId,
|
|
4920
|
+
"expect": importCustomContentRequest.expect
|
|
4570
4921
|
};
|
|
4571
|
-
const
|
|
4922
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4923
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, importCustomContentRequest.retryConfiguration, specRetryConfiguration);
|
|
4572
4924
|
if (this.logger)
|
|
4573
4925
|
retrier.logger = this.logger;
|
|
4574
4926
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4608,10 +4960,11 @@ class LogAnalyticsClient {
|
|
|
4608
4960
|
/**
|
|
4609
4961
|
* Lists the entities in the specified compartment which are (in)eligible for association with this source.
|
|
4610
4962
|
*
|
|
4963
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4611
4964
|
* @param ListAssociableEntitiesRequest
|
|
4612
4965
|
* @return ListAssociableEntitiesResponse
|
|
4613
4966
|
* @throws OciError when an error occurs
|
|
4614
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4967
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListAssociableEntities.ts.html |here} to see how to use ListAssociableEntities API.
|
|
4615
4968
|
*/
|
|
4616
4969
|
listAssociableEntities(listAssociableEntitiesRequest) {
|
|
4617
4970
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4634,7 +4987,8 @@ class LogAnalyticsClient {
|
|
|
4634
4987
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4635
4988
|
"opc-request-id": listAssociableEntitiesRequest.opcRequestId
|
|
4636
4989
|
};
|
|
4637
|
-
const
|
|
4990
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4991
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAssociableEntitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
4638
4992
|
if (this.logger)
|
|
4639
4993
|
retrier.logger = this.logger;
|
|
4640
4994
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4682,10 +5036,11 @@ class LogAnalyticsClient {
|
|
|
4682
5036
|
/**
|
|
4683
5037
|
* Lists the association details of entities in the specified compartment that are associated with at least one source.
|
|
4684
5038
|
*
|
|
5039
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4685
5040
|
* @param ListAssociatedEntitiesRequest
|
|
4686
5041
|
* @return ListAssociatedEntitiesResponse
|
|
4687
5042
|
* @throws OciError when an error occurs
|
|
4688
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5043
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListAssociatedEntities.ts.html |here} to see how to use ListAssociatedEntities API.
|
|
4689
5044
|
*/
|
|
4690
5045
|
listAssociatedEntities(listAssociatedEntitiesRequest) {
|
|
4691
5046
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4708,7 +5063,8 @@ class LogAnalyticsClient {
|
|
|
4708
5063
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4709
5064
|
"opc-request-id": listAssociatedEntitiesRequest.opcRequestId
|
|
4710
5065
|
};
|
|
4711
|
-
const
|
|
5066
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5067
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAssociatedEntitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
4712
5068
|
if (this.logger)
|
|
4713
5069
|
retrier.logger = this.logger;
|
|
4714
5070
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4756,10 +5112,11 @@ class LogAnalyticsClient {
|
|
|
4756
5112
|
/**
|
|
4757
5113
|
* Gets information related to auto association for the source with the specified name.
|
|
4758
5114
|
*
|
|
5115
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4759
5116
|
* @param ListAutoAssociationsRequest
|
|
4760
5117
|
* @return ListAutoAssociationsResponse
|
|
4761
5118
|
* @throws OciError when an error occurs
|
|
4762
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5119
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListAutoAssociations.ts.html |here} to see how to use ListAutoAssociations API.
|
|
4763
5120
|
*/
|
|
4764
5121
|
listAutoAssociations(listAutoAssociationsRequest) {
|
|
4765
5122
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4779,7 +5136,8 @@ class LogAnalyticsClient {
|
|
|
4779
5136
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4780
5137
|
"opc-request-id": listAutoAssociationsRequest.opcRequestId
|
|
4781
5138
|
};
|
|
4782
|
-
const
|
|
5139
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5140
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAutoAssociationsRequest.retryConfiguration, specRetryConfiguration);
|
|
4783
5141
|
if (this.logger)
|
|
4784
5142
|
retrier.logger = this.logger;
|
|
4785
5143
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4827,10 +5185,11 @@ class LogAnalyticsClient {
|
|
|
4827
5185
|
/**
|
|
4828
5186
|
* Returns the list of configuration work requests such as association or lookup operations, containing detailed information about them. You may paginate or limit the number of results.
|
|
4829
5187
|
*
|
|
5188
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4830
5189
|
* @param ListConfigWorkRequestsRequest
|
|
4831
5190
|
* @return ListConfigWorkRequestsResponse
|
|
4832
5191
|
* @throws OciError when an error occurs
|
|
4833
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5192
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListConfigWorkRequests.ts.html |here} to see how to use ListConfigWorkRequests API.
|
|
4834
5193
|
*/
|
|
4835
5194
|
listConfigWorkRequests(listConfigWorkRequestsRequest) {
|
|
4836
5195
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4849,7 +5208,8 @@ class LogAnalyticsClient {
|
|
|
4849
5208
|
let headerParams = {
|
|
4850
5209
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
4851
5210
|
};
|
|
4852
|
-
const
|
|
5211
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5212
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listConfigWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
4853
5213
|
if (this.logger)
|
|
4854
5214
|
retrier.logger = this.logger;
|
|
4855
5215
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4896,10 +5256,11 @@ class LogAnalyticsClient {
|
|
|
4896
5256
|
}
|
|
4897
5257
|
/**
|
|
4898
5258
|
* Return a list of log analytics entities associated with input source log analytics entity.
|
|
5259
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4899
5260
|
* @param ListEntityAssociationsRequest
|
|
4900
5261
|
* @return ListEntityAssociationsResponse
|
|
4901
5262
|
* @throws OciError when an error occurs
|
|
4902
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5263
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListEntityAssociations.ts.html |here} to see how to use ListEntityAssociations API.
|
|
4903
5264
|
*/
|
|
4904
5265
|
listEntityAssociations(listEntityAssociationsRequest) {
|
|
4905
5266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4920,7 +5281,8 @@ class LogAnalyticsClient {
|
|
|
4920
5281
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4921
5282
|
"opc-request-id": listEntityAssociationsRequest.opcRequestId
|
|
4922
5283
|
};
|
|
4923
|
-
const
|
|
5284
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5285
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEntityAssociationsRequest.retryConfiguration, specRetryConfiguration);
|
|
4924
5286
|
if (this.logger)
|
|
4925
5287
|
retrier.logger = this.logger;
|
|
4926
5288
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -4963,10 +5325,11 @@ class LogAnalyticsClient {
|
|
|
4963
5325
|
/**
|
|
4964
5326
|
* Returns the list of source associations for the specified entity.
|
|
4965
5327
|
*
|
|
5328
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4966
5329
|
* @param ListEntitySourceAssociationsRequest
|
|
4967
5330
|
* @return ListEntitySourceAssociationsResponse
|
|
4968
5331
|
* @throws OciError when an error occurs
|
|
4969
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5332
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListEntitySourceAssociations.ts.html |here} to see how to use ListEntitySourceAssociations API.
|
|
4970
5333
|
*/
|
|
4971
5334
|
listEntitySourceAssociations(listEntitySourceAssociationsRequest) {
|
|
4972
5335
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4991,7 +5354,8 @@ class LogAnalyticsClient {
|
|
|
4991
5354
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4992
5355
|
"opc-request-id": listEntitySourceAssociationsRequest.opcRequestId
|
|
4993
5356
|
};
|
|
4994
|
-
const
|
|
5357
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5358
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listEntitySourceAssociationsRequest.retryConfiguration, specRetryConfiguration);
|
|
4995
5359
|
if (this.logger)
|
|
4996
5360
|
retrier.logger = this.logger;
|
|
4997
5361
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -5039,10 +5403,11 @@ class LogAnalyticsClient {
|
|
|
5039
5403
|
/**
|
|
5040
5404
|
* Returns a list of log fields, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by specifying various options including parser and source names.
|
|
5041
5405
|
*
|
|
5406
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5042
5407
|
* @param ListFieldsRequest
|
|
5043
5408
|
* @return ListFieldsResponse
|
|
5044
5409
|
* @throws OciError when an error occurs
|
|
5045
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5410
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListFields.ts.html |here} to see how to use ListFields API.
|
|
5046
5411
|
*/
|
|
5047
5412
|
listFields(listFieldsRequest) {
|
|
5048
5413
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5069,7 +5434,8 @@ class LogAnalyticsClient {
|
|
|
5069
5434
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5070
5435
|
"opc-request-id": listFieldsRequest.opcRequestId
|
|
5071
5436
|
};
|
|
5072
|
-
const
|
|
5437
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5438
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFieldsRequest.retryConfiguration, specRetryConfiguration);
|
|
5073
5439
|
if (this.logger)
|
|
5074
5440
|
retrier.logger = this.logger;
|
|
5075
5441
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -5117,10 +5483,11 @@ class LogAnalyticsClient {
|
|
|
5117
5483
|
/**
|
|
5118
5484
|
* Lists the available problem priorities that could be associated with a label.
|
|
5119
5485
|
*
|
|
5486
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5120
5487
|
* @param ListLabelPrioritiesRequest
|
|
5121
5488
|
* @return ListLabelPrioritiesResponse
|
|
5122
5489
|
* @throws OciError when an error occurs
|
|
5123
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5490
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListLabelPriorities.ts.html |here} to see how to use ListLabelPriorities API.
|
|
5124
5491
|
*/
|
|
5125
5492
|
listLabelPriorities(listLabelPrioritiesRequest) {
|
|
5126
5493
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5137,7 +5504,8 @@ class LogAnalyticsClient {
|
|
|
5137
5504
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5138
5505
|
"opc-request-id": listLabelPrioritiesRequest.opcRequestId
|
|
5139
5506
|
};
|
|
5140
|
-
const
|
|
5507
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5508
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLabelPrioritiesRequest.retryConfiguration, specRetryConfiguration);
|
|
5141
5509
|
if (this.logger)
|
|
5142
5510
|
retrier.logger = this.logger;
|
|
5143
5511
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -5185,10 +5553,11 @@ class LogAnalyticsClient {
|
|
|
5185
5553
|
/**
|
|
5186
5554
|
* Lists sources using the label, along with configuration details like base field, operator and condition.
|
|
5187
5555
|
*
|
|
5556
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5188
5557
|
* @param ListLabelSourceDetailsRequest
|
|
5189
5558
|
* @return ListLabelSourceDetailsResponse
|
|
5190
5559
|
* @throws OciError when an error occurs
|
|
5191
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5560
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListLabelSourceDetails.ts.html |here} to see how to use ListLabelSourceDetails API.
|
|
5192
5561
|
*/
|
|
5193
5562
|
listLabelSourceDetails(listLabelSourceDetailsRequest) {
|
|
5194
5563
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5208,7 +5577,8 @@ class LogAnalyticsClient {
|
|
|
5208
5577
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5209
5578
|
"opc-request-id": listLabelSourceDetailsRequest.opcRequestId
|
|
5210
5579
|
};
|
|
5211
|
-
const
|
|
5580
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5581
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLabelSourceDetailsRequest.retryConfiguration, specRetryConfiguration);
|
|
5212
5582
|
if (this.logger)
|
|
5213
5583
|
retrier.logger = this.logger;
|
|
5214
5584
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -5256,10 +5626,11 @@ class LogAnalyticsClient {
|
|
|
5256
5626
|
/**
|
|
5257
5627
|
* Returns a list of labels, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by information such as label name, display name, description and priority.
|
|
5258
5628
|
*
|
|
5629
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5259
5630
|
* @param ListLabelsRequest
|
|
5260
5631
|
* @return ListLabelsResponse
|
|
5261
5632
|
* @throws OciError when an error occurs
|
|
5262
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5633
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListLabels.ts.html |here} to see how to use ListLabels API.
|
|
5263
5634
|
*/
|
|
5264
5635
|
listLabels(listLabelsRequest) {
|
|
5265
5636
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5284,7 +5655,8 @@ class LogAnalyticsClient {
|
|
|
5284
5655
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5285
5656
|
"opc-request-id": listLabelsRequest.opcRequestId
|
|
5286
5657
|
};
|
|
5287
|
-
const
|
|
5658
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5659
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLabelsRequest.retryConfiguration, specRetryConfiguration);
|
|
5288
5660
|
if (this.logger)
|
|
5289
5661
|
retrier.logger = this.logger;
|
|
5290
5662
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -5331,10 +5703,11 @@ class LogAnalyticsClient {
|
|
|
5331
5703
|
}
|
|
5332
5704
|
/**
|
|
5333
5705
|
* Return a list of log analytics enterprise manager bridges.
|
|
5706
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5334
5707
|
* @param ListLogAnalyticsEmBridgesRequest
|
|
5335
5708
|
* @return ListLogAnalyticsEmBridgesResponse
|
|
5336
5709
|
* @throws OciError when an error occurs
|
|
5337
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5710
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListLogAnalyticsEmBridges.ts.html |here} to see how to use ListLogAnalyticsEmBridges API.
|
|
5338
5711
|
*/
|
|
5339
5712
|
listLogAnalyticsEmBridges(listLogAnalyticsEmBridgesRequest) {
|
|
5340
5713
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5358,7 +5731,8 @@ class LogAnalyticsClient {
|
|
|
5358
5731
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5359
5732
|
"opc-request-id": listLogAnalyticsEmBridgesRequest.opcRequestId
|
|
5360
5733
|
};
|
|
5361
|
-
const
|
|
5734
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5735
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogAnalyticsEmBridgesRequest.retryConfiguration, specRetryConfiguration);
|
|
5362
5736
|
if (this.logger)
|
|
5363
5737
|
retrier.logger = this.logger;
|
|
5364
5738
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -5400,10 +5774,11 @@ class LogAnalyticsClient {
|
|
|
5400
5774
|
}
|
|
5401
5775
|
/**
|
|
5402
5776
|
* Return a list of log analytics entities.
|
|
5777
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5403
5778
|
* @param ListLogAnalyticsEntitiesRequest
|
|
5404
5779
|
* @return ListLogAnalyticsEntitiesResponse
|
|
5405
5780
|
* @throws OciError when an error occurs
|
|
5406
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5781
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListLogAnalyticsEntities.ts.html |here} to see how to use ListLogAnalyticsEntities API.
|
|
5407
5782
|
*/
|
|
5408
5783
|
listLogAnalyticsEntities(listLogAnalyticsEntitiesRequest) {
|
|
5409
5784
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5435,7 +5810,8 @@ class LogAnalyticsClient {
|
|
|
5435
5810
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5436
5811
|
"opc-request-id": listLogAnalyticsEntitiesRequest.opcRequestId
|
|
5437
5812
|
};
|
|
5438
|
-
const
|
|
5813
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5814
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogAnalyticsEntitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
5439
5815
|
if (this.logger)
|
|
5440
5816
|
retrier.logger = this.logger;
|
|
5441
5817
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -5477,10 +5853,11 @@ class LogAnalyticsClient {
|
|
|
5477
5853
|
}
|
|
5478
5854
|
/**
|
|
5479
5855
|
* Return a list of log analytics entity types.
|
|
5856
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5480
5857
|
* @param ListLogAnalyticsEntityTypesRequest
|
|
5481
5858
|
* @return ListLogAnalyticsEntityTypesResponse
|
|
5482
5859
|
* @throws OciError when an error occurs
|
|
5483
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5860
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListLogAnalyticsEntityTypes.ts.html |here} to see how to use ListLogAnalyticsEntityTypes API.
|
|
5484
5861
|
*/
|
|
5485
5862
|
listLogAnalyticsEntityTypes(listLogAnalyticsEntityTypesRequest) {
|
|
5486
5863
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5503,7 +5880,8 @@ class LogAnalyticsClient {
|
|
|
5503
5880
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5504
5881
|
"opc-request-id": listLogAnalyticsEntityTypesRequest.opcRequestId
|
|
5505
5882
|
};
|
|
5506
|
-
const
|
|
5883
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5884
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogAnalyticsEntityTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
5507
5885
|
if (this.logger)
|
|
5508
5886
|
retrier.logger = this.logger;
|
|
5509
5887
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -5546,10 +5924,11 @@ class LogAnalyticsClient {
|
|
|
5546
5924
|
/**
|
|
5547
5925
|
* Returns a list of log groups in a compartment. You may limit the number of log groups, provide sorting options, and filter the results by specifying a display name.
|
|
5548
5926
|
*
|
|
5927
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5549
5928
|
* @param ListLogAnalyticsLogGroupsRequest
|
|
5550
5929
|
* @return ListLogAnalyticsLogGroupsResponse
|
|
5551
5930
|
* @throws OciError when an error occurs
|
|
5552
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5931
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListLogAnalyticsLogGroups.ts.html |here} to see how to use ListLogAnalyticsLogGroups API.
|
|
5553
5932
|
*/
|
|
5554
5933
|
listLogAnalyticsLogGroups(listLogAnalyticsLogGroupsRequest) {
|
|
5555
5934
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5570,7 +5949,8 @@ class LogAnalyticsClient {
|
|
|
5570
5949
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5571
5950
|
"opc-request-id": listLogAnalyticsLogGroupsRequest.opcRequestId
|
|
5572
5951
|
};
|
|
5573
|
-
const
|
|
5952
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5953
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogAnalyticsLogGroupsRequest.retryConfiguration, specRetryConfiguration);
|
|
5574
5954
|
if (this.logger)
|
|
5575
5955
|
retrier.logger = this.logger;
|
|
5576
5956
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -5617,10 +5997,11 @@ class LogAnalyticsClient {
|
|
|
5617
5997
|
}
|
|
5618
5998
|
/**
|
|
5619
5999
|
* Gets list of collection rules.
|
|
6000
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5620
6001
|
* @param ListLogAnalyticsObjectCollectionRulesRequest
|
|
5621
6002
|
* @return ListLogAnalyticsObjectCollectionRulesResponse
|
|
5622
6003
|
* @throws OciError when an error occurs
|
|
5623
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6004
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListLogAnalyticsObjectCollectionRules.ts.html |here} to see how to use ListLogAnalyticsObjectCollectionRules API.
|
|
5624
6005
|
*/
|
|
5625
6006
|
listLogAnalyticsObjectCollectionRules(listLogAnalyticsObjectCollectionRulesRequest) {
|
|
5626
6007
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5642,7 +6023,8 @@ class LogAnalyticsClient {
|
|
|
5642
6023
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5643
6024
|
"opc-request-id": listLogAnalyticsObjectCollectionRulesRequest.opcRequestId
|
|
5644
6025
|
};
|
|
5645
|
-
const
|
|
6026
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6027
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogAnalyticsObjectCollectionRulesRequest.retryConfiguration, specRetryConfiguration);
|
|
5646
6028
|
if (this.logger)
|
|
5647
6029
|
retrier.logger = this.logger;
|
|
5648
6030
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -5685,10 +6067,11 @@ class LogAnalyticsClient {
|
|
|
5685
6067
|
/**
|
|
5686
6068
|
* This API returns a list of log sets.
|
|
5687
6069
|
*
|
|
6070
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5688
6071
|
* @param ListLogSetsRequest
|
|
5689
6072
|
* @return ListLogSetsResponse
|
|
5690
6073
|
* @throws OciError when an error occurs
|
|
5691
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6074
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListLogSets.ts.html |here} to see how to use ListLogSets API.
|
|
5692
6075
|
*/
|
|
5693
6076
|
listLogSets(listLogSetsRequest) {
|
|
5694
6077
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5700,13 +6083,15 @@ class LogAnalyticsClient {
|
|
|
5700
6083
|
const queryParams = {
|
|
5701
6084
|
"limit": listLogSetsRequest.limit,
|
|
5702
6085
|
"page": listLogSetsRequest.page,
|
|
5703
|
-
"sortOrder": listLogSetsRequest.sortOrder
|
|
6086
|
+
"sortOrder": listLogSetsRequest.sortOrder,
|
|
6087
|
+
"logSetNameContains": listLogSetsRequest.logSetNameContains
|
|
5704
6088
|
};
|
|
5705
6089
|
let headerParams = {
|
|
5706
6090
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5707
6091
|
"opc-request-id": listLogSetsRequest.opcRequestId
|
|
5708
6092
|
};
|
|
5709
|
-
const
|
|
6093
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6094
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogSetsRequest.retryConfiguration, specRetryConfiguration);
|
|
5710
6095
|
if (this.logger)
|
|
5711
6096
|
retrier.logger = this.logger;
|
|
5712
6097
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -5749,10 +6134,11 @@ class LogAnalyticsClient {
|
|
|
5749
6134
|
/**
|
|
5750
6135
|
* Returns a list of lookups, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by information such as lookup name, description and type.
|
|
5751
6136
|
*
|
|
6137
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5752
6138
|
* @param ListLookupsRequest
|
|
5753
6139
|
* @return ListLookupsResponse
|
|
5754
6140
|
* @throws OciError when an error occurs
|
|
5755
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6141
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListLookups.ts.html |here} to see how to use ListLookups API.
|
|
5756
6142
|
*/
|
|
5757
6143
|
listLookups(listLookupsRequest) {
|
|
5758
6144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5776,7 +6162,8 @@ class LogAnalyticsClient {
|
|
|
5776
6162
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5777
6163
|
"opc-request-id": listLookupsRequest.opcRequestId
|
|
5778
6164
|
};
|
|
5779
|
-
const
|
|
6165
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6166
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLookupsRequest.retryConfiguration, specRetryConfiguration);
|
|
5780
6167
|
if (this.logger)
|
|
5781
6168
|
retrier.logger = this.logger;
|
|
5782
6169
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -5824,10 +6211,11 @@ class LogAnalyticsClient {
|
|
|
5824
6211
|
/**
|
|
5825
6212
|
* Lists the types of log sources supported.
|
|
5826
6213
|
*
|
|
6214
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5827
6215
|
* @param ListMetaSourceTypesRequest
|
|
5828
6216
|
* @return ListMetaSourceTypesResponse
|
|
5829
6217
|
* @throws OciError when an error occurs
|
|
5830
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6218
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListMetaSourceTypes.ts.html |here} to see how to use ListMetaSourceTypes API.
|
|
5831
6219
|
*/
|
|
5832
6220
|
listMetaSourceTypes(listMetaSourceTypesRequest) {
|
|
5833
6221
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5846,7 +6234,8 @@ class LogAnalyticsClient {
|
|
|
5846
6234
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5847
6235
|
"opc-request-id": listMetaSourceTypesRequest.opcRequestId
|
|
5848
6236
|
};
|
|
5849
|
-
const
|
|
6237
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6238
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMetaSourceTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
5850
6239
|
if (this.logger)
|
|
5851
6240
|
retrier.logger = this.logger;
|
|
5852
6241
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -5895,10 +6284,11 @@ class LogAnalyticsClient {
|
|
|
5895
6284
|
* Given a tenancy OCID, this API returns the namespace of the tenancy if it is valid and subscribed to the region. The
|
|
5896
6285
|
* result also indicates if the tenancy is onboarded with Logging Analytics.
|
|
5897
6286
|
*
|
|
6287
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5898
6288
|
* @param ListNamespacesRequest
|
|
5899
6289
|
* @return ListNamespacesResponse
|
|
5900
6290
|
* @throws OciError when an error occurs
|
|
5901
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6291
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListNamespaces.ts.html |here} to see how to use ListNamespaces API.
|
|
5902
6292
|
*/
|
|
5903
6293
|
listNamespaces(listNamespacesRequest) {
|
|
5904
6294
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5912,7 +6302,8 @@ class LogAnalyticsClient {
|
|
|
5912
6302
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5913
6303
|
"opc-request-id": listNamespacesRequest.opcRequestId
|
|
5914
6304
|
};
|
|
5915
|
-
const
|
|
6305
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6306
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNamespacesRequest.retryConfiguration, specRetryConfiguration);
|
|
5916
6307
|
if (this.logger)
|
|
5917
6308
|
retrier.logger = this.logger;
|
|
5918
6309
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -5950,10 +6341,11 @@ class LogAnalyticsClient {
|
|
|
5950
6341
|
/**
|
|
5951
6342
|
* Lists the parser functions defined for the specified parser.
|
|
5952
6343
|
*
|
|
6344
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5953
6345
|
* @param ListParserFunctionsRequest
|
|
5954
6346
|
* @return ListParserFunctionsResponse
|
|
5955
6347
|
* @throws OciError when an error occurs
|
|
5956
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6348
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListParserFunctions.ts.html |here} to see how to use ListParserFunctions API.
|
|
5957
6349
|
*/
|
|
5958
6350
|
listParserFunctions(listParserFunctionsRequest) {
|
|
5959
6351
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5973,7 +6365,8 @@ class LogAnalyticsClient {
|
|
|
5973
6365
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5974
6366
|
"opc-request-id": listParserFunctionsRequest.opcRequestId
|
|
5975
6367
|
};
|
|
5976
|
-
const
|
|
6368
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6369
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listParserFunctionsRequest.retryConfiguration, specRetryConfiguration);
|
|
5977
6370
|
if (this.logger)
|
|
5978
6371
|
retrier.logger = this.logger;
|
|
5979
6372
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -6021,10 +6414,11 @@ class LogAnalyticsClient {
|
|
|
6021
6414
|
/**
|
|
6022
6415
|
* Lists the parser meta plugins available for defining parser functions.
|
|
6023
6416
|
*
|
|
6417
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6024
6418
|
* @param ListParserMetaPluginsRequest
|
|
6025
6419
|
* @return ListParserMetaPluginsResponse
|
|
6026
6420
|
* @throws OciError when an error occurs
|
|
6027
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6421
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListParserMetaPlugins.ts.html |here} to see how to use ListParserMetaPlugins API.
|
|
6028
6422
|
*/
|
|
6029
6423
|
listParserMetaPlugins(listParserMetaPluginsRequest) {
|
|
6030
6424
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6043,7 +6437,8 @@ class LogAnalyticsClient {
|
|
|
6043
6437
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6044
6438
|
"opc-request-id": listParserMetaPluginsRequest.opcRequestId
|
|
6045
6439
|
};
|
|
6046
|
-
const
|
|
6440
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6441
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listParserMetaPluginsRequest.retryConfiguration, specRetryConfiguration);
|
|
6047
6442
|
if (this.logger)
|
|
6048
6443
|
retrier.logger = this.logger;
|
|
6049
6444
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -6091,10 +6486,11 @@ class LogAnalyticsClient {
|
|
|
6091
6486
|
/**
|
|
6092
6487
|
* Returns a list of parsers, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by information such as parser name, type, display name and description.
|
|
6093
6488
|
*
|
|
6489
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6094
6490
|
* @param ListParsersRequest
|
|
6095
6491
|
* @return ListParsersResponse
|
|
6096
6492
|
* @throws OciError when an error occurs
|
|
6097
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6493
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListParsers.ts.html |here} to see how to use ListParsers API.
|
|
6098
6494
|
*/
|
|
6099
6495
|
listParsers(listParsersRequest) {
|
|
6100
6496
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6119,7 +6515,8 @@ class LogAnalyticsClient {
|
|
|
6119
6515
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6120
6516
|
"opc-request-id": listParsersRequest.opcRequestId
|
|
6121
6517
|
};
|
|
6122
|
-
const
|
|
6518
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6519
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listParsersRequest.retryConfiguration, specRetryConfiguration);
|
|
6123
6520
|
if (this.logger)
|
|
6124
6521
|
retrier.logger = this.logger;
|
|
6125
6522
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -6166,10 +6563,11 @@ class LogAnalyticsClient {
|
|
|
6166
6563
|
}
|
|
6167
6564
|
/**
|
|
6168
6565
|
* List active asynchronous queries.
|
|
6566
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6169
6567
|
* @param ListQueryWorkRequestsRequest
|
|
6170
6568
|
* @return ListQueryWorkRequestsResponse
|
|
6171
6569
|
* @throws OciError when an error occurs
|
|
6172
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6570
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListQueryWorkRequests.ts.html |here} to see how to use ListQueryWorkRequests API.
|
|
6173
6571
|
*/
|
|
6174
6572
|
listQueryWorkRequests(listQueryWorkRequestsRequest) {
|
|
6175
6573
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6190,7 +6588,8 @@ class LogAnalyticsClient {
|
|
|
6190
6588
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6191
6589
|
"opc-request-id": listQueryWorkRequestsRequest.opcRequestId
|
|
6192
6590
|
};
|
|
6193
|
-
const
|
|
6591
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6592
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listQueryWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
6194
6593
|
if (this.logger)
|
|
6195
6594
|
retrier.logger = this.logger;
|
|
6196
6595
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -6238,10 +6637,11 @@ class LogAnalyticsClient {
|
|
|
6238
6637
|
/**
|
|
6239
6638
|
* This API returns the list of recalled data of a tenancy.
|
|
6240
6639
|
*
|
|
6640
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6241
6641
|
* @param ListRecalledDataRequest
|
|
6242
6642
|
* @return ListRecalledDataResponse
|
|
6243
6643
|
* @throws OciError when an error occurs
|
|
6244
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6644
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListRecalledData.ts.html |here} to see how to use ListRecalledData API.
|
|
6245
6645
|
*/
|
|
6246
6646
|
listRecalledData(listRecalledDataRequest) {
|
|
6247
6647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6262,7 +6662,8 @@ class LogAnalyticsClient {
|
|
|
6262
6662
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6263
6663
|
"opc-request-id": listRecalledDataRequest.opcRequestId
|
|
6264
6664
|
};
|
|
6265
|
-
const
|
|
6665
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6666
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRecalledDataRequest.retryConfiguration, specRetryConfiguration);
|
|
6266
6667
|
if (this.logger)
|
|
6267
6668
|
retrier.logger = this.logger;
|
|
6268
6669
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -6309,10 +6710,11 @@ class LogAnalyticsClient {
|
|
|
6309
6710
|
}
|
|
6310
6711
|
/**
|
|
6311
6712
|
* Lists scheduled tasks.
|
|
6713
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6312
6714
|
* @param ListScheduledTasksRequest
|
|
6313
6715
|
* @return ListScheduledTasksResponse
|
|
6314
6716
|
* @throws OciError when an error occurs
|
|
6315
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6717
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListScheduledTasks.ts.html |here} to see how to use ListScheduledTasks API.
|
|
6316
6718
|
*/
|
|
6317
6719
|
listScheduledTasks(listScheduledTasksRequest) {
|
|
6318
6720
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6336,7 +6738,8 @@ class LogAnalyticsClient {
|
|
|
6336
6738
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6337
6739
|
"opc-request-id": listScheduledTasksRequest.opcRequestId
|
|
6338
6740
|
};
|
|
6339
|
-
const
|
|
6741
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6742
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listScheduledTasksRequest.retryConfiguration, specRetryConfiguration);
|
|
6340
6743
|
if (this.logger)
|
|
6341
6744
|
retrier.logger = this.logger;
|
|
6342
6745
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -6384,10 +6787,11 @@ class LogAnalyticsClient {
|
|
|
6384
6787
|
/**
|
|
6385
6788
|
* Returns the list of entity associations in the input compartment for the specified source.
|
|
6386
6789
|
*
|
|
6790
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6387
6791
|
* @param ListSourceAssociationsRequest
|
|
6388
6792
|
* @return ListSourceAssociationsResponse
|
|
6389
6793
|
* @throws OciError when an error occurs
|
|
6390
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6794
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListSourceAssociations.ts.html |here} to see how to use ListSourceAssociations API.
|
|
6391
6795
|
*/
|
|
6392
6796
|
listSourceAssociations(listSourceAssociationsRequest) {
|
|
6393
6797
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6411,7 +6815,8 @@ class LogAnalyticsClient {
|
|
|
6411
6815
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6412
6816
|
"opc-request-id": listSourceAssociationsRequest.opcRequestId
|
|
6413
6817
|
};
|
|
6414
|
-
const
|
|
6818
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6819
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSourceAssociationsRequest.retryConfiguration, specRetryConfiguration);
|
|
6415
6820
|
if (this.logger)
|
|
6416
6821
|
retrier.logger = this.logger;
|
|
6417
6822
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -6459,10 +6864,11 @@ class LogAnalyticsClient {
|
|
|
6459
6864
|
/**
|
|
6460
6865
|
* Lists the event types mapped to the source with the specified name. The event type string could be the fully qualified name or a prefix that matches the event type.
|
|
6461
6866
|
*
|
|
6867
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6462
6868
|
* @param ListSourceEventTypesRequest
|
|
6463
6869
|
* @return ListSourceEventTypesResponse
|
|
6464
6870
|
* @throws OciError when an error occurs
|
|
6465
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6871
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListSourceEventTypes.ts.html |here} to see how to use ListSourceEventTypes API.
|
|
6466
6872
|
*/
|
|
6467
6873
|
listSourceEventTypes(listSourceEventTypesRequest) {
|
|
6468
6874
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6485,7 +6891,8 @@ class LogAnalyticsClient {
|
|
|
6485
6891
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6486
6892
|
"opc-request-id": listSourceEventTypesRequest.opcRequestId
|
|
6487
6893
|
};
|
|
6488
|
-
const
|
|
6894
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6895
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSourceEventTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
6489
6896
|
if (this.logger)
|
|
6490
6897
|
retrier.logger = this.logger;
|
|
6491
6898
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -6533,10 +6940,11 @@ class LogAnalyticsClient {
|
|
|
6533
6940
|
/**
|
|
6534
6941
|
* Lists the extended field definitions for the source with the specified name.
|
|
6535
6942
|
*
|
|
6943
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6536
6944
|
* @param ListSourceExtendedFieldDefinitionsRequest
|
|
6537
6945
|
* @return ListSourceExtendedFieldDefinitionsResponse
|
|
6538
6946
|
* @throws OciError when an error occurs
|
|
6539
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6947
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListSourceExtendedFieldDefinitions.ts.html |here} to see how to use ListSourceExtendedFieldDefinitions API.
|
|
6540
6948
|
*/
|
|
6541
6949
|
listSourceExtendedFieldDefinitions(listSourceExtendedFieldDefinitionsRequest) {
|
|
6542
6950
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6556,7 +6964,8 @@ class LogAnalyticsClient {
|
|
|
6556
6964
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6557
6965
|
"opc-request-id": listSourceExtendedFieldDefinitionsRequest.opcRequestId
|
|
6558
6966
|
};
|
|
6559
|
-
const
|
|
6967
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6968
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSourceExtendedFieldDefinitionsRequest.retryConfiguration, specRetryConfiguration);
|
|
6560
6969
|
if (this.logger)
|
|
6561
6970
|
retrier.logger = this.logger;
|
|
6562
6971
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -6604,10 +7013,11 @@ class LogAnalyticsClient {
|
|
|
6604
7013
|
/**
|
|
6605
7014
|
* Lists the supported conditional operators that could be used for matching log field values to generate a label. You may use patterns to specify a condition. If a log entry matches that condition, it is tagged with the corresponding label.
|
|
6606
7015
|
*
|
|
7016
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6607
7017
|
* @param ListSourceLabelOperatorsRequest
|
|
6608
7018
|
* @return ListSourceLabelOperatorsResponse
|
|
6609
7019
|
* @throws OciError when an error occurs
|
|
6610
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7020
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListSourceLabelOperators.ts.html |here} to see how to use ListSourceLabelOperators API.
|
|
6611
7021
|
*/
|
|
6612
7022
|
listSourceLabelOperators(listSourceLabelOperatorsRequest) {
|
|
6613
7023
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6626,7 +7036,8 @@ class LogAnalyticsClient {
|
|
|
6626
7036
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6627
7037
|
"opc-request-id": listSourceLabelOperatorsRequest.opcRequestId
|
|
6628
7038
|
};
|
|
6629
|
-
const
|
|
7039
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7040
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSourceLabelOperatorsRequest.retryConfiguration, specRetryConfiguration);
|
|
6630
7041
|
if (this.logger)
|
|
6631
7042
|
retrier.logger = this.logger;
|
|
6632
7043
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -6674,10 +7085,11 @@ class LogAnalyticsClient {
|
|
|
6674
7085
|
/**
|
|
6675
7086
|
* Lists the functions that could be used to enrich log entries based on meaningful information extracted from the log fields.
|
|
6676
7087
|
*
|
|
7088
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6677
7089
|
* @param ListSourceMetaFunctionsRequest
|
|
6678
7090
|
* @return ListSourceMetaFunctionsResponse
|
|
6679
7091
|
* @throws OciError when an error occurs
|
|
6680
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7092
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListSourceMetaFunctions.ts.html |here} to see how to use ListSourceMetaFunctions API.
|
|
6681
7093
|
*/
|
|
6682
7094
|
listSourceMetaFunctions(listSourceMetaFunctionsRequest) {
|
|
6683
7095
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6696,7 +7108,8 @@ class LogAnalyticsClient {
|
|
|
6696
7108
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6697
7109
|
"opc-request-id": listSourceMetaFunctionsRequest.opcRequestId
|
|
6698
7110
|
};
|
|
6699
|
-
const
|
|
7111
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7112
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSourceMetaFunctionsRequest.retryConfiguration, specRetryConfiguration);
|
|
6700
7113
|
if (this.logger)
|
|
6701
7114
|
retrier.logger = this.logger;
|
|
6702
7115
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -6744,10 +7157,11 @@ class LogAnalyticsClient {
|
|
|
6744
7157
|
/**
|
|
6745
7158
|
* Lists the source patterns for the source with the specified name.
|
|
6746
7159
|
*
|
|
7160
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6747
7161
|
* @param ListSourcePatternsRequest
|
|
6748
7162
|
* @return ListSourcePatternsResponse
|
|
6749
7163
|
* @throws OciError when an error occurs
|
|
6750
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7164
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListSourcePatterns.ts.html |here} to see how to use ListSourcePatterns API.
|
|
6751
7165
|
*/
|
|
6752
7166
|
listSourcePatterns(listSourcePatternsRequest) {
|
|
6753
7167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6768,7 +7182,8 @@ class LogAnalyticsClient {
|
|
|
6768
7182
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6769
7183
|
"opc-request-id": listSourcePatternsRequest.opcRequestId
|
|
6770
7184
|
};
|
|
6771
|
-
const
|
|
7185
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7186
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSourcePatternsRequest.retryConfiguration, specRetryConfiguration);
|
|
6772
7187
|
if (this.logger)
|
|
6773
7188
|
retrier.logger = this.logger;
|
|
6774
7189
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -6816,10 +7231,11 @@ class LogAnalyticsClient {
|
|
|
6816
7231
|
/**
|
|
6817
7232
|
* Returns a list of sources, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by information such as display name, description and entity type.
|
|
6818
7233
|
*
|
|
7234
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6819
7235
|
* @param ListSourcesRequest
|
|
6820
7236
|
* @return ListSourcesResponse
|
|
6821
7237
|
* @throws OciError when an error occurs
|
|
6822
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7238
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListSources.ts.html |here} to see how to use ListSources API.
|
|
6823
7239
|
*/
|
|
6824
7240
|
listSources(listSourcesRequest) {
|
|
6825
7241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6845,7 +7261,8 @@ class LogAnalyticsClient {
|
|
|
6845
7261
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6846
7262
|
"opc-request-id": listSourcesRequest.opcRequestId
|
|
6847
7263
|
};
|
|
6848
|
-
const
|
|
7264
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7265
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
6849
7266
|
if (this.logger)
|
|
6850
7267
|
retrier.logger = this.logger;
|
|
6851
7268
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -6892,10 +7309,11 @@ class LogAnalyticsClient {
|
|
|
6892
7309
|
}
|
|
6893
7310
|
/**
|
|
6894
7311
|
* This API returns the list of work request errors if any.
|
|
7312
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6895
7313
|
* @param ListStorageWorkRequestErrorsRequest
|
|
6896
7314
|
* @return ListStorageWorkRequestErrorsResponse
|
|
6897
7315
|
* @throws OciError when an error occurs
|
|
6898
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7316
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListStorageWorkRequestErrors.ts.html |here} to see how to use ListStorageWorkRequestErrors API.
|
|
6899
7317
|
*/
|
|
6900
7318
|
listStorageWorkRequestErrors(listStorageWorkRequestErrorsRequest) {
|
|
6901
7319
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6916,7 +7334,8 @@ class LogAnalyticsClient {
|
|
|
6916
7334
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6917
7335
|
"opc-request-id": listStorageWorkRequestErrorsRequest.opcRequestId
|
|
6918
7336
|
};
|
|
6919
|
-
const
|
|
7337
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7338
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStorageWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
6920
7339
|
if (this.logger)
|
|
6921
7340
|
retrier.logger = this.logger;
|
|
6922
7341
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -6964,10 +7383,11 @@ class LogAnalyticsClient {
|
|
|
6964
7383
|
/**
|
|
6965
7384
|
* This API lists storage work requests. Use query parameters to narrow down or sort the result list.
|
|
6966
7385
|
*
|
|
7386
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6967
7387
|
* @param ListStorageWorkRequestsRequest
|
|
6968
7388
|
* @return ListStorageWorkRequestsResponse
|
|
6969
7389
|
* @throws OciError when an error occurs
|
|
6970
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7390
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListStorageWorkRequests.ts.html |here} to see how to use ListStorageWorkRequests API.
|
|
6971
7391
|
*/
|
|
6972
7392
|
listStorageWorkRequests(listStorageWorkRequestsRequest) {
|
|
6973
7393
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6993,7 +7413,8 @@ class LogAnalyticsClient {
|
|
|
6993
7413
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6994
7414
|
"opc-request-id": listStorageWorkRequestsRequest.opcRequestId
|
|
6995
7415
|
};
|
|
6996
|
-
const
|
|
7416
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7417
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStorageWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
6997
7418
|
if (this.logger)
|
|
6998
7419
|
retrier.logger = this.logger;
|
|
6999
7420
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7040,10 +7461,11 @@ class LogAnalyticsClient {
|
|
|
7040
7461
|
}
|
|
7041
7462
|
/**
|
|
7042
7463
|
* Gets list of character encodings which are supported by on-demand upload.
|
|
7464
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7043
7465
|
* @param ListSupportedCharEncodingsRequest
|
|
7044
7466
|
* @return ListSupportedCharEncodingsResponse
|
|
7045
7467
|
* @throws OciError when an error occurs
|
|
7046
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7468
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListSupportedCharEncodings.ts.html |here} to see how to use ListSupportedCharEncodings API.
|
|
7047
7469
|
*/
|
|
7048
7470
|
listSupportedCharEncodings(listSupportedCharEncodingsRequest) {
|
|
7049
7471
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7060,7 +7482,8 @@ class LogAnalyticsClient {
|
|
|
7060
7482
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7061
7483
|
"opc-request-id": listSupportedCharEncodingsRequest.opcRequestId
|
|
7062
7484
|
};
|
|
7063
|
-
const
|
|
7485
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7486
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSupportedCharEncodingsRequest.retryConfiguration, specRetryConfiguration);
|
|
7064
7487
|
if (this.logger)
|
|
7065
7488
|
retrier.logger = this.logger;
|
|
7066
7489
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7107,10 +7530,11 @@ class LogAnalyticsClient {
|
|
|
7107
7530
|
}
|
|
7108
7531
|
/**
|
|
7109
7532
|
* Gets list of timezones which are supported by on-demand upload.
|
|
7533
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7110
7534
|
* @param ListSupportedTimezonesRequest
|
|
7111
7535
|
* @return ListSupportedTimezonesResponse
|
|
7112
7536
|
* @throws OciError when an error occurs
|
|
7113
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7537
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListSupportedTimezones.ts.html |here} to see how to use ListSupportedTimezones API.
|
|
7114
7538
|
*/
|
|
7115
7539
|
listSupportedTimezones(listSupportedTimezonesRequest) {
|
|
7116
7540
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7127,7 +7551,8 @@ class LogAnalyticsClient {
|
|
|
7127
7551
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7128
7552
|
"opc-request-id": listSupportedTimezonesRequest.opcRequestId
|
|
7129
7553
|
};
|
|
7130
|
-
const
|
|
7554
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7555
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSupportedTimezonesRequest.retryConfiguration, specRetryConfiguration);
|
|
7131
7556
|
if (this.logger)
|
|
7132
7557
|
retrier.logger = this.logger;
|
|
7133
7558
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7174,10 +7599,11 @@ class LogAnalyticsClient {
|
|
|
7174
7599
|
}
|
|
7175
7600
|
/**
|
|
7176
7601
|
* Gets list of files in an upload along with its processing state.
|
|
7602
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7177
7603
|
* @param ListUploadFilesRequest
|
|
7178
7604
|
* @return ListUploadFilesResponse
|
|
7179
7605
|
* @throws OciError when an error occurs
|
|
7180
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7606
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListUploadFiles.ts.html |here} to see how to use ListUploadFiles API.
|
|
7181
7607
|
*/
|
|
7182
7608
|
listUploadFiles(listUploadFilesRequest) {
|
|
7183
7609
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7199,7 +7625,8 @@ class LogAnalyticsClient {
|
|
|
7199
7625
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7200
7626
|
"opc-request-id": listUploadFilesRequest.opcRequestId
|
|
7201
7627
|
};
|
|
7202
|
-
const
|
|
7628
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7629
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUploadFilesRequest.retryConfiguration, specRetryConfiguration);
|
|
7203
7630
|
if (this.logger)
|
|
7204
7631
|
retrier.logger = this.logger;
|
|
7205
7632
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7241,10 +7668,11 @@ class LogAnalyticsClient {
|
|
|
7241
7668
|
}
|
|
7242
7669
|
/**
|
|
7243
7670
|
* Gets list of warnings in an upload caused by incorrect configuration.
|
|
7671
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7244
7672
|
* @param ListUploadWarningsRequest
|
|
7245
7673
|
* @return ListUploadWarningsResponse
|
|
7246
7674
|
* @throws OciError when an error occurs
|
|
7247
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7675
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListUploadWarnings.ts.html |here} to see how to use ListUploadWarnings API.
|
|
7248
7676
|
*/
|
|
7249
7677
|
listUploadWarnings(listUploadWarningsRequest) {
|
|
7250
7678
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7262,7 +7690,8 @@ class LogAnalyticsClient {
|
|
|
7262
7690
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7263
7691
|
"opc-request-id": listUploadWarningsRequest.opcRequestId
|
|
7264
7692
|
};
|
|
7265
|
-
const
|
|
7693
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7694
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUploadWarningsRequest.retryConfiguration, specRetryConfiguration);
|
|
7266
7695
|
if (this.logger)
|
|
7267
7696
|
retrier.logger = this.logger;
|
|
7268
7697
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7306,10 +7735,11 @@ class LogAnalyticsClient {
|
|
|
7306
7735
|
* Gets a list of all On-demand uploads.
|
|
7307
7736
|
* To use this and other API operations, you must be authorized in an IAM policy.
|
|
7308
7737
|
*
|
|
7738
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7309
7739
|
* @param ListUploadsRequest
|
|
7310
7740
|
* @return ListUploadsResponse
|
|
7311
7741
|
* @throws OciError when an error occurs
|
|
7312
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7742
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListUploads.ts.html |here} to see how to use ListUploads API.
|
|
7313
7743
|
*/
|
|
7314
7744
|
listUploads(listUploadsRequest) {
|
|
7315
7745
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7331,7 +7761,8 @@ class LogAnalyticsClient {
|
|
|
7331
7761
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7332
7762
|
"opc-request-id": listUploadsRequest.opcRequestId
|
|
7333
7763
|
};
|
|
7334
|
-
const
|
|
7764
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7765
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUploadsRequest.retryConfiguration, specRetryConfiguration);
|
|
7335
7766
|
if (this.logger)
|
|
7336
7767
|
retrier.logger = this.logger;
|
|
7337
7768
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7379,10 +7810,11 @@ class LogAnalyticsClient {
|
|
|
7379
7810
|
/**
|
|
7380
7811
|
* Returns a list of collection warnings, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by information such as start time, end time, warning type, warning state, source name, source pattern and entity name.
|
|
7381
7812
|
*
|
|
7813
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7382
7814
|
* @param ListWarningsRequest
|
|
7383
7815
|
* @return ListWarningsResponse
|
|
7384
7816
|
* @throws OciError when an error occurs
|
|
7385
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7817
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListWarnings.ts.html |here} to see how to use ListWarnings API.
|
|
7386
7818
|
*/
|
|
7387
7819
|
listWarnings(listWarningsRequest) {
|
|
7388
7820
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7412,7 +7844,8 @@ class LogAnalyticsClient {
|
|
|
7412
7844
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7413
7845
|
"opc-request-id": listWarningsRequest.opcRequestId
|
|
7414
7846
|
};
|
|
7415
|
-
const
|
|
7847
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7848
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWarningsRequest.retryConfiguration, specRetryConfiguration);
|
|
7416
7849
|
if (this.logger)
|
|
7417
7850
|
retrier.logger = this.logger;
|
|
7418
7851
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7460,10 +7893,11 @@ class LogAnalyticsClient {
|
|
|
7460
7893
|
/**
|
|
7461
7894
|
* Return a (paginated) list of errors for a given work request.
|
|
7462
7895
|
*
|
|
7896
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7463
7897
|
* @param ListWorkRequestErrorsRequest
|
|
7464
7898
|
* @return ListWorkRequestErrorsResponse
|
|
7465
7899
|
* @throws OciError when an error occurs
|
|
7466
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7900
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
7467
7901
|
*/
|
|
7468
7902
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
7469
7903
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7481,7 +7915,8 @@ class LogAnalyticsClient {
|
|
|
7481
7915
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7482
7916
|
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
7483
7917
|
};
|
|
7484
|
-
const
|
|
7918
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7919
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
7485
7920
|
if (this.logger)
|
|
7486
7921
|
retrier.logger = this.logger;
|
|
7487
7922
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7524,10 +7959,11 @@ class LogAnalyticsClient {
|
|
|
7524
7959
|
/**
|
|
7525
7960
|
* Return a (paginated) list of logs for a given work request.
|
|
7526
7961
|
*
|
|
7962
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7527
7963
|
* @param ListWorkRequestLogsRequest
|
|
7528
7964
|
* @return ListWorkRequestLogsResponse
|
|
7529
7965
|
* @throws OciError when an error occurs
|
|
7530
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7966
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
7531
7967
|
*/
|
|
7532
7968
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
7533
7969
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7545,7 +7981,8 @@ class LogAnalyticsClient {
|
|
|
7545
7981
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7546
7982
|
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
7547
7983
|
};
|
|
7548
|
-
const
|
|
7984
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7985
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
7549
7986
|
if (this.logger)
|
|
7550
7987
|
retrier.logger = this.logger;
|
|
7551
7988
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7588,10 +8025,11 @@ class LogAnalyticsClient {
|
|
|
7588
8025
|
/**
|
|
7589
8026
|
* Lists the work requests in a compartment.
|
|
7590
8027
|
*
|
|
8028
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7591
8029
|
* @param ListWorkRequestsRequest
|
|
7592
8030
|
* @return ListWorkRequestsResponse
|
|
7593
8031
|
* @throws OciError when an error occurs
|
|
7594
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8032
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
7595
8033
|
*/
|
|
7596
8034
|
listWorkRequests(listWorkRequestsRequest) {
|
|
7597
8035
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7609,7 +8047,8 @@ class LogAnalyticsClient {
|
|
|
7609
8047
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7610
8048
|
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
7611
8049
|
};
|
|
7612
|
-
const
|
|
8050
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8051
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
7613
8052
|
if (this.logger)
|
|
7614
8053
|
retrier.logger = this.logger;
|
|
7615
8054
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7651,10 +8090,11 @@ class LogAnalyticsClient {
|
|
|
7651
8090
|
}
|
|
7652
8091
|
/**
|
|
7653
8092
|
* Off-boards a tenant from Logging Analytics
|
|
8093
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7654
8094
|
* @param OffboardNamespaceRequest
|
|
7655
8095
|
* @return OffboardNamespaceResponse
|
|
7656
8096
|
* @throws OciError when an error occurs
|
|
7657
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8097
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/OffboardNamespace.ts.html |here} to see how to use OffboardNamespace API.
|
|
7658
8098
|
*/
|
|
7659
8099
|
offboardNamespace(offboardNamespaceRequest) {
|
|
7660
8100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7669,7 +8109,8 @@ class LogAnalyticsClient {
|
|
|
7669
8109
|
"opc-request-id": offboardNamespaceRequest.opcRequestId,
|
|
7670
8110
|
"opc-retry-token": offboardNamespaceRequest.opcRetryToken
|
|
7671
8111
|
};
|
|
7672
|
-
const
|
|
8112
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8113
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, offboardNamespaceRequest.retryConfiguration, specRetryConfiguration);
|
|
7673
8114
|
if (this.logger)
|
|
7674
8115
|
retrier.logger = this.logger;
|
|
7675
8116
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7708,10 +8149,11 @@ class LogAnalyticsClient {
|
|
|
7708
8149
|
/**
|
|
7709
8150
|
* On-boards a tenant to Logging Analytics.
|
|
7710
8151
|
*
|
|
8152
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7711
8153
|
* @param OnboardNamespaceRequest
|
|
7712
8154
|
* @return OnboardNamespaceResponse
|
|
7713
8155
|
* @throws OciError when an error occurs
|
|
7714
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8156
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/OnboardNamespace.ts.html |here} to see how to use OnboardNamespace API.
|
|
7715
8157
|
*/
|
|
7716
8158
|
onboardNamespace(onboardNamespaceRequest) {
|
|
7717
8159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7726,7 +8168,8 @@ class LogAnalyticsClient {
|
|
|
7726
8168
|
"opc-retry-token": onboardNamespaceRequest.opcRetryToken,
|
|
7727
8169
|
"opc-request-id": onboardNamespaceRequest.opcRequestId
|
|
7728
8170
|
};
|
|
7729
|
-
const
|
|
8171
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8172
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, onboardNamespaceRequest.retryConfiguration, specRetryConfiguration);
|
|
7730
8173
|
if (this.logger)
|
|
7731
8174
|
retrier.logger = this.logger;
|
|
7732
8175
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7764,10 +8207,11 @@ class LogAnalyticsClient {
|
|
|
7764
8207
|
}
|
|
7765
8208
|
/**
|
|
7766
8209
|
* Describe query
|
|
8210
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7767
8211
|
* @param ParseQueryRequest
|
|
7768
8212
|
* @return ParseQueryResponse
|
|
7769
8213
|
* @throws OciError when an error occurs
|
|
7770
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8214
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ParseQuery.ts.html |here} to see how to use ParseQuery API.
|
|
7771
8215
|
*/
|
|
7772
8216
|
parseQuery(parseQueryRequest) {
|
|
7773
8217
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7781,7 +8225,8 @@ class LogAnalyticsClient {
|
|
|
7781
8225
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7782
8226
|
"opc-request-id": parseQueryRequest.opcRequestId
|
|
7783
8227
|
};
|
|
7784
|
-
const
|
|
8228
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8229
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, parseQueryRequest.retryConfiguration, specRetryConfiguration);
|
|
7785
8230
|
if (this.logger)
|
|
7786
8231
|
retrier.logger = this.logger;
|
|
7787
8232
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7820,10 +8265,11 @@ class LogAnalyticsClient {
|
|
|
7820
8265
|
/**
|
|
7821
8266
|
* Pause the scheduled task specified by {scheduledTaskId}.
|
|
7822
8267
|
*
|
|
8268
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7823
8269
|
* @param PauseScheduledTaskRequest
|
|
7824
8270
|
* @return PauseScheduledTaskResponse
|
|
7825
8271
|
* @throws OciError when an error occurs
|
|
7826
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8272
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/PauseScheduledTask.ts.html |here} to see how to use PauseScheduledTask API.
|
|
7827
8273
|
*/
|
|
7828
8274
|
pauseScheduledTask(pauseScheduledTaskRequest) {
|
|
7829
8275
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7839,7 +8285,8 @@ class LogAnalyticsClient {
|
|
|
7839
8285
|
"if-match": pauseScheduledTaskRequest.ifMatch,
|
|
7840
8286
|
"opc-request-id": pauseScheduledTaskRequest.opcRequestId
|
|
7841
8287
|
};
|
|
7842
|
-
const
|
|
8288
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8289
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, pauseScheduledTaskRequest.retryConfiguration, specRetryConfiguration);
|
|
7843
8290
|
if (this.logger)
|
|
7844
8291
|
retrier.logger = this.logger;
|
|
7845
8292
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7883,10 +8330,11 @@ class LogAnalyticsClient {
|
|
|
7883
8330
|
* This API submits a work request to purge data. Only data from log groups that the user has permission to delete
|
|
7884
8331
|
* will be purged. To purge all data, the user must have permission to all log groups.
|
|
7885
8332
|
*
|
|
8333
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7886
8334
|
* @param PurgeStorageDataRequest
|
|
7887
8335
|
* @return PurgeStorageDataResponse
|
|
7888
8336
|
* @throws OciError when an error occurs
|
|
7889
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8337
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/PurgeStorageData.ts.html |here} to see how to use PurgeStorageData API.
|
|
7890
8338
|
*/
|
|
7891
8339
|
purgeStorageData(purgeStorageDataRequest) {
|
|
7892
8340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7902,7 +8350,8 @@ class LogAnalyticsClient {
|
|
|
7902
8350
|
"opc-retry-token": purgeStorageDataRequest.opcRetryToken,
|
|
7903
8351
|
"if-match": purgeStorageDataRequest.ifMatch
|
|
7904
8352
|
};
|
|
7905
|
-
const
|
|
8353
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8354
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, purgeStorageDataRequest.retryConfiguration, specRetryConfiguration);
|
|
7906
8355
|
if (this.logger)
|
|
7907
8356
|
retrier.logger = this.logger;
|
|
7908
8357
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -7946,10 +8395,11 @@ class LogAnalyticsClient {
|
|
|
7946
8395
|
}
|
|
7947
8396
|
/**
|
|
7948
8397
|
* Put the work request specified by {workRequestId} into the background. Backgrounded queries will preserve query results on query completion for up to 7 days for recall. After 7 days the results and query expire.
|
|
8398
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7949
8399
|
* @param PutQueryWorkRequestBackgroundRequest
|
|
7950
8400
|
* @return PutQueryWorkRequestBackgroundResponse
|
|
7951
8401
|
* @throws OciError when an error occurs
|
|
7952
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8402
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/PutQueryWorkRequestBackground.ts.html |here} to see how to use PutQueryWorkRequestBackground API.
|
|
7953
8403
|
*/
|
|
7954
8404
|
putQueryWorkRequestBackground(putQueryWorkRequestBackgroundRequest) {
|
|
7955
8405
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7965,7 +8415,8 @@ class LogAnalyticsClient {
|
|
|
7965
8415
|
"opc-request-id": putQueryWorkRequestBackgroundRequest.opcRequestId,
|
|
7966
8416
|
"if-match": putQueryWorkRequestBackgroundRequest.ifMatch
|
|
7967
8417
|
};
|
|
7968
|
-
const
|
|
8418
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8419
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, putQueryWorkRequestBackgroundRequest.retryConfiguration, specRetryConfiguration);
|
|
7969
8420
|
if (this.logger)
|
|
7970
8421
|
retrier.logger = this.logger;
|
|
7971
8422
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8008,10 +8459,11 @@ class LogAnalyticsClient {
|
|
|
8008
8459
|
/**
|
|
8009
8460
|
* Performs a log analytics search, if shouldRunAsync is false returns the query results once they become available subject to 60 second timeout. If a query is subject to exceed that time then it should be run asynchronously. Asynchronous query submissions return the queryWorkRequestId to use for execution tracking, query submission lifecycle actions and to poll for query results.
|
|
8010
8461
|
*
|
|
8462
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8011
8463
|
* @param QueryRequest
|
|
8012
8464
|
* @return QueryResponse
|
|
8013
8465
|
* @throws OciError when an error occurs
|
|
8014
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8466
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/Query.ts.html |here} to see how to use Query API.
|
|
8015
8467
|
*/
|
|
8016
8468
|
query(queryRequest) {
|
|
8017
8469
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8028,7 +8480,8 @@ class LogAnalyticsClient {
|
|
|
8028
8480
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8029
8481
|
"opc-request-id": queryRequest.opcRequestId
|
|
8030
8482
|
};
|
|
8031
|
-
const
|
|
8483
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8484
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, queryRequest.retryConfiguration, specRetryConfiguration);
|
|
8032
8485
|
if (this.logger)
|
|
8033
8486
|
retrier.logger = this.logger;
|
|
8034
8487
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8087,10 +8540,11 @@ class LogAnalyticsClient {
|
|
|
8087
8540
|
/**
|
|
8088
8541
|
* This API submits a work request to recall archived data based on time interval and data type.
|
|
8089
8542
|
*
|
|
8543
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8090
8544
|
* @param RecallArchivedDataRequest
|
|
8091
8545
|
* @return RecallArchivedDataResponse
|
|
8092
8546
|
* @throws OciError when an error occurs
|
|
8093
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8547
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/RecallArchivedData.ts.html |here} to see how to use RecallArchivedData API.
|
|
8094
8548
|
*/
|
|
8095
8549
|
recallArchivedData(recallArchivedDataRequest) {
|
|
8096
8550
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8106,7 +8560,8 @@ class LogAnalyticsClient {
|
|
|
8106
8560
|
"opc-retry-token": recallArchivedDataRequest.opcRetryToken,
|
|
8107
8561
|
"if-match": recallArchivedDataRequest.ifMatch
|
|
8108
8562
|
};
|
|
8109
|
-
const
|
|
8563
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8564
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, recallArchivedDataRequest.retryConfiguration, specRetryConfiguration);
|
|
8110
8565
|
if (this.logger)
|
|
8111
8566
|
retrier.logger = this.logger;
|
|
8112
8567
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8151,10 +8606,11 @@ class LogAnalyticsClient {
|
|
|
8151
8606
|
/**
|
|
8152
8607
|
* Creates a lookup with the specified name, type and description. The csv file containing the lookup content is passed in as binary data in the request.
|
|
8153
8608
|
*
|
|
8609
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8154
8610
|
* @param RegisterLookupRequest
|
|
8155
8611
|
* @return RegisterLookupResponse
|
|
8156
8612
|
* @throws OciError when an error occurs
|
|
8157
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8613
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/RegisterLookup.ts.html |here} to see how to use RegisterLookup API.
|
|
8158
8614
|
*/
|
|
8159
8615
|
registerLookup(registerLookupRequest) {
|
|
8160
8616
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8172,9 +8628,11 @@ class LogAnalyticsClient {
|
|
|
8172
8628
|
};
|
|
8173
8629
|
let headerParams = {
|
|
8174
8630
|
"opc-retry-token": registerLookupRequest.opcRetryToken,
|
|
8175
|
-
"opc-request-id": registerLookupRequest.opcRequestId
|
|
8631
|
+
"opc-request-id": registerLookupRequest.opcRequestId,
|
|
8632
|
+
"expect": registerLookupRequest.expect
|
|
8176
8633
|
};
|
|
8177
|
-
const
|
|
8634
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8635
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, registerLookupRequest.retryConfiguration, specRetryConfiguration);
|
|
8178
8636
|
if (this.logger)
|
|
8179
8637
|
retrier.logger = this.logger;
|
|
8180
8638
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8219,10 +8677,11 @@ class LogAnalyticsClient {
|
|
|
8219
8677
|
/**
|
|
8220
8678
|
* This API submits a work request to release recalled data based on time interval and data type.
|
|
8221
8679
|
*
|
|
8680
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8222
8681
|
* @param ReleaseRecalledDataRequest
|
|
8223
8682
|
* @return ReleaseRecalledDataResponse
|
|
8224
8683
|
* @throws OciError when an error occurs
|
|
8225
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8684
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ReleaseRecalledData.ts.html |here} to see how to use ReleaseRecalledData API.
|
|
8226
8685
|
*/
|
|
8227
8686
|
releaseRecalledData(releaseRecalledDataRequest) {
|
|
8228
8687
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8238,7 +8697,8 @@ class LogAnalyticsClient {
|
|
|
8238
8697
|
"opc-retry-token": releaseRecalledDataRequest.opcRetryToken,
|
|
8239
8698
|
"if-match": releaseRecalledDataRequest.ifMatch
|
|
8240
8699
|
};
|
|
8241
|
-
const
|
|
8700
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8701
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, releaseRecalledDataRequest.retryConfiguration, specRetryConfiguration);
|
|
8242
8702
|
if (this.logger)
|
|
8243
8703
|
retrier.logger = this.logger;
|
|
8244
8704
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8282,10 +8742,11 @@ class LogAnalyticsClient {
|
|
|
8282
8742
|
}
|
|
8283
8743
|
/**
|
|
8284
8744
|
* Delete association between input source log analytics entity and destination entities.
|
|
8745
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8285
8746
|
* @param RemoveEntityAssociationsRequest
|
|
8286
8747
|
* @return RemoveEntityAssociationsResponse
|
|
8287
8748
|
* @throws OciError when an error occurs
|
|
8288
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8749
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/RemoveEntityAssociations.ts.html |here} to see how to use RemoveEntityAssociations API.
|
|
8289
8750
|
*/
|
|
8290
8751
|
removeEntityAssociations(removeEntityAssociationsRequest) {
|
|
8291
8752
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8302,7 +8763,8 @@ class LogAnalyticsClient {
|
|
|
8302
8763
|
"opc-request-id": removeEntityAssociationsRequest.opcRequestId,
|
|
8303
8764
|
"opc-retry-token": removeEntityAssociationsRequest.opcRetryToken
|
|
8304
8765
|
};
|
|
8305
|
-
const
|
|
8766
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8767
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeEntityAssociationsRequest.retryConfiguration, specRetryConfiguration);
|
|
8306
8768
|
if (this.logger)
|
|
8307
8769
|
retrier.logger = this.logger;
|
|
8308
8770
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8334,13 +8796,69 @@ class LogAnalyticsClient {
|
|
|
8334
8796
|
}
|
|
8335
8797
|
});
|
|
8336
8798
|
}
|
|
8799
|
+
/**
|
|
8800
|
+
* Removes the tenant preferences. Currently, only \"DEFAULT_HOMEPAGE\" is supported.
|
|
8801
|
+
*
|
|
8802
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8803
|
+
* @param RemovePreferencesRequest
|
|
8804
|
+
* @return RemovePreferencesResponse
|
|
8805
|
+
* @throws OciError when an error occurs
|
|
8806
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/RemovePreferences.ts.html |here} to see how to use RemovePreferences API.
|
|
8807
|
+
*/
|
|
8808
|
+
removePreferences(removePreferencesRequest) {
|
|
8809
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8810
|
+
if (this.logger)
|
|
8811
|
+
this.logger.debug("Calling operation LogAnalyticsClient#removePreferences.");
|
|
8812
|
+
const pathParams = {
|
|
8813
|
+
"{namespaceName}": removePreferencesRequest.namespaceName
|
|
8814
|
+
};
|
|
8815
|
+
const queryParams = {};
|
|
8816
|
+
let headerParams = {
|
|
8817
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8818
|
+
"opc-retry-token": removePreferencesRequest.opcRetryToken,
|
|
8819
|
+
"opc-request-id": removePreferencesRequest.opcRequestId
|
|
8820
|
+
};
|
|
8821
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8822
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removePreferencesRequest.retryConfiguration, specRetryConfiguration);
|
|
8823
|
+
if (this.logger)
|
|
8824
|
+
retrier.logger = this.logger;
|
|
8825
|
+
const request = yield oci_common_1.composeRequest({
|
|
8826
|
+
baseEndpoint: this._endpoint,
|
|
8827
|
+
defaultHeaders: this._defaultHeaders,
|
|
8828
|
+
path: "/namespaces/{namespaceName}/preferences/actions/removePreferences",
|
|
8829
|
+
method: "POST",
|
|
8830
|
+
bodyContent: common.ObjectSerializer.serialize(removePreferencesRequest.removePreferencesDetails, "LogAnalyticsPreferenceDetails", model.LogAnalyticsPreferenceDetails.getJsonObj),
|
|
8831
|
+
pathParams: pathParams,
|
|
8832
|
+
headerParams: headerParams,
|
|
8833
|
+
queryParams: queryParams
|
|
8834
|
+
});
|
|
8835
|
+
try {
|
|
8836
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
8837
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
8838
|
+
responseObject: {},
|
|
8839
|
+
responseHeaders: [
|
|
8840
|
+
{
|
|
8841
|
+
value: response.headers.get("opc-request-id"),
|
|
8842
|
+
key: "opcRequestId",
|
|
8843
|
+
dataType: "string"
|
|
8844
|
+
}
|
|
8845
|
+
]
|
|
8846
|
+
});
|
|
8847
|
+
return sdkResponse;
|
|
8848
|
+
}
|
|
8849
|
+
catch (err) {
|
|
8850
|
+
throw err;
|
|
8851
|
+
}
|
|
8852
|
+
});
|
|
8853
|
+
}
|
|
8337
8854
|
/**
|
|
8338
8855
|
* Remove one or more event types from a source.
|
|
8339
8856
|
*
|
|
8857
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8340
8858
|
* @param RemoveSourceEventTypesRequest
|
|
8341
8859
|
* @return RemoveSourceEventTypesResponse
|
|
8342
8860
|
* @throws OciError when an error occurs
|
|
8343
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8861
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/RemoveSourceEventTypes.ts.html |here} to see how to use RemoveSourceEventTypes API.
|
|
8344
8862
|
*/
|
|
8345
8863
|
removeSourceEventTypes(removeSourceEventTypesRequest) {
|
|
8346
8864
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8356,7 +8874,8 @@ class LogAnalyticsClient {
|
|
|
8356
8874
|
"opc-retry-token": removeSourceEventTypesRequest.opcRetryToken,
|
|
8357
8875
|
"opc-request-id": removeSourceEventTypesRequest.opcRequestId
|
|
8358
8876
|
};
|
|
8359
|
-
const
|
|
8877
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8878
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeSourceEventTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
8360
8879
|
if (this.logger)
|
|
8361
8880
|
retrier.logger = this.logger;
|
|
8362
8881
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8391,10 +8910,11 @@ class LogAnalyticsClient {
|
|
|
8391
8910
|
/**
|
|
8392
8911
|
* Resume the scheduled task specified by {scheduledTaskId}.
|
|
8393
8912
|
*
|
|
8913
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8394
8914
|
* @param ResumeScheduledTaskRequest
|
|
8395
8915
|
* @return ResumeScheduledTaskResponse
|
|
8396
8916
|
* @throws OciError when an error occurs
|
|
8397
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8917
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ResumeScheduledTask.ts.html |here} to see how to use ResumeScheduledTask API.
|
|
8398
8918
|
*/
|
|
8399
8919
|
resumeScheduledTask(resumeScheduledTaskRequest) {
|
|
8400
8920
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8410,7 +8930,8 @@ class LogAnalyticsClient {
|
|
|
8410
8930
|
"if-match": resumeScheduledTaskRequest.ifMatch,
|
|
8411
8931
|
"opc-request-id": resumeScheduledTaskRequest.opcRequestId
|
|
8412
8932
|
};
|
|
8413
|
-
const
|
|
8933
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8934
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resumeScheduledTaskRequest.retryConfiguration, specRetryConfiguration);
|
|
8414
8935
|
if (this.logger)
|
|
8415
8936
|
retrier.logger = this.logger;
|
|
8416
8937
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8455,10 +8976,11 @@ class LogAnalyticsClient {
|
|
|
8455
8976
|
* The ScheduledTask taskType must be ACCELERATION.
|
|
8456
8977
|
* Optionally specify time range (timeStart and timeEnd). The default is all time.
|
|
8457
8978
|
*
|
|
8979
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8458
8980
|
* @param RunRequest
|
|
8459
8981
|
* @return RunResponse
|
|
8460
8982
|
* @throws OciError when an error occurs
|
|
8461
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8983
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/Run.ts.html |here} to see how to use Run API.
|
|
8462
8984
|
*/
|
|
8463
8985
|
run(runRequest) {
|
|
8464
8986
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8477,7 +8999,8 @@ class LogAnalyticsClient {
|
|
|
8477
8999
|
"opc-request-id": runRequest.opcRequestId,
|
|
8478
9000
|
"opc-retry-token": runRequest.opcRetryToken
|
|
8479
9001
|
};
|
|
8480
|
-
const
|
|
9002
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9003
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, runRequest.retryConfiguration, specRetryConfiguration);
|
|
8481
9004
|
if (this.logger)
|
|
8482
9005
|
retrier.logger = this.logger;
|
|
8483
9006
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8508,12 +9031,75 @@ class LogAnalyticsClient {
|
|
|
8508
9031
|
}
|
|
8509
9032
|
});
|
|
8510
9033
|
}
|
|
9034
|
+
/**
|
|
9035
|
+
* This API configures a bucket to store unprocessed payloads.
|
|
9036
|
+
* While processing there could be reasons a payload cannot be processed (mismatched structure, corrupted archive format, etc),
|
|
9037
|
+
* if configured the payload would be uploaded to the bucket for verification.
|
|
9038
|
+
*
|
|
9039
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9040
|
+
* @param SetUnprocessedDataBucketRequest
|
|
9041
|
+
* @return SetUnprocessedDataBucketResponse
|
|
9042
|
+
* @throws OciError when an error occurs
|
|
9043
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/SetUnprocessedDataBucket.ts.html |here} to see how to use SetUnprocessedDataBucket API.
|
|
9044
|
+
*/
|
|
9045
|
+
setUnprocessedDataBucket(setUnprocessedDataBucketRequest) {
|
|
9046
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9047
|
+
if (this.logger)
|
|
9048
|
+
this.logger.debug("Calling operation LogAnalyticsClient#setUnprocessedDataBucket.");
|
|
9049
|
+
const pathParams = {
|
|
9050
|
+
"{namespaceName}": setUnprocessedDataBucketRequest.namespaceName
|
|
9051
|
+
};
|
|
9052
|
+
const queryParams = {
|
|
9053
|
+
"bucketName": setUnprocessedDataBucketRequest.bucketName,
|
|
9054
|
+
"isEnabled": setUnprocessedDataBucketRequest.isEnabled
|
|
9055
|
+
};
|
|
9056
|
+
let headerParams = {
|
|
9057
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9058
|
+
"opc-request-id": setUnprocessedDataBucketRequest.opcRequestId
|
|
9059
|
+
};
|
|
9060
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9061
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, setUnprocessedDataBucketRequest.retryConfiguration, specRetryConfiguration);
|
|
9062
|
+
if (this.logger)
|
|
9063
|
+
retrier.logger = this.logger;
|
|
9064
|
+
const request = yield oci_common_1.composeRequest({
|
|
9065
|
+
baseEndpoint: this._endpoint,
|
|
9066
|
+
defaultHeaders: this._defaultHeaders,
|
|
9067
|
+
path: "/namespaces/{namespaceName}/actions/setUnprocessedDataBucket",
|
|
9068
|
+
method: "POST",
|
|
9069
|
+
pathParams: pathParams,
|
|
9070
|
+
headerParams: headerParams,
|
|
9071
|
+
queryParams: queryParams
|
|
9072
|
+
});
|
|
9073
|
+
try {
|
|
9074
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
9075
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
9076
|
+
responseObject: {},
|
|
9077
|
+
body: yield response.json(),
|
|
9078
|
+
bodyKey: "unprocessedDataBucket",
|
|
9079
|
+
bodyModel: model.UnprocessedDataBucket,
|
|
9080
|
+
type: "model.UnprocessedDataBucket",
|
|
9081
|
+
responseHeaders: [
|
|
9082
|
+
{
|
|
9083
|
+
value: response.headers.get("opc-request-id"),
|
|
9084
|
+
key: "opcRequestId",
|
|
9085
|
+
dataType: "string"
|
|
9086
|
+
}
|
|
9087
|
+
]
|
|
9088
|
+
});
|
|
9089
|
+
return sdkResponse;
|
|
9090
|
+
}
|
|
9091
|
+
catch (err) {
|
|
9092
|
+
throw err;
|
|
9093
|
+
}
|
|
9094
|
+
});
|
|
9095
|
+
}
|
|
8511
9096
|
/**
|
|
8512
9097
|
* Returns a context specific list of either commands, fields, or values to append to the end of the specified query string if applicable.
|
|
9098
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8513
9099
|
* @param SuggestRequest
|
|
8514
9100
|
* @return SuggestResponse
|
|
8515
9101
|
* @throws OciError when an error occurs
|
|
8516
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9102
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/Suggest.ts.html |here} to see how to use Suggest API.
|
|
8517
9103
|
*/
|
|
8518
9104
|
suggest(suggestRequest) {
|
|
8519
9105
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8527,7 +9113,8 @@ class LogAnalyticsClient {
|
|
|
8527
9113
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8528
9114
|
"opc-request-id": suggestRequest.opcRequestId
|
|
8529
9115
|
};
|
|
8530
|
-
const
|
|
9116
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9117
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, suggestRequest.retryConfiguration, specRetryConfiguration);
|
|
8531
9118
|
if (this.logger)
|
|
8532
9119
|
retrier.logger = this.logger;
|
|
8533
9120
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8566,10 +9153,11 @@ class LogAnalyticsClient {
|
|
|
8566
9153
|
/**
|
|
8567
9154
|
* Supresses a list of warnings. Any unsuppressed warnings in the input list would be suppressed. Warnings in the input list which are already suppressed will not be modified.
|
|
8568
9155
|
*
|
|
9156
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8569
9157
|
* @param SuppressWarningRequest
|
|
8570
9158
|
* @return SuppressWarningResponse
|
|
8571
9159
|
* @throws OciError when an error occurs
|
|
8572
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9160
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/SuppressWarning.ts.html |here} to see how to use SuppressWarning API.
|
|
8573
9161
|
*/
|
|
8574
9162
|
suppressWarning(suppressWarningRequest) {
|
|
8575
9163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8586,7 +9174,8 @@ class LogAnalyticsClient {
|
|
|
8586
9174
|
"opc-retry-token": suppressWarningRequest.opcRetryToken,
|
|
8587
9175
|
"opc-request-id": suppressWarningRequest.opcRequestId
|
|
8588
9176
|
};
|
|
8589
|
-
const
|
|
9177
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9178
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, suppressWarningRequest.retryConfiguration, specRetryConfiguration);
|
|
8590
9179
|
if (this.logger)
|
|
8591
9180
|
retrier.logger = this.logger;
|
|
8592
9181
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8621,10 +9210,11 @@ class LogAnalyticsClient {
|
|
|
8621
9210
|
/**
|
|
8622
9211
|
* Tests the parser definition against the specified example content to ensure fields are successfully extracted.
|
|
8623
9212
|
*
|
|
9213
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8624
9214
|
* @param TestParserRequest
|
|
8625
9215
|
* @return TestParserResponse
|
|
8626
9216
|
* @throws OciError when an error occurs
|
|
8627
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9217
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/TestParser.ts.html |here} to see how to use TestParser API.
|
|
8628
9218
|
*/
|
|
8629
9219
|
testParser(testParserRequest) {
|
|
8630
9220
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8642,7 +9232,8 @@ class LogAnalyticsClient {
|
|
|
8642
9232
|
"opc-retry-token": testParserRequest.opcRetryToken,
|
|
8643
9233
|
"opc-request-id": testParserRequest.opcRequestId
|
|
8644
9234
|
};
|
|
8645
|
-
const
|
|
9235
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9236
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, testParserRequest.retryConfiguration, specRetryConfiguration);
|
|
8646
9237
|
if (this.logger)
|
|
8647
9238
|
retrier.logger = this.logger;
|
|
8648
9239
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8681,10 +9272,11 @@ class LogAnalyticsClient {
|
|
|
8681
9272
|
/**
|
|
8682
9273
|
* Unsupresses a list of warnings. Any suppressed warnings in the input list would be unsuppressed. Warnings in the input list which are already unsuppressed will not be modified.
|
|
8683
9274
|
*
|
|
9275
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8684
9276
|
* @param UnsuppressWarningRequest
|
|
8685
9277
|
* @return UnsuppressWarningResponse
|
|
8686
9278
|
* @throws OciError when an error occurs
|
|
8687
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9279
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UnsuppressWarning.ts.html |here} to see how to use UnsuppressWarning API.
|
|
8688
9280
|
*/
|
|
8689
9281
|
unsuppressWarning(unsuppressWarningRequest) {
|
|
8690
9282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8701,7 +9293,8 @@ class LogAnalyticsClient {
|
|
|
8701
9293
|
"opc-retry-token": unsuppressWarningRequest.opcRetryToken,
|
|
8702
9294
|
"opc-request-id": unsuppressWarningRequest.opcRequestId
|
|
8703
9295
|
};
|
|
8704
|
-
const
|
|
9296
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9297
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, unsuppressWarningRequest.retryConfiguration, specRetryConfiguration);
|
|
8705
9298
|
if (this.logger)
|
|
8706
9299
|
retrier.logger = this.logger;
|
|
8707
9300
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8735,10 +9328,11 @@ class LogAnalyticsClient {
|
|
|
8735
9328
|
}
|
|
8736
9329
|
/**
|
|
8737
9330
|
* Update log analytics enterprise manager bridge with the given id.
|
|
9331
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8738
9332
|
* @param UpdateLogAnalyticsEmBridgeRequest
|
|
8739
9333
|
* @return UpdateLogAnalyticsEmBridgeResponse
|
|
8740
9334
|
* @throws OciError when an error occurs
|
|
8741
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9335
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpdateLogAnalyticsEmBridge.ts.html |here} to see how to use UpdateLogAnalyticsEmBridge API.
|
|
8742
9336
|
*/
|
|
8743
9337
|
updateLogAnalyticsEmBridge(updateLogAnalyticsEmBridgeRequest) {
|
|
8744
9338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8754,7 +9348,8 @@ class LogAnalyticsClient {
|
|
|
8754
9348
|
"if-match": updateLogAnalyticsEmBridgeRequest.ifMatch,
|
|
8755
9349
|
"opc-request-id": updateLogAnalyticsEmBridgeRequest.opcRequestId
|
|
8756
9350
|
};
|
|
8757
|
-
const
|
|
9351
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9352
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogAnalyticsEmBridgeRequest.retryConfiguration, specRetryConfiguration);
|
|
8758
9353
|
if (this.logger)
|
|
8759
9354
|
retrier.logger = this.logger;
|
|
8760
9355
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8797,10 +9392,11 @@ class LogAnalyticsClient {
|
|
|
8797
9392
|
}
|
|
8798
9393
|
/**
|
|
8799
9394
|
* Update the log analytics entity with the given id.
|
|
9395
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8800
9396
|
* @param UpdateLogAnalyticsEntityRequest
|
|
8801
9397
|
* @return UpdateLogAnalyticsEntityResponse
|
|
8802
9398
|
* @throws OciError when an error occurs
|
|
8803
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9399
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpdateLogAnalyticsEntity.ts.html |here} to see how to use UpdateLogAnalyticsEntity API.
|
|
8804
9400
|
*/
|
|
8805
9401
|
updateLogAnalyticsEntity(updateLogAnalyticsEntityRequest) {
|
|
8806
9402
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8816,7 +9412,8 @@ class LogAnalyticsClient {
|
|
|
8816
9412
|
"if-match": updateLogAnalyticsEntityRequest.ifMatch,
|
|
8817
9413
|
"opc-request-id": updateLogAnalyticsEntityRequest.opcRequestId
|
|
8818
9414
|
};
|
|
8819
|
-
const
|
|
9415
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9416
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogAnalyticsEntityRequest.retryConfiguration, specRetryConfiguration);
|
|
8820
9417
|
if (this.logger)
|
|
8821
9418
|
retrier.logger = this.logger;
|
|
8822
9419
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8859,10 +9456,11 @@ class LogAnalyticsClient {
|
|
|
8859
9456
|
}
|
|
8860
9457
|
/**
|
|
8861
9458
|
* Update custom log analytics entity type. Out of box entity types cannot be udpated.
|
|
9459
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8862
9460
|
* @param UpdateLogAnalyticsEntityTypeRequest
|
|
8863
9461
|
* @return UpdateLogAnalyticsEntityTypeResponse
|
|
8864
9462
|
* @throws OciError when an error occurs
|
|
8865
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9463
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpdateLogAnalyticsEntityType.ts.html |here} to see how to use UpdateLogAnalyticsEntityType API.
|
|
8866
9464
|
*/
|
|
8867
9465
|
updateLogAnalyticsEntityType(updateLogAnalyticsEntityTypeRequest) {
|
|
8868
9466
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8878,7 +9476,8 @@ class LogAnalyticsClient {
|
|
|
8878
9476
|
"opc-request-id": updateLogAnalyticsEntityTypeRequest.opcRequestId,
|
|
8879
9477
|
"if-match": updateLogAnalyticsEntityTypeRequest.ifMatch
|
|
8880
9478
|
};
|
|
8881
|
-
const
|
|
9479
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9480
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogAnalyticsEntityTypeRequest.retryConfiguration, specRetryConfiguration);
|
|
8882
9481
|
if (this.logger)
|
|
8883
9482
|
retrier.logger = this.logger;
|
|
8884
9483
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8913,10 +9512,11 @@ class LogAnalyticsClient {
|
|
|
8913
9512
|
/**
|
|
8914
9513
|
* Updates the specified log group's display name, description, defined tags, and free-form tags.
|
|
8915
9514
|
*
|
|
9515
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8916
9516
|
* @param UpdateLogAnalyticsLogGroupRequest
|
|
8917
9517
|
* @return UpdateLogAnalyticsLogGroupResponse
|
|
8918
9518
|
* @throws OciError when an error occurs
|
|
8919
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9519
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpdateLogAnalyticsLogGroup.ts.html |here} to see how to use UpdateLogAnalyticsLogGroup API.
|
|
8920
9520
|
*/
|
|
8921
9521
|
updateLogAnalyticsLogGroup(updateLogAnalyticsLogGroupRequest) {
|
|
8922
9522
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8932,7 +9532,8 @@ class LogAnalyticsClient {
|
|
|
8932
9532
|
"if-match": updateLogAnalyticsLogGroupRequest.ifMatch,
|
|
8933
9533
|
"opc-request-id": updateLogAnalyticsLogGroupRequest.opcRequestId
|
|
8934
9534
|
};
|
|
8935
|
-
const
|
|
9535
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9536
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogAnalyticsLogGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
8936
9537
|
if (this.logger)
|
|
8937
9538
|
retrier.logger = this.logger;
|
|
8938
9539
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -8975,10 +9576,11 @@ class LogAnalyticsClient {
|
|
|
8975
9576
|
}
|
|
8976
9577
|
/**
|
|
8977
9578
|
* Updates configuration of the object collection rule for the given id.
|
|
9579
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8978
9580
|
* @param UpdateLogAnalyticsObjectCollectionRuleRequest
|
|
8979
9581
|
* @return UpdateLogAnalyticsObjectCollectionRuleResponse
|
|
8980
9582
|
* @throws OciError when an error occurs
|
|
8981
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9583
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpdateLogAnalyticsObjectCollectionRule.ts.html |here} to see how to use UpdateLogAnalyticsObjectCollectionRule API.
|
|
8982
9584
|
*/
|
|
8983
9585
|
updateLogAnalyticsObjectCollectionRule(updateLogAnalyticsObjectCollectionRuleRequest) {
|
|
8984
9586
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8994,7 +9596,8 @@ class LogAnalyticsClient {
|
|
|
8994
9596
|
"if-match": updateLogAnalyticsObjectCollectionRuleRequest.ifMatch,
|
|
8995
9597
|
"opc-request-id": updateLogAnalyticsObjectCollectionRuleRequest.opcRequestId
|
|
8996
9598
|
};
|
|
8997
|
-
const
|
|
9599
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9600
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogAnalyticsObjectCollectionRuleRequest.retryConfiguration, specRetryConfiguration);
|
|
8998
9601
|
if (this.logger)
|
|
8999
9602
|
retrier.logger = this.logger;
|
|
9000
9603
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9038,10 +9641,11 @@ class LogAnalyticsClient {
|
|
|
9038
9641
|
/**
|
|
9039
9642
|
* Updates the metadata of the specified lookup, such as the lookup description.
|
|
9040
9643
|
*
|
|
9644
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9041
9645
|
* @param UpdateLookupRequest
|
|
9042
9646
|
* @return UpdateLookupResponse
|
|
9043
9647
|
* @throws OciError when an error occurs
|
|
9044
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9648
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpdateLookup.ts.html |here} to see how to use UpdateLookup API.
|
|
9045
9649
|
*/
|
|
9046
9650
|
updateLookup(updateLookupRequest) {
|
|
9047
9651
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9058,7 +9662,8 @@ class LogAnalyticsClient {
|
|
|
9058
9662
|
"opc-request-id": updateLookupRequest.opcRequestId,
|
|
9059
9663
|
"if-match": updateLookupRequest.ifMatch
|
|
9060
9664
|
};
|
|
9061
|
-
const
|
|
9665
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9666
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLookupRequest.retryConfiguration, specRetryConfiguration);
|
|
9062
9667
|
if (this.logger)
|
|
9063
9668
|
retrier.logger = this.logger;
|
|
9064
9669
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9102,10 +9707,11 @@ class LogAnalyticsClient {
|
|
|
9102
9707
|
/**
|
|
9103
9708
|
* Updates the lookup content. The csv file containing the content to be updated is passed in as binary data in the request.
|
|
9104
9709
|
*
|
|
9710
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9105
9711
|
* @param UpdateLookupDataRequest
|
|
9106
9712
|
* @return UpdateLookupDataResponse
|
|
9107
9713
|
* @throws OciError when an error occurs
|
|
9108
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9714
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpdateLookupData.ts.html |here} to see how to use UpdateLookupData API.
|
|
9109
9715
|
*/
|
|
9110
9716
|
updateLookupData(updateLookupDataRequest) {
|
|
9111
9717
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9122,9 +9728,11 @@ class LogAnalyticsClient {
|
|
|
9122
9728
|
let headerParams = {
|
|
9123
9729
|
"opc-retry-token": updateLookupDataRequest.opcRetryToken,
|
|
9124
9730
|
"opc-request-id": updateLookupDataRequest.opcRequestId,
|
|
9125
|
-
"if-match": updateLookupDataRequest.ifMatch
|
|
9731
|
+
"if-match": updateLookupDataRequest.ifMatch,
|
|
9732
|
+
"expect": updateLookupDataRequest.expect
|
|
9126
9733
|
};
|
|
9127
|
-
const
|
|
9734
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9735
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLookupDataRequest.retryConfiguration, specRetryConfiguration);
|
|
9128
9736
|
if (this.logger)
|
|
9129
9737
|
retrier.logger = this.logger;
|
|
9130
9738
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9162,12 +9770,68 @@ class LogAnalyticsClient {
|
|
|
9162
9770
|
}
|
|
9163
9771
|
});
|
|
9164
9772
|
}
|
|
9773
|
+
/**
|
|
9774
|
+
* Updates the tenant preferences. Currently, only \"DEFAULT_HOMEPAGE\" is supported.
|
|
9775
|
+
*
|
|
9776
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9777
|
+
* @param UpdatePreferencesRequest
|
|
9778
|
+
* @return UpdatePreferencesResponse
|
|
9779
|
+
* @throws OciError when an error occurs
|
|
9780
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpdatePreferences.ts.html |here} to see how to use UpdatePreferences API.
|
|
9781
|
+
*/
|
|
9782
|
+
updatePreferences(updatePreferencesRequest) {
|
|
9783
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9784
|
+
if (this.logger)
|
|
9785
|
+
this.logger.debug("Calling operation LogAnalyticsClient#updatePreferences.");
|
|
9786
|
+
const pathParams = {
|
|
9787
|
+
"{namespaceName}": updatePreferencesRequest.namespaceName
|
|
9788
|
+
};
|
|
9789
|
+
const queryParams = {};
|
|
9790
|
+
let headerParams = {
|
|
9791
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9792
|
+
"opc-retry-token": updatePreferencesRequest.opcRetryToken,
|
|
9793
|
+
"opc-request-id": updatePreferencesRequest.opcRequestId
|
|
9794
|
+
};
|
|
9795
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9796
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePreferencesRequest.retryConfiguration, specRetryConfiguration);
|
|
9797
|
+
if (this.logger)
|
|
9798
|
+
retrier.logger = this.logger;
|
|
9799
|
+
const request = yield oci_common_1.composeRequest({
|
|
9800
|
+
baseEndpoint: this._endpoint,
|
|
9801
|
+
defaultHeaders: this._defaultHeaders,
|
|
9802
|
+
path: "/namespaces/{namespaceName}/preferences/actions/updatePreferences",
|
|
9803
|
+
method: "POST",
|
|
9804
|
+
bodyContent: common.ObjectSerializer.serialize(updatePreferencesRequest.updatePreferencesDetails, "LogAnalyticsPreferenceDetails", model.LogAnalyticsPreferenceDetails.getJsonObj),
|
|
9805
|
+
pathParams: pathParams,
|
|
9806
|
+
headerParams: headerParams,
|
|
9807
|
+
queryParams: queryParams
|
|
9808
|
+
});
|
|
9809
|
+
try {
|
|
9810
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
9811
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
9812
|
+
responseObject: {},
|
|
9813
|
+
responseHeaders: [
|
|
9814
|
+
{
|
|
9815
|
+
value: response.headers.get("opc-request-id"),
|
|
9816
|
+
key: "opcRequestId",
|
|
9817
|
+
dataType: "string"
|
|
9818
|
+
}
|
|
9819
|
+
]
|
|
9820
|
+
});
|
|
9821
|
+
return sdkResponse;
|
|
9822
|
+
}
|
|
9823
|
+
catch (err) {
|
|
9824
|
+
throw err;
|
|
9825
|
+
}
|
|
9826
|
+
});
|
|
9827
|
+
}
|
|
9165
9828
|
/**
|
|
9166
9829
|
* Update the scheduled task. Schedules may be updated only for taskType SAVED_SEARCH and PURGE.
|
|
9830
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9167
9831
|
* @param UpdateScheduledTaskRequest
|
|
9168
9832
|
* @return UpdateScheduledTaskResponse
|
|
9169
9833
|
* @throws OciError when an error occurs
|
|
9170
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9834
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpdateScheduledTask.ts.html |here} to see how to use UpdateScheduledTask API.
|
|
9171
9835
|
*/
|
|
9172
9836
|
updateScheduledTask(updateScheduledTaskRequest) {
|
|
9173
9837
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9183,7 +9847,8 @@ class LogAnalyticsClient {
|
|
|
9183
9847
|
"opc-request-id": updateScheduledTaskRequest.opcRequestId,
|
|
9184
9848
|
"if-match": updateScheduledTaskRequest.ifMatch
|
|
9185
9849
|
};
|
|
9186
|
-
const
|
|
9850
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9851
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateScheduledTaskRequest.retryConfiguration, specRetryConfiguration);
|
|
9187
9852
|
if (this.logger)
|
|
9188
9853
|
retrier.logger = this.logger;
|
|
9189
9854
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9227,10 +9892,11 @@ class LogAnalyticsClient {
|
|
|
9227
9892
|
/**
|
|
9228
9893
|
* This API updates the archiving configuration
|
|
9229
9894
|
*
|
|
9895
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9230
9896
|
* @param UpdateStorageRequest
|
|
9231
9897
|
* @return UpdateStorageResponse
|
|
9232
9898
|
* @throws OciError when an error occurs
|
|
9233
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9899
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpdateStorage.ts.html |here} to see how to use UpdateStorage API.
|
|
9234
9900
|
*/
|
|
9235
9901
|
updateStorage(updateStorageRequest) {
|
|
9236
9902
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9245,7 +9911,8 @@ class LogAnalyticsClient {
|
|
|
9245
9911
|
"opc-request-id": updateStorageRequest.opcRequestId,
|
|
9246
9912
|
"if-match": updateStorageRequest.ifMatch
|
|
9247
9913
|
};
|
|
9248
|
-
const
|
|
9914
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9915
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateStorageRequest.retryConfiguration, specRetryConfiguration);
|
|
9249
9916
|
if (this.logger)
|
|
9250
9917
|
retrier.logger = this.logger;
|
|
9251
9918
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9289,10 +9956,11 @@ class LogAnalyticsClient {
|
|
|
9289
9956
|
/**
|
|
9290
9957
|
* Accepts log events for processing by Logging Analytics.
|
|
9291
9958
|
*
|
|
9959
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9292
9960
|
* @param UploadLogEventsFileRequest
|
|
9293
9961
|
* @return UploadLogEventsFileResponse
|
|
9294
9962
|
* @throws OciError when an error occurs
|
|
9295
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9963
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UploadLogEventsFile.ts.html |here} to see how to use UploadLogEventsFile API.
|
|
9296
9964
|
*/
|
|
9297
9965
|
uploadLogEventsFile(uploadLogEventsFileRequest) {
|
|
9298
9966
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9309,9 +9977,11 @@ class LogAnalyticsClient {
|
|
|
9309
9977
|
let headerParams = {
|
|
9310
9978
|
"opc-request-id": uploadLogEventsFileRequest.opcRequestId,
|
|
9311
9979
|
"content-type": uploadLogEventsFileRequest.contentType,
|
|
9312
|
-
"opc-retry-token": uploadLogEventsFileRequest.opcRetryToken
|
|
9980
|
+
"opc-retry-token": uploadLogEventsFileRequest.opcRetryToken,
|
|
9981
|
+
"expect": uploadLogEventsFileRequest.expect
|
|
9313
9982
|
};
|
|
9314
|
-
const
|
|
9983
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9984
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, uploadLogEventsFileRequest.retryConfiguration, specRetryConfiguration);
|
|
9315
9985
|
if (this.logger)
|
|
9316
9986
|
retrier.logger = this.logger;
|
|
9317
9987
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9357,10 +10027,11 @@ class LogAnalyticsClient {
|
|
|
9357
10027
|
/**
|
|
9358
10028
|
* Accepts log data for processing by Logging Analytics.
|
|
9359
10029
|
*
|
|
10030
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9360
10031
|
* @param UploadLogFileRequest
|
|
9361
10032
|
* @return UploadLogFileResponse
|
|
9362
10033
|
* @throws OciError when an error occurs
|
|
9363
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10034
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UploadLogFile.ts.html |here} to see how to use UploadLogFile API.
|
|
9364
10035
|
*/
|
|
9365
10036
|
uploadLogFile(uploadLogFileRequest) {
|
|
9366
10037
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9386,9 +10057,11 @@ class LogAnalyticsClient {
|
|
|
9386
10057
|
"content-md5": uploadLogFileRequest.contentMd5,
|
|
9387
10058
|
"content-type": uploadLogFileRequest.contentType,
|
|
9388
10059
|
"opc-meta-loggrpid": uploadLogFileRequest.opcMetaLoggrpid,
|
|
9389
|
-
"opc-retry-token": uploadLogFileRequest.opcRetryToken
|
|
10060
|
+
"opc-retry-token": uploadLogFileRequest.opcRetryToken,
|
|
10061
|
+
"expect": uploadLogFileRequest.expect
|
|
9390
10062
|
};
|
|
9391
|
-
const
|
|
10063
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10064
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, uploadLogFileRequest.retryConfiguration, specRetryConfiguration);
|
|
9392
10065
|
if (this.logger)
|
|
9393
10066
|
retrier.logger = this.logger;
|
|
9394
10067
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9438,10 +10111,11 @@ class LogAnalyticsClient {
|
|
|
9438
10111
|
/**
|
|
9439
10112
|
* Creates or updates associations between sources and entities. All entities should belong to the specified input compartment.
|
|
9440
10113
|
*
|
|
10114
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9441
10115
|
* @param UpsertAssociationsRequest
|
|
9442
10116
|
* @return UpsertAssociationsResponse
|
|
9443
10117
|
* @throws OciError when an error occurs
|
|
9444
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10118
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpsertAssociations.ts.html |here} to see how to use UpsertAssociations API.
|
|
9445
10119
|
*/
|
|
9446
10120
|
upsertAssociations(upsertAssociationsRequest) {
|
|
9447
10121
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9458,7 +10132,8 @@ class LogAnalyticsClient {
|
|
|
9458
10132
|
"opc-retry-token": upsertAssociationsRequest.opcRetryToken,
|
|
9459
10133
|
"opc-request-id": upsertAssociationsRequest.opcRequestId
|
|
9460
10134
|
};
|
|
9461
|
-
const
|
|
10135
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10136
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, upsertAssociationsRequest.retryConfiguration, specRetryConfiguration);
|
|
9462
10137
|
if (this.logger)
|
|
9463
10138
|
retrier.logger = this.logger;
|
|
9464
10139
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9498,10 +10173,11 @@ class LogAnalyticsClient {
|
|
|
9498
10173
|
/**
|
|
9499
10174
|
* Creates or updates a field that could be used in parser expressions to extract and assign value. To create a field, specify its display name. A name would be generated for the field. For subsequent calls to update the field, include the name attribute.
|
|
9500
10175
|
*
|
|
10176
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9501
10177
|
* @param UpsertFieldRequest
|
|
9502
10178
|
* @return UpsertFieldResponse
|
|
9503
10179
|
* @throws OciError when an error occurs
|
|
9504
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10180
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpsertField.ts.html |here} to see how to use UpsertField API.
|
|
9505
10181
|
*/
|
|
9506
10182
|
upsertField(upsertFieldRequest) {
|
|
9507
10183
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9517,7 +10193,8 @@ class LogAnalyticsClient {
|
|
|
9517
10193
|
"opc-request-id": upsertFieldRequest.opcRequestId,
|
|
9518
10194
|
"if-match": upsertFieldRequest.ifMatch
|
|
9519
10195
|
};
|
|
9520
|
-
const
|
|
10196
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10197
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, upsertFieldRequest.retryConfiguration, specRetryConfiguration);
|
|
9521
10198
|
if (this.logger)
|
|
9522
10199
|
retrier.logger = this.logger;
|
|
9523
10200
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9561,10 +10238,11 @@ class LogAnalyticsClient {
|
|
|
9561
10238
|
/**
|
|
9562
10239
|
* Creates or updates a label that could be used to tag a log entry. You may optionally designate the label as a problem, and assign it a priority. You may also provide its related terms (aliases). To create a label, specify its display name. A name would be generated for the label. For subsequent calls to update the label, include the name attribute.
|
|
9563
10240
|
*
|
|
10241
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9564
10242
|
* @param UpsertLabelRequest
|
|
9565
10243
|
* @return UpsertLabelResponse
|
|
9566
10244
|
* @throws OciError when an error occurs
|
|
9567
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10245
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpsertLabel.ts.html |here} to see how to use UpsertLabel API.
|
|
9568
10246
|
*/
|
|
9569
10247
|
upsertLabel(upsertLabelRequest) {
|
|
9570
10248
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9580,7 +10258,8 @@ class LogAnalyticsClient {
|
|
|
9580
10258
|
"opc-request-id": upsertLabelRequest.opcRequestId,
|
|
9581
10259
|
"if-match": upsertLabelRequest.ifMatch
|
|
9582
10260
|
};
|
|
9583
|
-
const
|
|
10261
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10262
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, upsertLabelRequest.retryConfiguration, specRetryConfiguration);
|
|
9584
10263
|
if (this.logger)
|
|
9585
10264
|
retrier.logger = this.logger;
|
|
9586
10265
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9624,10 +10303,11 @@ class LogAnalyticsClient {
|
|
|
9624
10303
|
/**
|
|
9625
10304
|
* Creates or updates a parser, which defines how fields are extracted from a log entry.
|
|
9626
10305
|
*
|
|
10306
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9627
10307
|
* @param UpsertParserRequest
|
|
9628
10308
|
* @return UpsertParserResponse
|
|
9629
10309
|
* @throws OciError when an error occurs
|
|
9630
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10310
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpsertParser.ts.html |here} to see how to use UpsertParser API.
|
|
9631
10311
|
*/
|
|
9632
10312
|
upsertParser(upsertParserRequest) {
|
|
9633
10313
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9643,7 +10323,8 @@ class LogAnalyticsClient {
|
|
|
9643
10323
|
"opc-request-id": upsertParserRequest.opcRequestId,
|
|
9644
10324
|
"if-match": upsertParserRequest.ifMatch
|
|
9645
10325
|
};
|
|
9646
|
-
const
|
|
10326
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10327
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, upsertParserRequest.retryConfiguration, specRetryConfiguration);
|
|
9647
10328
|
if (this.logger)
|
|
9648
10329
|
retrier.logger = this.logger;
|
|
9649
10330
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9687,10 +10368,11 @@ class LogAnalyticsClient {
|
|
|
9687
10368
|
/**
|
|
9688
10369
|
* Creates or updates a log source. You may also specify parsers, labels, extended fields etc., for the source.
|
|
9689
10370
|
*
|
|
10371
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9690
10372
|
* @param UpsertSourceRequest
|
|
9691
10373
|
* @return UpsertSourceResponse
|
|
9692
10374
|
* @throws OciError when an error occurs
|
|
9693
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10375
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/UpsertSource.ts.html |here} to see how to use UpsertSource API.
|
|
9694
10376
|
*/
|
|
9695
10377
|
upsertSource(upsertSourceRequest) {
|
|
9696
10378
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9710,7 +10392,8 @@ class LogAnalyticsClient {
|
|
|
9710
10392
|
"opc-request-id": upsertSourceRequest.opcRequestId,
|
|
9711
10393
|
"if-match": upsertSourceRequest.ifMatch
|
|
9712
10394
|
};
|
|
9713
|
-
const
|
|
10395
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10396
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, upsertSourceRequest.retryConfiguration, specRetryConfiguration);
|
|
9714
10397
|
if (this.logger)
|
|
9715
10398
|
retrier.logger = this.logger;
|
|
9716
10399
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9754,10 +10437,11 @@ class LogAnalyticsClient {
|
|
|
9754
10437
|
/**
|
|
9755
10438
|
* Checks if the passed in entities could be associated with the specified sources. The validation is performed to ensure that the entities have the relevant property values that are used in the corresponding source patterns.
|
|
9756
10439
|
*
|
|
10440
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9757
10441
|
* @param ValidateAssociationParametersRequest
|
|
9758
10442
|
* @return ValidateAssociationParametersResponse
|
|
9759
10443
|
* @throws OciError when an error occurs
|
|
9760
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10444
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ValidateAssociationParameters.ts.html |here} to see how to use ValidateAssociationParameters API.
|
|
9761
10445
|
*/
|
|
9762
10446
|
validateAssociationParameters(validateAssociationParametersRequest) {
|
|
9763
10447
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9777,7 +10461,8 @@ class LogAnalyticsClient {
|
|
|
9777
10461
|
"opc-retry-token": validateAssociationParametersRequest.opcRetryToken,
|
|
9778
10462
|
"opc-request-id": validateAssociationParametersRequest.opcRequestId
|
|
9779
10463
|
};
|
|
9780
|
-
const
|
|
10464
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10465
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, validateAssociationParametersRequest.retryConfiguration, specRetryConfiguration);
|
|
9781
10466
|
if (this.logger)
|
|
9782
10467
|
retrier.logger = this.logger;
|
|
9783
10468
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9820,10 +10505,11 @@ class LogAnalyticsClient {
|
|
|
9820
10505
|
}
|
|
9821
10506
|
/**
|
|
9822
10507
|
* Validates a log file to check whether it is eligible to be uploaded or not.
|
|
10508
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9823
10509
|
* @param ValidateFileRequest
|
|
9824
10510
|
* @return ValidateFileResponse
|
|
9825
10511
|
* @throws OciError when an error occurs
|
|
9826
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10512
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ValidateFile.ts.html |here} to see how to use ValidateFile API.
|
|
9827
10513
|
*/
|
|
9828
10514
|
validateFile(validateFileRequest) {
|
|
9829
10515
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9840,7 +10526,8 @@ class LogAnalyticsClient {
|
|
|
9840
10526
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9841
10527
|
"opc-request-id": validateFileRequest.opcRequestId
|
|
9842
10528
|
};
|
|
9843
|
-
const
|
|
10529
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10530
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, validateFileRequest.retryConfiguration, specRetryConfiguration);
|
|
9844
10531
|
if (this.logger)
|
|
9845
10532
|
retrier.logger = this.logger;
|
|
9846
10533
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9878,10 +10565,11 @@ class LogAnalyticsClient {
|
|
|
9878
10565
|
/**
|
|
9879
10566
|
* Checks if the specified input is a valid log source definition.
|
|
9880
10567
|
*
|
|
10568
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9881
10569
|
* @param ValidateSourceRequest
|
|
9882
10570
|
* @return ValidateSourceResponse
|
|
9883
10571
|
* @throws OciError when an error occurs
|
|
9884
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10572
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ValidateSource.ts.html |here} to see how to use ValidateSource API.
|
|
9885
10573
|
*/
|
|
9886
10574
|
validateSource(validateSourceRequest) {
|
|
9887
10575
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9900,7 +10588,8 @@ class LogAnalyticsClient {
|
|
|
9900
10588
|
"opc-retry-token": validateSourceRequest.opcRetryToken,
|
|
9901
10589
|
"opc-request-id": validateSourceRequest.opcRequestId
|
|
9902
10590
|
};
|
|
9903
|
-
const
|
|
10591
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10592
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, validateSourceRequest.retryConfiguration, specRetryConfiguration);
|
|
9904
10593
|
if (this.logger)
|
|
9905
10594
|
retrier.logger = this.logger;
|
|
9906
10595
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9939,10 +10628,11 @@ class LogAnalyticsClient {
|
|
|
9939
10628
|
/**
|
|
9940
10629
|
* Checks if the specified input contains valid extended field definitions against the provided example content.
|
|
9941
10630
|
*
|
|
10631
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9942
10632
|
* @param ValidateSourceExtendedFieldDetailsRequest
|
|
9943
10633
|
* @return ValidateSourceExtendedFieldDetailsResponse
|
|
9944
10634
|
* @throws OciError when an error occurs
|
|
9945
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10635
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ValidateSourceExtendedFieldDetails.ts.html |here} to see how to use ValidateSourceExtendedFieldDetails API.
|
|
9946
10636
|
*/
|
|
9947
10637
|
validateSourceExtendedFieldDetails(validateSourceExtendedFieldDetailsRequest) {
|
|
9948
10638
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9957,7 +10647,8 @@ class LogAnalyticsClient {
|
|
|
9957
10647
|
"opc-retry-token": validateSourceExtendedFieldDetailsRequest.opcRetryToken,
|
|
9958
10648
|
"opc-request-id": validateSourceExtendedFieldDetailsRequest.opcRequestId
|
|
9959
10649
|
};
|
|
9960
|
-
const
|
|
10650
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10651
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, validateSourceExtendedFieldDetailsRequest.retryConfiguration, specRetryConfiguration);
|
|
9961
10652
|
if (this.logger)
|
|
9962
10653
|
retrier.logger = this.logger;
|
|
9963
10654
|
const request = yield oci_common_1.composeRequest({
|
|
@@ -9995,10 +10686,11 @@ class LogAnalyticsClient {
|
|
|
9995
10686
|
}
|
|
9996
10687
|
/**
|
|
9997
10688
|
* Validates the source mapping for a given file and provides match status and the parsed representation of log data.
|
|
10689
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9998
10690
|
* @param ValidateSourceMappingRequest
|
|
9999
10691
|
* @return ValidateSourceMappingResponse
|
|
10000
10692
|
* @throws OciError when an error occurs
|
|
10001
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10693
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/loganalytics/ValidateSourceMapping.ts.html |here} to see how to use ValidateSourceMapping API.
|
|
10002
10694
|
*/
|
|
10003
10695
|
validateSourceMapping(validateSourceMappingRequest) {
|
|
10004
10696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10016,7 +10708,8 @@ class LogAnalyticsClient {
|
|
|
10016
10708
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10017
10709
|
"opc-request-id": validateSourceMappingRequest.opcRequestId
|
|
10018
10710
|
};
|
|
10019
|
-
const
|
|
10711
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
10712
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, validateSourceMappingRequest.retryConfiguration, specRetryConfiguration);
|
|
10020
10713
|
if (this.logger)
|
|
10021
10714
|
retrier.logger = this.logger;
|
|
10022
10715
|
const request = yield oci_common_1.composeRequest({
|