oci-opensearch 2.104.0 → 2.105.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/index.d.ts +3 -0
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/lib/client.d.ts +128 -0
- package/lib/client.js +482 -1
- package/lib/client.js.map +1 -1
- package/lib/model/create-opensearch-cluster-pipeline-details.d.ts +25 -25
- package/lib/model/create-opensearch-cluster-pipeline-details.js +34 -2
- package/lib/model/create-opensearch-cluster-pipeline-details.js.map +1 -1
- package/lib/model/{pipeline-validation-error-details.d.ts → force-patch-pipeline-details.d.ts} +13 -6
- package/lib/model/{pipeline-validation-error-details.js → force-patch-pipeline-details.js} +7 -7
- package/lib/model/force-patch-pipeline-details.js.map +1 -0
- package/lib/model/index.d.ts +6 -6
- package/lib/model/index.js +8 -8
- package/lib/model/index.js.map +1 -1
- package/lib/model/opensearch-cluster-pipeline-collection.d.ts +1 -1
- package/lib/model/opensearch-cluster-pipeline-summary.d.ts +26 -13
- package/lib/model/opensearch-cluster-pipeline-summary.js.map +1 -1
- package/lib/model/opensearch-cluster-pipeline.d.ts +40 -12
- package/lib/model/opensearch-cluster-pipeline.js +49 -2
- package/lib/model/opensearch-cluster-pipeline.js.map +1 -1
- package/lib/model/opensearch-pipeline-reverse-connection-endpoint.d.ts +30 -0
- package/lib/model/opensearch-pipeline-reverse-connection-endpoint.js +29 -0
- package/lib/model/opensearch-pipeline-reverse-connection-endpoint.js.map +1 -0
- package/lib/model/update-opensearch-cluster-pipeline-details.d.ts +55 -11
- package/lib/model/update-opensearch-cluster-pipeline-details.js +34 -2
- package/lib/model/update-opensearch-cluster-pipeline-details.js.map +1 -1
- package/lib/model/update-pipeline-status-details.d.ts +29 -0
- package/lib/model/{validate-opensearch-pipeline-details.js → update-pipeline-status-details.js} +7 -7
- package/lib/model/update-pipeline-status-details.js.map +1 -0
- package/lib/opensearchclusterpipeline-waiter.d.ts +29 -0
- package/lib/opensearchclusterpipeline-waiter.js +65 -0
- package/lib/opensearchclusterpipeline-waiter.js.map +1 -0
- package/lib/request/create-opensearch-cluster-pipeline-request.d.ts +42 -0
- package/lib/request/create-opensearch-cluster-pipeline-request.js +15 -0
- package/lib/request/create-opensearch-cluster-pipeline-request.js.map +1 -0
- package/lib/request/delete-opensearch-cluster-pipeline-request.d.ts +35 -0
- package/lib/request/delete-opensearch-cluster-pipeline-request.js +15 -0
- package/lib/request/delete-opensearch-cluster-pipeline-request.js.map +1 -0
- package/lib/request/get-opensearch-cluster-pipeline-request.d.ts +26 -0
- package/lib/request/get-opensearch-cluster-pipeline-request.js +15 -0
- package/lib/request/get-opensearch-cluster-pipeline-request.js.map +1 -0
- package/lib/request/index.d.ts +10 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-opensearch-cluster-pipelines-request.d.ts +66 -0
- package/lib/request/list-opensearch-cluster-pipelines-request.js +24 -0
- package/lib/request/list-opensearch-cluster-pipelines-request.js.map +1 -0
- package/lib/request/update-opensearch-cluster-pipeline-request.d.ts +46 -0
- package/lib/request/update-opensearch-cluster-pipeline-request.js +15 -0
- package/lib/request/update-opensearch-cluster-pipeline-request.js.map +1 -0
- package/lib/response/create-opensearch-cluster-pipeline-response.d.ts +25 -0
- package/lib/response/create-opensearch-cluster-pipeline-response.js +15 -0
- package/lib/response/create-opensearch-cluster-pipeline-response.js.map +1 -0
- package/lib/response/delete-opensearch-cluster-pipeline-response.d.ts +25 -0
- package/lib/response/delete-opensearch-cluster-pipeline-response.js +15 -0
- package/lib/response/delete-opensearch-cluster-pipeline-response.js.map +1 -0
- package/lib/response/get-opensearch-cluster-pipeline-response.d.ts +30 -0
- package/lib/response/get-opensearch-cluster-pipeline-response.js +15 -0
- package/lib/response/get-opensearch-cluster-pipeline-response.js.map +1 -0
- package/lib/response/index.d.ts +10 -0
- package/lib/response/list-opensearch-cluster-pipelines-response.d.ts +32 -0
- package/lib/response/list-opensearch-cluster-pipelines-response.js +15 -0
- package/lib/response/list-opensearch-cluster-pipelines-response.js.map +1 -0
- package/lib/response/update-opensearch-cluster-pipeline-response.d.ts +25 -0
- package/lib/response/update-opensearch-cluster-pipeline-response.js +15 -0
- package/lib/response/update-opensearch-cluster-pipeline-response.js.map +1 -0
- package/package.json +3 -3
- package/lib/model/opensearch-pipeline-validation-response.d.ts +0 -30
- package/lib/model/opensearch-pipeline-validation-response.js +0 -61
- package/lib/model/opensearch-pipeline-validation-response.js.map +0 -1
- package/lib/model/pipeline-validation-error-details.js.map +0 -1
- package/lib/model/validate-opensearch-pipeline-details.d.ts +0 -30
- package/lib/model/validate-opensearch-pipeline-details.js.map +0 -1
|
@@ -21,32 +21,49 @@ export interface OpensearchClusterPipelineSummary {
|
|
|
21
21
|
/**
|
|
22
22
|
* The name of the cluster pipeline. Avoid entering confidential information.
|
|
23
23
|
*/
|
|
24
|
-
"displayName"
|
|
24
|
+
"displayName": string;
|
|
25
25
|
/**
|
|
26
26
|
* The OCID of the compartment where the cluster pipeline is located.
|
|
27
27
|
*/
|
|
28
28
|
"compartmentId": string;
|
|
29
29
|
/**
|
|
30
|
-
* The
|
|
30
|
+
* The OCID of the pipeline's VCN.
|
|
31
31
|
*/
|
|
32
|
-
"
|
|
32
|
+
"vcnId"?: string;
|
|
33
33
|
/**
|
|
34
|
-
* The
|
|
34
|
+
* The OCID of the pipeline's subnet.
|
|
35
35
|
*/
|
|
36
|
-
"
|
|
36
|
+
"subnetId"?: string;
|
|
37
37
|
/**
|
|
38
|
-
* The
|
|
38
|
+
* The number of OCPUs configured for each pipeline node. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
39
39
|
*/
|
|
40
|
-
"
|
|
40
|
+
"ocpuCount": number;
|
|
41
41
|
/**
|
|
42
|
-
* The
|
|
42
|
+
* The amount of memory in GB, for each pipeline node. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
43
43
|
*/
|
|
44
|
-
"
|
|
44
|
+
"memoryGB": number;
|
|
45
|
+
/**
|
|
46
|
+
* The number of nodes configured for the pipeline. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
47
|
+
*/
|
|
48
|
+
"nodeCount": number;
|
|
45
49
|
/**
|
|
46
50
|
* The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \\.
|
|
47
51
|
*
|
|
48
52
|
*/
|
|
49
53
|
"pipelineConfigurationBody": string;
|
|
54
|
+
/**
|
|
55
|
+
* The data prepper config in YAML format. The command accepts the data prepper config as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \\.
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
"dataPrepperConfigurationBody": string;
|
|
59
|
+
/**
|
|
60
|
+
* The current state of the cluster pipeline.
|
|
61
|
+
*/
|
|
62
|
+
"lifecycleState": string;
|
|
63
|
+
/**
|
|
64
|
+
* The current state of the pipeline.
|
|
65
|
+
*/
|
|
66
|
+
"pipelineMode": string;
|
|
50
67
|
/**
|
|
51
68
|
* The date and time the cluster pipeline was created. Format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
52
69
|
*/
|
|
@@ -55,10 +72,6 @@ export interface OpensearchClusterPipelineSummary {
|
|
|
55
72
|
* The date and time the cluster pipeline was updated. Format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
56
73
|
*/
|
|
57
74
|
"timeUpdated"?: Date;
|
|
58
|
-
/**
|
|
59
|
-
* The current state of the cluster backup.
|
|
60
|
-
*/
|
|
61
|
-
"lifecycleState": string;
|
|
62
75
|
/**
|
|
63
76
|
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
64
77
|
* Example: {@code {\"bar-key\": \"value\"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opensearch-cluster-pipeline-summary.js","sourceRoot":"","sources":["../../../../../lib/opensearch/lib/model/opensearch-cluster-pipeline-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;
|
|
1
|
+
{"version":3,"file":"opensearch-cluster-pipeline-summary.js","sourceRoot":"","sources":["../../../../../lib/opensearch/lib/model/opensearch-cluster-pipeline-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuFH,IAAiB,gCAAgC,CAWhD;AAXD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CAAC,GAAqC;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqC;QAC1E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAWhD"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
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
12
|
*/
|
|
13
|
+
import * as model from "../model";
|
|
13
14
|
/**
|
|
14
15
|
* An OpenSearch cluster Pipeline resource. An cluster is set of instances that provide OpenSearch functionality in OCI Search Service with OpenSearch.
|
|
15
16
|
* For more information, see [Cluster Pipelines](https://docs.oracle.com/iaas/Content/search-opensearch/Concepts/ociopensearchpipeline.htm).
|
|
@@ -41,30 +42,31 @@ export interface OpensearchClusterPipeline {
|
|
|
41
42
|
*/
|
|
42
43
|
"vcnCompartmentId": string;
|
|
43
44
|
/**
|
|
44
|
-
* The OCID for the compartment where the
|
|
45
|
+
* The OCID for the compartment where the pipeline's subnet is located.
|
|
45
46
|
*/
|
|
46
47
|
"subnetCompartmentId": string;
|
|
47
48
|
/**
|
|
48
|
-
* The
|
|
49
|
+
* The number of OCPUs configured for each pipeline node. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
49
50
|
*/
|
|
50
|
-
"
|
|
51
|
+
"ocpuCount": number;
|
|
51
52
|
/**
|
|
52
|
-
* The
|
|
53
|
+
* The amount of memory in GB, for each pipeline node. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
53
54
|
*/
|
|
54
|
-
"
|
|
55
|
+
"memoryGB": number;
|
|
55
56
|
/**
|
|
56
|
-
* The
|
|
57
|
+
* The number of nodes configured for the pipeline. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
57
58
|
*/
|
|
58
|
-
"
|
|
59
|
-
/**
|
|
60
|
-
* The minimum amount of memory in GB, for the pipeline. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
61
|
-
*/
|
|
62
|
-
"minMemoryGB": number;
|
|
59
|
+
"nodeCount": number;
|
|
63
60
|
/**
|
|
64
61
|
* The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \\.
|
|
65
62
|
*
|
|
66
63
|
*/
|
|
67
64
|
"pipelineConfigurationBody": string;
|
|
65
|
+
/**
|
|
66
|
+
* The data prepper config in YAML format. The command accepts the data prepper config as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \\.
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
"dataPrepperConfigurationBody": string;
|
|
68
70
|
/**
|
|
69
71
|
* The fully qualified domain name (FQDN) for the cluster's API endpoint.
|
|
70
72
|
*/
|
|
@@ -77,6 +79,10 @@ export interface OpensearchClusterPipeline {
|
|
|
77
79
|
* The current state of the cluster backup.
|
|
78
80
|
*/
|
|
79
81
|
"lifecycleState": OpensearchClusterPipeline.LifecycleState;
|
|
82
|
+
/**
|
|
83
|
+
* The current state of the pipeline.
|
|
84
|
+
*/
|
|
85
|
+
"pipelineMode": OpensearchClusterPipeline.PipelineMode;
|
|
80
86
|
/**
|
|
81
87
|
* The date and time the cluster pipeline was created. Format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
|
|
82
88
|
*/
|
|
@@ -85,6 +91,14 @@ export interface OpensearchClusterPipeline {
|
|
|
85
91
|
* The amount of time in milliseconds since the pipeline was updated.
|
|
86
92
|
*/
|
|
87
93
|
"timeUpdated"?: Date;
|
|
94
|
+
/**
|
|
95
|
+
* The customer IP and the corresponding fully qualified domain name that the pipeline will connect to.
|
|
96
|
+
*/
|
|
97
|
+
"reverseConnectionEndpoints"?: Array<model.OpensearchPipelineReverseConnectionEndpoint>;
|
|
98
|
+
/**
|
|
99
|
+
* The OCID of the NSG where the pipeline private endpoint vnic will be attached.
|
|
100
|
+
*/
|
|
101
|
+
"nsgId"?: string;
|
|
88
102
|
/**
|
|
89
103
|
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
90
104
|
* Example: {@code {\"bar-key\": \"value\"}}
|
|
@@ -121,7 +135,21 @@ export declare namespace OpensearchClusterPipeline {
|
|
|
121
135
|
Active = "ACTIVE",
|
|
122
136
|
Deleting = "DELETING",
|
|
123
137
|
Deleted = "DELETED",
|
|
124
|
-
Failed = "FAILED"
|
|
138
|
+
Failed = "FAILED",
|
|
139
|
+
/**
|
|
140
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
141
|
+
* version of the SDK.
|
|
142
|
+
*/
|
|
143
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
144
|
+
}
|
|
145
|
+
enum PipelineMode {
|
|
146
|
+
Running = "RUNNING",
|
|
147
|
+
Stopped = "STOPPED",
|
|
148
|
+
/**
|
|
149
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
150
|
+
* version of the SDK.
|
|
151
|
+
*/
|
|
152
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
125
153
|
}
|
|
126
154
|
function getJsonObj(obj: OpensearchClusterPipeline): object;
|
|
127
155
|
function getDeserializedJsonObj(obj: OpensearchClusterPipeline): object;
|
|
@@ -11,8 +11,28 @@
|
|
|
11
11
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
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
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
|
+
};
|
|
14
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
34
|
exports.OpensearchClusterPipeline = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
16
36
|
var OpensearchClusterPipeline;
|
|
17
37
|
(function (OpensearchClusterPipeline) {
|
|
18
38
|
let LifecycleState;
|
|
@@ -23,14 +43,41 @@ var OpensearchClusterPipeline;
|
|
|
23
43
|
LifecycleState["Deleting"] = "DELETING";
|
|
24
44
|
LifecycleState["Deleted"] = "DELETED";
|
|
25
45
|
LifecycleState["Failed"] = "FAILED";
|
|
46
|
+
/**
|
|
47
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
48
|
+
* version of the SDK.
|
|
49
|
+
*/
|
|
50
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
26
51
|
})(LifecycleState = OpensearchClusterPipeline.LifecycleState || (OpensearchClusterPipeline.LifecycleState = {}));
|
|
52
|
+
let PipelineMode;
|
|
53
|
+
(function (PipelineMode) {
|
|
54
|
+
PipelineMode["Running"] = "RUNNING";
|
|
55
|
+
PipelineMode["Stopped"] = "STOPPED";
|
|
56
|
+
/**
|
|
57
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
58
|
+
* version of the SDK.
|
|
59
|
+
*/
|
|
60
|
+
PipelineMode["UnknownValue"] = "UNKNOWN_VALUE";
|
|
61
|
+
})(PipelineMode = OpensearchClusterPipeline.PipelineMode || (OpensearchClusterPipeline.PipelineMode = {}));
|
|
27
62
|
function getJsonObj(obj) {
|
|
28
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
63
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
64
|
+
"reverseConnectionEndpoints": obj.reverseConnectionEndpoints
|
|
65
|
+
? obj.reverseConnectionEndpoints.map(item => {
|
|
66
|
+
return model.OpensearchPipelineReverseConnectionEndpoint.getJsonObj(item);
|
|
67
|
+
})
|
|
68
|
+
: undefined
|
|
69
|
+
});
|
|
29
70
|
return jsonObj;
|
|
30
71
|
}
|
|
31
72
|
OpensearchClusterPipeline.getJsonObj = getJsonObj;
|
|
32
73
|
function getDeserializedJsonObj(obj) {
|
|
33
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
74
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
75
|
+
"reverseConnectionEndpoints": obj.reverseConnectionEndpoints
|
|
76
|
+
? obj.reverseConnectionEndpoints.map(item => {
|
|
77
|
+
return model.OpensearchPipelineReverseConnectionEndpoint.getDeserializedJsonObj(item);
|
|
78
|
+
})
|
|
79
|
+
: undefined
|
|
80
|
+
});
|
|
34
81
|
return jsonObj;
|
|
35
82
|
}
|
|
36
83
|
OpensearchClusterPipeline.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opensearch-cluster-pipeline.js","sourceRoot":"","sources":["../../../../../lib/opensearch/lib/model/opensearch-cluster-pipeline.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG
|
|
1
|
+
{"version":3,"file":"opensearch-cluster-pipeline.js","sourceRoot":"","sources":["../../../../../lib/opensearch/lib/model/opensearch-cluster-pipeline.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+GlC,IAAiB,yBAAyB,CAqDzC;AArDD,WAAiB,yBAAyB;IACxC,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,wCAAc,KAAd,wCAAc,QAYzB;IAED,IAAY,YAQX;IARD,WAAY,YAAY;QACtB,mCAAmB,CAAA;QACnB,mCAAmB,CAAA;QACnB;;;WAGG;QACH,8CAA8B,CAAA;IAChC,CAAC,EARW,YAAY,GAAZ,sCAAY,KAAZ,sCAAY,QAQvB;IAED,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,GAAG,CAAC,0BAA0B,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxC,OAAO,KAAK,CAAC,2CAA2C,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,oCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,GAAG,CAAC,0BAA0B,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxC,OAAO,KAAK,CAAC,2CAA2C,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxF,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,gDAAsB,yBAarC,CAAA;AACH,CAAC,EArDgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAqDzC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenSearch Service API
|
|
3
|
+
* The OpenSearch service API provides access to OCI Search Service with OpenSearch.
|
|
4
|
+
* OpenAPI spec version: 20180828
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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
|
+
/**
|
|
14
|
+
* The customer IP and the corresponding fully qualified domain name that the pipeline will connect to.
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export interface OpensearchPipelineReverseConnectionEndpoint {
|
|
18
|
+
/**
|
|
19
|
+
* The fully qualified domain name of the customerIp in the customer VCN
|
|
20
|
+
*/
|
|
21
|
+
"customerFqdn": string;
|
|
22
|
+
/**
|
|
23
|
+
* The IPv4 address in the customer VCN
|
|
24
|
+
*/
|
|
25
|
+
"customerIp": string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace OpensearchPipelineReverseConnectionEndpoint {
|
|
28
|
+
function getJsonObj(obj: OpensearchPipelineReverseConnectionEndpoint): object;
|
|
29
|
+
function getDeserializedJsonObj(obj: OpensearchPipelineReverseConnectionEndpoint): object;
|
|
30
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OpenSearch Service API
|
|
4
|
+
* The OpenSearch service API provides access to OCI Search Service with OpenSearch.
|
|
5
|
+
* OpenAPI spec version: 20180828
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.OpensearchPipelineReverseConnectionEndpoint = void 0;
|
|
16
|
+
var OpensearchPipelineReverseConnectionEndpoint;
|
|
17
|
+
(function (OpensearchPipelineReverseConnectionEndpoint) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
OpensearchPipelineReverseConnectionEndpoint.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
OpensearchPipelineReverseConnectionEndpoint.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(OpensearchPipelineReverseConnectionEndpoint = exports.OpensearchPipelineReverseConnectionEndpoint || (exports.OpensearchPipelineReverseConnectionEndpoint = {}));
|
|
29
|
+
//# sourceMappingURL=opensearch-pipeline-reverse-connection-endpoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opensearch-pipeline-reverse-connection-endpoint.js","sourceRoot":"","sources":["../../../../../lib/opensearch/lib/model/opensearch-pipeline-reverse-connection-endpoint.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAoBH,IAAiB,2CAA2C,CAW3D;AAXD,WAAiB,2CAA2C;IAC1D,SAAgB,UAAU,CAAC,GAAgD;QACzE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sDAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgD;QACrF,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kEAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,2CAA2C,GAA3C,mDAA2C,KAA3C,mDAA2C,QAW3D"}
|
|
@@ -10,8 +10,9 @@
|
|
|
10
10
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
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
12
|
*/
|
|
13
|
+
import * as model from "../model";
|
|
13
14
|
/**
|
|
14
|
-
* The configuration to update on an existing OpenSearch cluster pipeline. You can only edit
|
|
15
|
+
* The configuration to update on an existing OpenSearch cluster pipeline. You can only edit capacity limits and pipeline configurations. You can't edit its network settings.
|
|
15
16
|
*
|
|
16
17
|
*/
|
|
17
18
|
export interface UpdateOpensearchClusterPipelineDetails {
|
|
@@ -20,26 +21,69 @@ export interface UpdateOpensearchClusterPipelineDetails {
|
|
|
20
21
|
*/
|
|
21
22
|
"displayName": string;
|
|
22
23
|
/**
|
|
23
|
-
* The
|
|
24
|
+
* The number of OCPUs configured for each pipeline node. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
24
25
|
*/
|
|
25
|
-
"
|
|
26
|
+
"ocpuCount"?: number;
|
|
26
27
|
/**
|
|
27
|
-
* The
|
|
28
|
+
* The amount of memory in GB, for each pipeline node. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
28
29
|
*/
|
|
29
|
-
"
|
|
30
|
+
"memoryGB"?: number;
|
|
30
31
|
/**
|
|
31
|
-
* The
|
|
32
|
+
* The number of nodes configured for the pipeline. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
32
33
|
*/
|
|
33
|
-
"
|
|
34
|
-
/**
|
|
35
|
-
* The minimum amount of memory in GB, for the pipeline. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
36
|
-
*/
|
|
37
|
-
"minMemoryGB"?: number;
|
|
34
|
+
"nodeCount"?: number;
|
|
38
35
|
/**
|
|
39
36
|
* The pipeline configuration in YAML format. The command accepts the pipeline configuration as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \\.
|
|
40
37
|
*
|
|
41
38
|
*/
|
|
42
39
|
"pipelineConfigurationBody"?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The data prepper config in YAML format. The command accepts the data prepper config as a string or within a .yaml file. If you provide the configuration as a string, each new line must be escaped with \\.
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
"dataPrepperConfigurationBody"?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The OCID of the pipeline's VCN.
|
|
47
|
+
*/
|
|
48
|
+
"vcnId"?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The OCID of the pipeline's subnet.
|
|
51
|
+
*/
|
|
52
|
+
"subnetId"?: string;
|
|
53
|
+
/**
|
|
54
|
+
* The OCID for the compartment where the pipeline's VCN is located.
|
|
55
|
+
*/
|
|
56
|
+
"vcnCompartmentId"?: string;
|
|
57
|
+
/**
|
|
58
|
+
* The OCID for the compartment where the pipeline's subnet is located.
|
|
59
|
+
*/
|
|
60
|
+
"subnetCompartmentId"?: string;
|
|
61
|
+
/**
|
|
62
|
+
* The OCID of the NSG where the pipeline private endpoint vnic will be attached.
|
|
63
|
+
*/
|
|
64
|
+
"nsgId"?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The customer IP and the corresponding fully qualified domain name that the pipeline will connect to.
|
|
67
|
+
*/
|
|
68
|
+
"reverseConnectionEndpoints"?: Array<model.OpensearchPipelineReverseConnectionEndpoint>;
|
|
69
|
+
/**
|
|
70
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
71
|
+
* Example: {@code {\"bar-key\": \"value\"}}
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
"freeformTags"?: {
|
|
75
|
+
[key: string]: string;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
79
|
+
* Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
"definedTags"?: {
|
|
83
|
+
[key: string]: {
|
|
84
|
+
[key: string]: any;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
43
87
|
}
|
|
44
88
|
export declare namespace UpdateOpensearchClusterPipelineDetails {
|
|
45
89
|
function getJsonObj(obj: UpdateOpensearchClusterPipelineDetails): object;
|
|
@@ -11,17 +11,49 @@
|
|
|
11
11
|
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
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
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
|
+
};
|
|
14
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
34
|
exports.UpdateOpensearchClusterPipelineDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
16
36
|
var UpdateOpensearchClusterPipelineDetails;
|
|
17
37
|
(function (UpdateOpensearchClusterPipelineDetails) {
|
|
18
38
|
function getJsonObj(obj) {
|
|
19
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"reverseConnectionEndpoints": obj.reverseConnectionEndpoints
|
|
41
|
+
? obj.reverseConnectionEndpoints.map(item => {
|
|
42
|
+
return model.OpensearchPipelineReverseConnectionEndpoint.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
20
46
|
return jsonObj;
|
|
21
47
|
}
|
|
22
48
|
UpdateOpensearchClusterPipelineDetails.getJsonObj = getJsonObj;
|
|
23
49
|
function getDeserializedJsonObj(obj) {
|
|
24
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"reverseConnectionEndpoints": obj.reverseConnectionEndpoints
|
|
52
|
+
? obj.reverseConnectionEndpoints.map(item => {
|
|
53
|
+
return model.OpensearchPipelineReverseConnectionEndpoint.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
25
57
|
return jsonObj;
|
|
26
58
|
}
|
|
27
59
|
UpdateOpensearchClusterPipelineDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-opensearch-cluster-pipeline-details.js","sourceRoot":"","sources":["../../../../../lib/opensearch/lib/model/update-opensearch-cluster-pipeline-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG
|
|
1
|
+
{"version":3,"file":"update-opensearch-cluster-pipeline-details.js","sourceRoot":"","sources":["../../../../../lib/opensearch/lib/model/update-opensearch-cluster-pipeline-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAwElC,IAAiB,sCAAsC,CA6BtD;AA7BD,WAAiB,sCAAsC;IACrD,SAAgB,UAAU,CAAC,GAA2C;QACpE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,GAAG,CAAC,0BAA0B,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxC,OAAO,KAAK,CAAC,2CAA2C,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC5E,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,iDAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2C;QAChF,MAAM,OAAO,mCACR,GAAG,GACH;YACD,4BAA4B,EAAE,GAAG,CAAC,0BAA0B;gBAC1D,CAAC,CAAC,GAAG,CAAC,0BAA0B,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACxC,OAAO,KAAK,CAAC,2CAA2C,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACxF,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6DAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,sCAAsC,GAAtC,8CAAsC,KAAtC,8CAAsC,QA6BtD"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenSearch Service API
|
|
3
|
+
* The OpenSearch service API provides access to OCI Search Service with OpenSearch.
|
|
4
|
+
* OpenAPI spec version: 20180828
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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
|
+
/**
|
|
14
|
+
* update pipeline status.
|
|
15
|
+
*/
|
|
16
|
+
export interface UpdatePipelineStatusDetails {
|
|
17
|
+
/**
|
|
18
|
+
* OCID of the OpenSearch Pipeline.
|
|
19
|
+
*/
|
|
20
|
+
"pipelineId": string;
|
|
21
|
+
/**
|
|
22
|
+
* the new status of the OpenSearch Pipeline
|
|
23
|
+
*/
|
|
24
|
+
"lifecycleState": string;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace UpdatePipelineStatusDetails {
|
|
27
|
+
function getJsonObj(obj: UpdatePipelineStatusDetails): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: UpdatePipelineStatusDetails): object;
|
|
29
|
+
}
|
package/lib/model/{validate-opensearch-pipeline-details.js → update-pipeline-status-details.js}
RENAMED
|
@@ -12,18 +12,18 @@
|
|
|
12
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
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.
|
|
16
|
-
var
|
|
17
|
-
(function (
|
|
15
|
+
exports.UpdatePipelineStatusDetails = void 0;
|
|
16
|
+
var UpdatePipelineStatusDetails;
|
|
17
|
+
(function (UpdatePipelineStatusDetails) {
|
|
18
18
|
function getJsonObj(obj) {
|
|
19
19
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
20
|
return jsonObj;
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
UpdatePipelineStatusDetails.getJsonObj = getJsonObj;
|
|
23
23
|
function getDeserializedJsonObj(obj) {
|
|
24
24
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
25
|
return jsonObj;
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
})(
|
|
29
|
-
//# sourceMappingURL=
|
|
27
|
+
UpdatePipelineStatusDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(UpdatePipelineStatusDetails = exports.UpdatePipelineStatusDetails || (exports.UpdatePipelineStatusDetails = {}));
|
|
29
|
+
//# sourceMappingURL=update-pipeline-status-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-pipeline-status-details.js","sourceRoot":"","sources":["../../../../../lib/opensearch/lib/model/update-pipeline-status-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,2BAA2B,CAW3C;AAXD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAW3C"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenSearch Service API
|
|
3
|
+
* The OpenSearch service API provides access to OCI Search Service with OpenSearch.
|
|
4
|
+
* OpenAPI spec version: 20180828
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, 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 serviceRequests from "./request";
|
|
14
|
+
import * as serviceResponses from "./response";
|
|
15
|
+
import * as models from "./model";
|
|
16
|
+
import { OpensearchClusterPipelineClient } from "./client";
|
|
17
|
+
export declare class OpensearchClusterPipelineWaiter {
|
|
18
|
+
private client;
|
|
19
|
+
private readonly config?;
|
|
20
|
+
constructor(client: OpensearchClusterPipelineClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
21
|
+
/**
|
|
22
|
+
* Waits forOpensearchClusterPipeline till it reaches any of the provided states
|
|
23
|
+
*
|
|
24
|
+
* @param request the request to send
|
|
25
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
26
|
+
* @return response returns GetOpensearchClusterPipelineResponse | null (null in case of 404 response)
|
|
27
|
+
*/
|
|
28
|
+
forOpensearchClusterPipeline(request: serviceRequests.GetOpensearchClusterPipelineRequest, ...targetStates: models.OpensearchClusterPipeline.LifecycleState[]): Promise<serviceResponses.GetOpensearchClusterPipelineResponse | null>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* OpenSearch Service API
|
|
4
|
+
* The OpenSearch service API provides access to OCI Search Service with OpenSearch.
|
|
5
|
+
* OpenAPI spec version: 20180828
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, 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.OpensearchClusterPipelineWaiter = void 0;
|
|
44
|
+
const models = __importStar(require("./model"));
|
|
45
|
+
const oci_common_1 = require("oci-common");
|
|
46
|
+
class OpensearchClusterPipelineWaiter {
|
|
47
|
+
constructor(client, config) {
|
|
48
|
+
this.client = client;
|
|
49
|
+
this.config = config;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Waits forOpensearchClusterPipeline till it reaches any of the provided states
|
|
53
|
+
*
|
|
54
|
+
* @param request the request to send
|
|
55
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
56
|
+
* @return response returns GetOpensearchClusterPipelineResponse | null (null in case of 404 response)
|
|
57
|
+
*/
|
|
58
|
+
forOpensearchClusterPipeline(request, ...targetStates) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getOpensearchClusterPipeline(request), response => targetStates.includes(response.opensearchClusterPipeline.lifecycleState), targetStates.includes(models.OpensearchClusterPipeline.LifecycleState.Deleted));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.OpensearchClusterPipelineWaiter = OpensearchClusterPipelineWaiter;
|
|
65
|
+
//# sourceMappingURL=opensearchclusterpipeline-waiter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opensearchclusterpipeline-waiter.js","sourceRoot":"","sources":["../../../../lib/opensearch/lib/opensearchclusterpipeline-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,+BAA+B;IAC1C,YACU,MAAuC,EAC9B,MAA4B;QADrC,WAAM,GAAN,MAAM,CAAiC;QAC9B,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,4BAA4B,CACvC,OAA4D,EAC5D,GAAG,YAA+D;;YAElE,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,4BAA4B,CAAC,OAAO,CAAC,EACvD,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,yBAAyB,CAAC,cAAe,CAAC,EACrF,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,yBAAyB,CAAC,cAAc,CAAC,OAAO,CAAC,CAC/E,CAAC;QACJ,CAAC;KAAA;CACF;AAxBD,0EAwBC"}
|