oci-apmconfig 2.5.1
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 +83 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +1521 -0
- package/index.d.ts +20 -0
- package/index.js +43 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +91 -0
- package/lib/client.js +423 -0
- package/lib/client.js.map +1 -0
- package/lib/model/apdex-rules-summary.d.ts +30 -0
- package/lib/model/apdex-rules-summary.js +64 -0
- package/lib/model/apdex-rules-summary.js.map +1 -0
- package/lib/model/apdex-rules.d.ts +31 -0
- package/lib/model/apdex-rules.js +62 -0
- package/lib/model/apdex-rules.js.map +1 -0
- package/lib/model/apdex.d.ts +78 -0
- package/lib/model/apdex.js +29 -0
- package/lib/model/apdex.js.map +1 -0
- package/lib/model/config-collection.d.ts +23 -0
- package/lib/model/config-collection.js +61 -0
- package/lib/model/config-collection.js.map +1 -0
- package/lib/model/config-summary.d.ts +61 -0
- package/lib/model/config-summary.js +73 -0
- package/lib/model/config-summary.js.map +1 -0
- package/lib/model/config-types.d.ts +29 -0
- package/lib/model/config-types.js +40 -0
- package/lib/model/config-types.js.map +1 -0
- package/lib/model/config.d.ts +62 -0
- package/lib/model/config.js +73 -0
- package/lib/model/config.js.map +1 -0
- package/lib/model/create-apdex-rules-details.d.ts +32 -0
- package/lib/model/create-apdex-rules-details.js +66 -0
- package/lib/model/create-apdex-rules-details.js.map +1 -0
- package/lib/model/create-config-details.d.ts +42 -0
- package/lib/model/create-config-details.js +73 -0
- package/lib/model/create-config-details.js.map +1 -0
- package/lib/model/create-metric-group-details.d.ts +44 -0
- package/lib/model/create-metric-group-details.js +76 -0
- package/lib/model/create-metric-group-details.js.map +1 -0
- package/lib/model/create-span-filter-details.d.ts +37 -0
- package/lib/model/create-span-filter-details.js +54 -0
- package/lib/model/create-span-filter-details.js.map +1 -0
- package/lib/model/dimension.d.ts +31 -0
- package/lib/model/dimension.js +29 -0
- package/lib/model/dimension.js.map +1 -0
- package/lib/model/index.d.ts +56 -0
- package/lib/model/index.js +79 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/metric-group-summary.d.ts +44 -0
- package/lib/model/metric-group-summary.js +74 -0
- package/lib/model/metric-group-summary.js.map +1 -0
- package/lib/model/metric-group.d.ts +44 -0
- package/lib/model/metric-group.js +72 -0
- package/lib/model/metric-group.js.map +1 -0
- package/lib/model/metric.d.ts +38 -0
- package/lib/model/metric.js +29 -0
- package/lib/model/metric.js.map +1 -0
- package/lib/model/sort-orders.d.ts +23 -0
- package/lib/model/sort-orders.js +34 -0
- package/lib/model/sort-orders.js.map +1 -0
- package/lib/model/span-filter-summary.d.ts +37 -0
- package/lib/model/span-filter-summary.js +52 -0
- package/lib/model/span-filter-summary.js.map +1 -0
- package/lib/model/span-filter.d.ts +37 -0
- package/lib/model/span-filter.js +50 -0
- package/lib/model/span-filter.js.map +1 -0
- package/lib/model/update-apdex-rules-details.d.ts +30 -0
- package/lib/model/update-apdex-rules-details.js +66 -0
- package/lib/model/update-apdex-rules-details.js.map +1 -0
- package/lib/model/update-config-details.d.ts +41 -0
- package/lib/model/update-config-details.js +73 -0
- package/lib/model/update-config-details.js.map +1 -0
- package/lib/model/update-metric-group-details.d.ts +44 -0
- package/lib/model/update-metric-group-details.js +76 -0
- package/lib/model/update-metric-group-details.js.map +1 -0
- package/lib/model/update-span-filter-details.d.ts +37 -0
- package/lib/model/update-span-filter-details.js +54 -0
- package/lib/model/update-span-filter-details.js.map +1 -0
- package/lib/request/create-config-request.d.ts +49 -0
- package/lib/request/create-config-request.js +15 -0
- package/lib/request/create-config-request.js.map +1 -0
- package/lib/request/delete-config-request.d.ts +42 -0
- package/lib/request/delete-config-request.js +15 -0
- package/lib/request/delete-config-request.js.map +1 -0
- package/lib/request/get-config-request.d.ts +33 -0
- package/lib/request/get-config-request.js +15 -0
- package/lib/request/get-config-request.js.map +1 -0
- package/lib/request/index.d.ts +22 -0
- package/lib/request/index.js +37 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-configs-request.d.ts +72 -0
- package/lib/request/list-configs-request.js +25 -0
- package/lib/request/list-configs-request.js.map +1 -0
- package/lib/request/update-config-request.d.ts +53 -0
- package/lib/request/update-config-request.js +15 -0
- package/lib/request/update-config-request.js.map +1 -0
- package/lib/response/create-config-response.d.ts +30 -0
- package/lib/response/create-config-response.js +15 -0
- package/lib/response/create-config-response.js.map +1 -0
- package/lib/response/delete-config-response.d.ts +20 -0
- package/lib/response/delete-config-response.js +15 -0
- package/lib/response/delete-config-response.js.map +1 -0
- package/lib/response/get-config-response.d.ts +30 -0
- package/lib/response/get-config-response.js +15 -0
- package/lib/response/get-config-response.js.map +1 -0
- package/lib/response/index.d.ts +22 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-configs-response.d.ts +32 -0
- package/lib/response/list-configs-response.js +15 -0
- package/lib/response/list-configs-response.js.map +1 -0
- package/lib/response/update-config-response.d.ts +30 -0
- package/lib/response/update-config-response.js +15 -0
- package/lib/response/update-config-response.js.map +1 -0
- package/package.json +29 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apm Configuration API
|
|
3
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
4
|
+
* OpenAPI spec version: 20210201
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as requests from "./lib/request";
|
|
14
|
+
import * as models from "./lib/model";
|
|
15
|
+
import * as responses from "./lib/response";
|
|
16
|
+
import * as client from "./lib/client";
|
|
17
|
+
export { models };
|
|
18
|
+
export { requests };
|
|
19
|
+
export { responses };
|
|
20
|
+
export import ConfigClient = client.ConfigClient;
|
package/index.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Apm Configuration API
|
|
4
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
5
|
+
* OpenAPI spec version: 20210201
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.ConfigClient = exports.responses = exports.requests = exports.models = void 0;
|
|
35
|
+
const requests = __importStar(require("./lib/request"));
|
|
36
|
+
exports.requests = requests;
|
|
37
|
+
const models = __importStar(require("./lib/model"));
|
|
38
|
+
exports.models = models;
|
|
39
|
+
const responses = __importStar(require("./lib/response"));
|
|
40
|
+
exports.responses = responses;
|
|
41
|
+
const client = __importStar(require("./lib/client"));
|
|
42
|
+
exports.ConfigClient = client.ConfigClient;
|
|
43
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/apmconfig/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,wDAA0C;AAMjC,4BAAQ;AALjB,oDAAsC;AAI7B,wBAAM;AAHf,0DAA4C;AAKnC,8BAAS;AAJlB,qDAAuC;AAKzB,QAAA,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC"}
|
package/lib/client.d.ts
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apm Configuration API
|
|
3
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
4
|
+
* OpenAPI spec version: 20210201
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import common = require("oci-common");
|
|
14
|
+
import * as requests from "./request";
|
|
15
|
+
import * as responses from "./response";
|
|
16
|
+
export declare enum ConfigApiKeys {
|
|
17
|
+
}
|
|
18
|
+
export declare class ConfigClient {
|
|
19
|
+
protected static serviceEndpointTemplate: string;
|
|
20
|
+
protected "_endpoint": string;
|
|
21
|
+
protected "_defaultHeaders": any;
|
|
22
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
23
|
+
protected _circuitBreaker: null;
|
|
24
|
+
protected _httpClient: common.HttpClient;
|
|
25
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
26
|
+
/**
|
|
27
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
28
|
+
*/
|
|
29
|
+
get endpoint(): string;
|
|
30
|
+
/**
|
|
31
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
32
|
+
* @param endpoint The endpoint of the service.
|
|
33
|
+
*/
|
|
34
|
+
set endpoint(endpoint: string);
|
|
35
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
36
|
+
/**
|
|
37
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
38
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
39
|
+
* @param region The region of the service.
|
|
40
|
+
*/
|
|
41
|
+
set region(region: common.Region);
|
|
42
|
+
/**
|
|
43
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
44
|
+
*
|
|
45
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
46
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
47
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
48
|
+
* @param regionId The public region ID.
|
|
49
|
+
*/
|
|
50
|
+
set regionId(regionId: string);
|
|
51
|
+
/**
|
|
52
|
+
* Creates a new Configuration item.
|
|
53
|
+
* @param CreateConfigRequest
|
|
54
|
+
* @return CreateConfigResponse
|
|
55
|
+
* @throws OciError when an error occurs
|
|
56
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.1/apmconfig/CreateConfig.ts.html |here} to see how to use CreateConfig API.
|
|
57
|
+
*/
|
|
58
|
+
createConfig(createConfigRequest: requests.CreateConfigRequest): Promise<responses.CreateConfigResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Deletes the specified configuration item
|
|
61
|
+
* @param DeleteConfigRequest
|
|
62
|
+
* @return DeleteConfigResponse
|
|
63
|
+
* @throws OciError when an error occurs
|
|
64
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.1/apmconfig/DeleteConfig.ts.html |here} to see how to use DeleteConfig API.
|
|
65
|
+
*/
|
|
66
|
+
deleteConfig(deleteConfigRequest: requests.DeleteConfigRequest): Promise<responses.DeleteConfigResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* Get the configuration of the item identified by the OCID.
|
|
69
|
+
* @param GetConfigRequest
|
|
70
|
+
* @return GetConfigResponse
|
|
71
|
+
* @throws OciError when an error occurs
|
|
72
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.1/apmconfig/GetConfig.ts.html |here} to see how to use GetConfig API.
|
|
73
|
+
*/
|
|
74
|
+
getConfig(getConfigRequest: requests.GetConfigRequest): Promise<responses.GetConfigResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* Returns all configured items optionally filtered by configuration type
|
|
77
|
+
* @param ListConfigsRequest
|
|
78
|
+
* @return ListConfigsResponse
|
|
79
|
+
* @throws OciError when an error occurs
|
|
80
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.1/apmconfig/ListConfigs.ts.html |here} to see how to use ListConfigs API.
|
|
81
|
+
*/
|
|
82
|
+
listConfigs(listConfigsRequest: requests.ListConfigsRequest): Promise<responses.ListConfigsResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* Updates the item.
|
|
85
|
+
* @param UpdateConfigRequest
|
|
86
|
+
* @return UpdateConfigResponse
|
|
87
|
+
* @throws OciError when an error occurs
|
|
88
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.1/apmconfig/UpdateConfig.ts.html |here} to see how to use UpdateConfig API.
|
|
89
|
+
*/
|
|
90
|
+
updateConfig(updateConfigRequest: requests.UpdateConfigRequest): Promise<responses.UpdateConfigResponse>;
|
|
91
|
+
}
|
package/lib/client.js
ADDED
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Apm Configuration API
|
|
4
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
5
|
+
* OpenAPI spec version: 20210201
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
34
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
35
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
36
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
37
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
38
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
39
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
exports.ConfigClient = exports.ConfigApiKeys = void 0;
|
|
44
|
+
const common = require("oci-common");
|
|
45
|
+
const model = __importStar(require("./model"));
|
|
46
|
+
const oci_common_1 = require("oci-common");
|
|
47
|
+
// ===============================================
|
|
48
|
+
// This file is autogenerated - Please do not edit
|
|
49
|
+
// ===============================================
|
|
50
|
+
var ConfigApiKeys;
|
|
51
|
+
(function (ConfigApiKeys) {
|
|
52
|
+
})(ConfigApiKeys = exports.ConfigApiKeys || (exports.ConfigApiKeys = {}));
|
|
53
|
+
class ConfigClient {
|
|
54
|
+
constructor(params, clientConfiguration) {
|
|
55
|
+
this["_endpoint"] = "";
|
|
56
|
+
this["_defaultHeaders"] = {};
|
|
57
|
+
this._circuitBreaker = null;
|
|
58
|
+
const requestSigner = params.authenticationDetailsProvider
|
|
59
|
+
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
60
|
+
: null;
|
|
61
|
+
if (clientConfiguration) {
|
|
62
|
+
this._clientConfiguration = clientConfiguration;
|
|
63
|
+
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
64
|
+
? clientConfiguration.circuitBreaker.circuit
|
|
65
|
+
: null;
|
|
66
|
+
}
|
|
67
|
+
this._httpClient =
|
|
68
|
+
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
69
|
+
if (params.authenticationDetailsProvider &&
|
|
70
|
+
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
71
|
+
const provider = params.authenticationDetailsProvider;
|
|
72
|
+
if (provider.getRegion()) {
|
|
73
|
+
this.region = provider.getRegion();
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
79
|
+
*/
|
|
80
|
+
get endpoint() {
|
|
81
|
+
return this._endpoint;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
85
|
+
* @param endpoint The endpoint of the service.
|
|
86
|
+
*/
|
|
87
|
+
set endpoint(endpoint) {
|
|
88
|
+
this._endpoint = endpoint;
|
|
89
|
+
this._endpoint = this._endpoint + "/20210201";
|
|
90
|
+
if (this.logger)
|
|
91
|
+
this.logger.info(`ConfigClient endpoint set to ${this._endpoint}`);
|
|
92
|
+
}
|
|
93
|
+
get logger() {
|
|
94
|
+
return common.LOG.logger;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
98
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
99
|
+
* @param region The region of the service.
|
|
100
|
+
*/
|
|
101
|
+
set region(region) {
|
|
102
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ConfigClient.serviceEndpointTemplate, region);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
106
|
+
*
|
|
107
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
108
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
109
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
110
|
+
* @param regionId The public region ID.
|
|
111
|
+
*/
|
|
112
|
+
set regionId(regionId) {
|
|
113
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ConfigClient.serviceEndpointTemplate, regionId);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Creates a new Configuration item.
|
|
117
|
+
* @param CreateConfigRequest
|
|
118
|
+
* @return CreateConfigResponse
|
|
119
|
+
* @throws OciError when an error occurs
|
|
120
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.1/apmconfig/CreateConfig.ts.html |here} to see how to use CreateConfig API.
|
|
121
|
+
*/
|
|
122
|
+
createConfig(createConfigRequest) {
|
|
123
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
124
|
+
if (this.logger)
|
|
125
|
+
this.logger.debug("Calling operation ConfigClient#createConfig.");
|
|
126
|
+
const pathParams = {};
|
|
127
|
+
const queryParams = {
|
|
128
|
+
"apmDomainId": createConfigRequest.apmDomainId
|
|
129
|
+
};
|
|
130
|
+
let headerParams = {
|
|
131
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
132
|
+
"opc-retry-token": createConfigRequest.opcRetryToken,
|
|
133
|
+
"opc-request-id": createConfigRequest.opcRequestId,
|
|
134
|
+
"opc-dry-run": createConfigRequest.opcDryRun
|
|
135
|
+
};
|
|
136
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createConfigRequest.retryConfiguration);
|
|
137
|
+
if (this.logger)
|
|
138
|
+
retrier.logger = this.logger;
|
|
139
|
+
const request = yield oci_common_1.composeRequest({
|
|
140
|
+
baseEndpoint: this._endpoint,
|
|
141
|
+
defaultHeaders: this._defaultHeaders,
|
|
142
|
+
path: "/configs",
|
|
143
|
+
method: "POST",
|
|
144
|
+
bodyContent: common.ObjectSerializer.serialize(createConfigRequest.createConfigDetails, "CreateConfigDetails", model.CreateConfigDetails.getJsonObj),
|
|
145
|
+
pathParams: pathParams,
|
|
146
|
+
headerParams: headerParams,
|
|
147
|
+
queryParams: queryParams
|
|
148
|
+
});
|
|
149
|
+
try {
|
|
150
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
151
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
152
|
+
responseObject: {},
|
|
153
|
+
body: yield response.json(),
|
|
154
|
+
bodyKey: "config",
|
|
155
|
+
bodyModel: model.Config,
|
|
156
|
+
type: "model.Config",
|
|
157
|
+
responseHeaders: [
|
|
158
|
+
{
|
|
159
|
+
value: response.headers.get("etag"),
|
|
160
|
+
key: "etag",
|
|
161
|
+
dataType: "string"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
value: response.headers.get("opc-request-id"),
|
|
165
|
+
key: "opcRequestId",
|
|
166
|
+
dataType: "string"
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
});
|
|
170
|
+
return sdkResponse;
|
|
171
|
+
}
|
|
172
|
+
catch (err) {
|
|
173
|
+
throw err;
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Deletes the specified configuration item
|
|
179
|
+
* @param DeleteConfigRequest
|
|
180
|
+
* @return DeleteConfigResponse
|
|
181
|
+
* @throws OciError when an error occurs
|
|
182
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.1/apmconfig/DeleteConfig.ts.html |here} to see how to use DeleteConfig API.
|
|
183
|
+
*/
|
|
184
|
+
deleteConfig(deleteConfigRequest) {
|
|
185
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
186
|
+
if (this.logger)
|
|
187
|
+
this.logger.debug("Calling operation ConfigClient#deleteConfig.");
|
|
188
|
+
const pathParams = {
|
|
189
|
+
"{configId}": deleteConfigRequest.configId
|
|
190
|
+
};
|
|
191
|
+
const queryParams = {
|
|
192
|
+
"apmDomainId": deleteConfigRequest.apmDomainId
|
|
193
|
+
};
|
|
194
|
+
let headerParams = {
|
|
195
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
196
|
+
"if-match": deleteConfigRequest.ifMatch,
|
|
197
|
+
"opc-request-id": deleteConfigRequest.opcRequestId
|
|
198
|
+
};
|
|
199
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deleteConfigRequest.retryConfiguration);
|
|
200
|
+
if (this.logger)
|
|
201
|
+
retrier.logger = this.logger;
|
|
202
|
+
const request = yield oci_common_1.composeRequest({
|
|
203
|
+
baseEndpoint: this._endpoint,
|
|
204
|
+
defaultHeaders: this._defaultHeaders,
|
|
205
|
+
path: "/configs/{configId}",
|
|
206
|
+
method: "DELETE",
|
|
207
|
+
pathParams: pathParams,
|
|
208
|
+
headerParams: headerParams,
|
|
209
|
+
queryParams: queryParams
|
|
210
|
+
});
|
|
211
|
+
try {
|
|
212
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
213
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
214
|
+
responseObject: {},
|
|
215
|
+
responseHeaders: [
|
|
216
|
+
{
|
|
217
|
+
value: response.headers.get("opc-request-id"),
|
|
218
|
+
key: "opcRequestId",
|
|
219
|
+
dataType: "string"
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
});
|
|
223
|
+
return sdkResponse;
|
|
224
|
+
}
|
|
225
|
+
catch (err) {
|
|
226
|
+
throw err;
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Get the configuration of the item identified by the OCID.
|
|
232
|
+
* @param GetConfigRequest
|
|
233
|
+
* @return GetConfigResponse
|
|
234
|
+
* @throws OciError when an error occurs
|
|
235
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.1/apmconfig/GetConfig.ts.html |here} to see how to use GetConfig API.
|
|
236
|
+
*/
|
|
237
|
+
getConfig(getConfigRequest) {
|
|
238
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
239
|
+
if (this.logger)
|
|
240
|
+
this.logger.debug("Calling operation ConfigClient#getConfig.");
|
|
241
|
+
const pathParams = {
|
|
242
|
+
"{configId}": getConfigRequest.configId
|
|
243
|
+
};
|
|
244
|
+
const queryParams = {
|
|
245
|
+
"apmDomainId": getConfigRequest.apmDomainId
|
|
246
|
+
};
|
|
247
|
+
let headerParams = {
|
|
248
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
249
|
+
"opc-request-id": getConfigRequest.opcRequestId
|
|
250
|
+
};
|
|
251
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getConfigRequest.retryConfiguration);
|
|
252
|
+
if (this.logger)
|
|
253
|
+
retrier.logger = this.logger;
|
|
254
|
+
const request = yield oci_common_1.composeRequest({
|
|
255
|
+
baseEndpoint: this._endpoint,
|
|
256
|
+
defaultHeaders: this._defaultHeaders,
|
|
257
|
+
path: "/configs/{configId}",
|
|
258
|
+
method: "GET",
|
|
259
|
+
pathParams: pathParams,
|
|
260
|
+
headerParams: headerParams,
|
|
261
|
+
queryParams: queryParams
|
|
262
|
+
});
|
|
263
|
+
try {
|
|
264
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
265
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
266
|
+
responseObject: {},
|
|
267
|
+
body: yield response.json(),
|
|
268
|
+
bodyKey: "config",
|
|
269
|
+
bodyModel: model.Config,
|
|
270
|
+
type: "model.Config",
|
|
271
|
+
responseHeaders: [
|
|
272
|
+
{
|
|
273
|
+
value: response.headers.get("etag"),
|
|
274
|
+
key: "etag",
|
|
275
|
+
dataType: "string"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
value: response.headers.get("opc-request-id"),
|
|
279
|
+
key: "opcRequestId",
|
|
280
|
+
dataType: "string"
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
});
|
|
284
|
+
return sdkResponse;
|
|
285
|
+
}
|
|
286
|
+
catch (err) {
|
|
287
|
+
throw err;
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Returns all configured items optionally filtered by configuration type
|
|
293
|
+
* @param ListConfigsRequest
|
|
294
|
+
* @return ListConfigsResponse
|
|
295
|
+
* @throws OciError when an error occurs
|
|
296
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.1/apmconfig/ListConfigs.ts.html |here} to see how to use ListConfigs API.
|
|
297
|
+
*/
|
|
298
|
+
listConfigs(listConfigsRequest) {
|
|
299
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
300
|
+
if (this.logger)
|
|
301
|
+
this.logger.debug("Calling operation ConfigClient#listConfigs.");
|
|
302
|
+
const pathParams = {};
|
|
303
|
+
const queryParams = {
|
|
304
|
+
"apmDomainId": listConfigsRequest.apmDomainId,
|
|
305
|
+
"configType": listConfigsRequest.configType,
|
|
306
|
+
"displayName": listConfigsRequest.displayName,
|
|
307
|
+
"limit": listConfigsRequest.limit,
|
|
308
|
+
"page": listConfigsRequest.page,
|
|
309
|
+
"sortOrder": listConfigsRequest.sortOrder,
|
|
310
|
+
"sortBy": listConfigsRequest.sortBy
|
|
311
|
+
};
|
|
312
|
+
let headerParams = {
|
|
313
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
314
|
+
"opc-request-id": listConfigsRequest.opcRequestId
|
|
315
|
+
};
|
|
316
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listConfigsRequest.retryConfiguration);
|
|
317
|
+
if (this.logger)
|
|
318
|
+
retrier.logger = this.logger;
|
|
319
|
+
const request = yield oci_common_1.composeRequest({
|
|
320
|
+
baseEndpoint: this._endpoint,
|
|
321
|
+
defaultHeaders: this._defaultHeaders,
|
|
322
|
+
path: "/configs",
|
|
323
|
+
method: "GET",
|
|
324
|
+
pathParams: pathParams,
|
|
325
|
+
headerParams: headerParams,
|
|
326
|
+
queryParams: queryParams
|
|
327
|
+
});
|
|
328
|
+
try {
|
|
329
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
330
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
331
|
+
responseObject: {},
|
|
332
|
+
body: yield response.json(),
|
|
333
|
+
bodyKey: "configCollection",
|
|
334
|
+
bodyModel: model.ConfigCollection,
|
|
335
|
+
type: "model.ConfigCollection",
|
|
336
|
+
responseHeaders: [
|
|
337
|
+
{
|
|
338
|
+
value: response.headers.get("opc-request-id"),
|
|
339
|
+
key: "opcRequestId",
|
|
340
|
+
dataType: "string"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
value: response.headers.get("opc-next-page"),
|
|
344
|
+
key: "opcNextPage",
|
|
345
|
+
dataType: "string"
|
|
346
|
+
}
|
|
347
|
+
]
|
|
348
|
+
});
|
|
349
|
+
return sdkResponse;
|
|
350
|
+
}
|
|
351
|
+
catch (err) {
|
|
352
|
+
throw err;
|
|
353
|
+
}
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Updates the item.
|
|
358
|
+
* @param UpdateConfigRequest
|
|
359
|
+
* @return UpdateConfigResponse
|
|
360
|
+
* @throws OciError when an error occurs
|
|
361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.1/apmconfig/UpdateConfig.ts.html |here} to see how to use UpdateConfig API.
|
|
362
|
+
*/
|
|
363
|
+
updateConfig(updateConfigRequest) {
|
|
364
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
365
|
+
if (this.logger)
|
|
366
|
+
this.logger.debug("Calling operation ConfigClient#updateConfig.");
|
|
367
|
+
const pathParams = {
|
|
368
|
+
"{configId}": updateConfigRequest.configId
|
|
369
|
+
};
|
|
370
|
+
const queryParams = {
|
|
371
|
+
"apmDomainId": updateConfigRequest.apmDomainId
|
|
372
|
+
};
|
|
373
|
+
let headerParams = {
|
|
374
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
375
|
+
"if-match": updateConfigRequest.ifMatch,
|
|
376
|
+
"opc-request-id": updateConfigRequest.opcRequestId,
|
|
377
|
+
"opc-dry-run": updateConfigRequest.opcDryRun
|
|
378
|
+
};
|
|
379
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateConfigRequest.retryConfiguration);
|
|
380
|
+
if (this.logger)
|
|
381
|
+
retrier.logger = this.logger;
|
|
382
|
+
const request = yield oci_common_1.composeRequest({
|
|
383
|
+
baseEndpoint: this._endpoint,
|
|
384
|
+
defaultHeaders: this._defaultHeaders,
|
|
385
|
+
path: "/configs/{configId}",
|
|
386
|
+
method: "PUT",
|
|
387
|
+
bodyContent: common.ObjectSerializer.serialize(updateConfigRequest.updateConfigDetails, "UpdateConfigDetails", model.UpdateConfigDetails.getJsonObj),
|
|
388
|
+
pathParams: pathParams,
|
|
389
|
+
headerParams: headerParams,
|
|
390
|
+
queryParams: queryParams
|
|
391
|
+
});
|
|
392
|
+
try {
|
|
393
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
394
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
395
|
+
responseObject: {},
|
|
396
|
+
body: yield response.json(),
|
|
397
|
+
bodyKey: "config",
|
|
398
|
+
bodyModel: model.Config,
|
|
399
|
+
type: "model.Config",
|
|
400
|
+
responseHeaders: [
|
|
401
|
+
{
|
|
402
|
+
value: response.headers.get("etag"),
|
|
403
|
+
key: "etag",
|
|
404
|
+
dataType: "string"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
value: response.headers.get("opc-request-id"),
|
|
408
|
+
key: "opcRequestId",
|
|
409
|
+
dataType: "string"
|
|
410
|
+
}
|
|
411
|
+
]
|
|
412
|
+
});
|
|
413
|
+
return sdkResponse;
|
|
414
|
+
}
|
|
415
|
+
catch (err) {
|
|
416
|
+
throw err;
|
|
417
|
+
}
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
exports.ConfigClient = ConfigClient;
|
|
422
|
+
ConfigClient.serviceEndpointTemplate = "https://apm-config.{region}.oci.{secondLevelDomain}";
|
|
423
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../lib/apmconfig/lib/client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAsC;AAEtC,+CAAiC;AAEjC,2CAA6E;AAE7E,kDAAkD;AAClD,kDAAkD;AAClD,kDAAkD;AAElD,IAAY,aAAgB;AAA5B,WAAY,aAAa;AAAE,CAAC,EAAhB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAAG;AAE5B,MAAa,YAAY;IASvB,YAAY,MAAyB,EAAE,mBAAgD;QAP7E,iBAAW,GAAW,EAAE,CAAC;QACzB,uBAAiB,GAAQ,EAAE,CAAC;QAE5B,oBAAe,GAAG,IAAI,CAAC;QAK/B,MAAM,aAAa,GAAG,MAAM,CAAC,6BAA6B;YACxD,CAAC,CAAC,IAAI,MAAM,CAAC,oBAAoB,CAAC,MAAM,CAAC,6BAA6B,CAAC;YACvE,CAAC,CAAC,IAAI,CAAC;QACT,IAAI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EAAE;wBACf;4BACE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;4BACnC,GAAG,EAAE,MAAM;4BACX,QAAQ,EAAE,QAAQ;yBACnB;wBACD;4BACE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;4BAC7C,GAAG,EAAE,cAAc;4BACnB,QAAQ,EAAE,QAAQ;yBACnB;qBACF;iBACF,CAAC,CAAC;gBAEH,OAAO,WAAW,CAAC;aACpB;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,GAAG,CAAC;aACX;QACH,CAAC;KAAA;;AAjaH,oCAkaC;AAjakB,oCAAuB,GAAG,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Apm Configuration API
|
|
3
|
+
* An API for the APM Configuration service. Use this API to query and set APM configuration.
|
|
4
|
+
* OpenAPI spec version: 20210201
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* The set of Apdex rules to be used in Apdex computation.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface ApdexRulesSummary extends model.ConfigSummary {
|
|
19
|
+
"rules"?: Array<model.Apdex>;
|
|
20
|
+
/**
|
|
21
|
+
* The name by which this rule set can be displayed to the user.
|
|
22
|
+
*/
|
|
23
|
+
"displayName"?: string;
|
|
24
|
+
"configType": string;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace ApdexRulesSummary {
|
|
27
|
+
function getJsonObj(obj: ApdexRulesSummary, isParentJsonObj?: boolean): object;
|
|
28
|
+
const configType = "APDEX";
|
|
29
|
+
function getDeserializedJsonObj(obj: ApdexRulesSummary, isParentJsonObj?: boolean): object;
|
|
30
|
+
}
|