oci-stackmonitoring 2.58.1 → 2.59.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/lib/client.d.ts +66 -32
- package/lib/client.js +119 -32
- package/lib/client.js.map +1 -1
- package/lib/model/associate-monitored-resources-details.d.ts +8 -4
- package/lib/model/associate-monitored-resources-details.js.map +1 -1
- package/lib/model/associated-monitored-resource.d.ts +17 -7
- package/lib/model/associated-monitored-resource.js.map +1 -1
- package/lib/model/associated-resources-summary.d.ts +17 -7
- package/lib/model/associated-resources-summary.js.map +1 -1
- package/lib/model/association-details.d.ts +4 -2
- package/lib/model/association-details.js.map +1 -1
- package/lib/model/association-resource-details.d.ts +11 -3
- package/lib/model/association-resource-details.js.map +1 -1
- package/lib/model/connection-details.d.ts +8 -4
- package/lib/model/connection-details.js.map +1 -1
- package/lib/model/create-discovery-job-details.d.ts +7 -0
- package/lib/model/create-discovery-job-details.js.map +1 -1
- package/lib/model/create-monitored-resource-details.d.ts +55 -7
- package/lib/model/create-monitored-resource-details.js +20 -0
- package/lib/model/create-monitored-resource-details.js.map +1 -1
- package/lib/model/credential-property.d.ts +6 -2
- package/lib/model/credential-property.js.map +1 -1
- package/lib/model/disassociate-monitored-resources-details.d.ts +8 -4
- package/lib/model/disassociate-monitored-resources-details.js.map +1 -1
- package/lib/model/encrypted-credentials.d.ts +4 -2
- package/lib/model/encrypted-credentials.js.map +1 -1
- package/lib/model/index.d.ts +2 -0
- package/lib/model/index.js +4 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/monitored-resource-alias-credential.d.ts +3 -1
- package/lib/model/monitored-resource-alias-credential.js.map +1 -1
- package/lib/model/monitored-resource-alias-source-credential.d.ts +12 -4
- package/lib/model/monitored-resource-alias-source-credential.js.map +1 -1
- package/lib/model/monitored-resource-association-summary.d.ts +8 -4
- package/lib/model/monitored-resource-association-summary.js.map +1 -1
- package/lib/model/monitored-resource-association.d.ts +31 -7
- package/lib/model/monitored-resource-association.js +11 -0
- package/lib/model/monitored-resource-association.js.map +1 -1
- package/lib/model/monitored-resource-credential.d.ts +5 -2
- package/lib/model/monitored-resource-credential.js.map +1 -1
- package/lib/model/monitored-resource-member-summary.d.ts +18 -8
- package/lib/model/monitored-resource-member-summary.js.map +1 -1
- package/lib/model/monitored-resource-members-collection.d.ts +2 -1
- package/lib/model/monitored-resource-members-collection.js.map +1 -1
- package/lib/model/monitored-resource-property.d.ts +6 -3
- package/lib/model/monitored-resource-property.js.map +1 -1
- package/lib/model/monitored-resource-summary.d.ts +14 -9
- package/lib/model/monitored-resource-summary.js.map +1 -1
- package/lib/model/monitored-resource.d.ts +24 -12
- package/lib/model/monitored-resource.js.map +1 -1
- package/lib/model/operation-type.d.ts +1 -0
- package/lib/model/operation-type.js +1 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/plain-text-credentials.d.ts +3 -1
- package/lib/model/plain-text-credentials.js.map +1 -1
- package/lib/model/pre-existing-credentials.d.ts +1 -1
- package/lib/model/resource-lifecycle-state.d.ts +2 -1
- package/lib/model/resource-lifecycle-state.js +2 -1
- package/lib/model/resource-lifecycle-state.js.map +1 -1
- package/lib/model/search-associated-resources-details.d.ts +4 -2
- package/lib/model/search-associated-resources-details.js.map +1 -1
- package/lib/model/search-monitored-resource-associations-details.d.ts +16 -8
- package/lib/model/search-monitored-resource-associations-details.js.map +1 -1
- package/lib/model/search-monitored-resource-members-details.d.ts +4 -2
- package/lib/model/search-monitored-resource-members-details.js.map +1 -1
- package/lib/model/search-monitored-resources-details.d.ts +16 -8
- package/lib/model/search-monitored-resources-details.js.map +1 -1
- package/lib/model/update-and-propagate-tags-details.d.ts +52 -0
- package/lib/model/update-and-propagate-tags-details.js +29 -0
- package/lib/model/update-and-propagate-tags-details.js.map +1 -0
- package/lib/model/update-monitored-resource-details.d.ts +46 -3
- package/lib/model/update-monitored-resource-details.js +20 -0
- package/lib/model/update-monitored-resource-details.js.map +1 -1
- package/lib/request/associate-monitored-resources-request.d.ts +3 -2
- package/lib/request/change-monitored-resource-compartment-request.d.ts +1 -1
- package/lib/request/create-discovery-job-request.d.ts +1 -1
- package/lib/request/create-monitored-resource-request.d.ts +3 -2
- package/lib/request/delete-discovery-job-request.d.ts +1 -1
- package/lib/request/delete-monitored-resource-request.d.ts +4 -2
- package/lib/request/disable-external-database-request.d.ts +1 -1
- package/lib/request/disassociate-monitored-resources-request.d.ts +1 -1
- package/lib/request/get-discovery-job-request.d.ts +1 -1
- package/lib/request/get-monitored-resource-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +2 -0
- package/lib/request/list-discovery-job-logs-request.d.ts +1 -1
- package/lib/request/list-discovery-jobs-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/search-associated-resources-request.d.ts +1 -1
- package/lib/request/search-monitored-resource-associations-request.d.ts +3 -2
- package/lib/request/search-monitored-resource-members-request.d.ts +3 -2
- package/lib/request/search-monitored-resource-members-request.js.map +1 -1
- package/lib/request/search-monitored-resources-request.d.ts +3 -2
- package/lib/request/update-and-propagate-tags-request.d.ts +51 -0
- package/lib/request/update-and-propagate-tags-request.js +15 -0
- package/lib/request/update-and-propagate-tags-request.js.map +1 -0
- package/lib/request/update-monitored-resource-request.d.ts +1 -1
- package/lib/response/index.d.ts +2 -0
- package/lib/response/update-and-propagate-tags-response.d.ts +25 -0
- package/lib/response/update-and-propagate-tags-response.js +15 -0
- package/lib/response/update-and-propagate-tags-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -80,21 +80,26 @@ export declare class StackMonitoringClient {
|
|
|
80
80
|
*/
|
|
81
81
|
getWaiters(): StackMonitoringWaiter;
|
|
82
82
|
/**
|
|
83
|
-
* Create an association between two monitored resources.
|
|
83
|
+
* Create an association between two monitored resources. Associations can be created
|
|
84
|
+
* between resources from different compartments as long they are in same tenancy.
|
|
85
|
+
* User should have required access in both the compartments.
|
|
86
|
+
*
|
|
84
87
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
85
88
|
* @param AssociateMonitoredResourcesRequest
|
|
86
89
|
* @return AssociateMonitoredResourcesResponse
|
|
87
90
|
* @throws OciError when an error occurs
|
|
88
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
91
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/AssociateMonitoredResources.ts.html |here} to see how to use AssociateMonitoredResources API.
|
|
89
92
|
*/
|
|
90
93
|
associateMonitoredResources(associateMonitoredResourcesRequest: requests.AssociateMonitoredResourcesRequest): Promise<responses.AssociateMonitoredResourcesResponse>;
|
|
91
94
|
/**
|
|
92
|
-
* Moves a
|
|
95
|
+
* Moves a monitored resource from one compartment to another.
|
|
96
|
+
* When provided, If-Match is checked against ETag values of the resource.
|
|
97
|
+
*
|
|
93
98
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
94
99
|
* @param ChangeMonitoredResourceCompartmentRequest
|
|
95
100
|
* @return ChangeMonitoredResourceCompartmentResponse
|
|
96
101
|
* @throws OciError when an error occurs
|
|
97
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
102
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/ChangeMonitoredResourceCompartment.ts.html |here} to see how to use ChangeMonitoredResourceCompartment API.
|
|
98
103
|
*/
|
|
99
104
|
changeMonitoredResourceCompartment(changeMonitoredResourceCompartmentRequest: requests.ChangeMonitoredResourceCompartmentRequest): Promise<responses.ChangeMonitoredResourceCompartmentResponse>;
|
|
100
105
|
/**
|
|
@@ -104,17 +109,19 @@ export declare class StackMonitoringClient {
|
|
|
104
109
|
* @param CreateDiscoveryJobRequest
|
|
105
110
|
* @return CreateDiscoveryJobResponse
|
|
106
111
|
* @throws OciError when an error occurs
|
|
107
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
112
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/CreateDiscoveryJob.ts.html |here} to see how to use CreateDiscoveryJob API.
|
|
108
113
|
*/
|
|
109
114
|
createDiscoveryJob(createDiscoveryJobRequest: requests.CreateDiscoveryJobRequest): Promise<responses.CreateDiscoveryJobResponse>;
|
|
110
115
|
/**
|
|
111
|
-
* Creates a new monitored resource for the given resource type
|
|
116
|
+
* Creates a new monitored resource for the given resource type with the details and submits
|
|
117
|
+
* a work request for promoting the resource to agent. Once the resource is successfully
|
|
118
|
+
* added to agent, resource state will be marked active.
|
|
112
119
|
*
|
|
113
120
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
114
121
|
* @param CreateMonitoredResourceRequest
|
|
115
122
|
* @return CreateMonitoredResourceResponse
|
|
116
123
|
* @throws OciError when an error occurs
|
|
117
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
124
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/CreateMonitoredResource.ts.html |here} to see how to use CreateMonitoredResource API.
|
|
118
125
|
*/
|
|
119
126
|
createMonitoredResource(createMonitoredResourceRequest: requests.CreateMonitoredResourceRequest): Promise<responses.CreateMonitoredResourceResponse>;
|
|
120
127
|
/**
|
|
@@ -123,26 +130,31 @@ export declare class StackMonitoringClient {
|
|
|
123
130
|
* @param DeleteDiscoveryJobRequest
|
|
124
131
|
* @return DeleteDiscoveryJobResponse
|
|
125
132
|
* @throws OciError when an error occurs
|
|
126
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
133
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/DeleteDiscoveryJob.ts.html |here} to see how to use DeleteDiscoveryJob API.
|
|
127
134
|
*/
|
|
128
135
|
deleteDiscoveryJob(deleteDiscoveryJobRequest: requests.DeleteDiscoveryJobRequest): Promise<responses.DeleteDiscoveryJobResponse>;
|
|
129
136
|
/**
|
|
130
|
-
*
|
|
137
|
+
* Delete monitored resource by the given identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
138
|
+
* By default, only the specified resource is deleted. If the parameter 'isDeleteMembers' is set to true,
|
|
139
|
+
* then the member resources will be deleted too. If the operation fails partially, the deleted entries
|
|
140
|
+
* will not be rolled back.
|
|
141
|
+
*
|
|
131
142
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
132
143
|
* @param DeleteMonitoredResourceRequest
|
|
133
144
|
* @return DeleteMonitoredResourceResponse
|
|
134
145
|
* @throws OciError when an error occurs
|
|
135
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
146
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/DeleteMonitoredResource.ts.html |here} to see how to use DeleteMonitoredResource API.
|
|
136
147
|
*/
|
|
137
148
|
deleteMonitoredResource(deleteMonitoredResourceRequest: requests.DeleteMonitoredResourceRequest): Promise<responses.DeleteMonitoredResourceResponse>;
|
|
138
149
|
/**
|
|
139
|
-
* Disable external database resource monitoring.
|
|
150
|
+
* Disable external database resource monitoring. All the references in DBaaS,
|
|
151
|
+
* DBM and resource service will be deleted as part of this operation.
|
|
140
152
|
*
|
|
141
153
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
142
154
|
* @param DisableExternalDatabaseRequest
|
|
143
155
|
* @return DisableExternalDatabaseResponse
|
|
144
156
|
* @throws OciError when an error occurs
|
|
145
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
157
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/DisableExternalDatabase.ts.html |here} to see how to use DisableExternalDatabase API.
|
|
146
158
|
*/
|
|
147
159
|
disableExternalDatabase(disableExternalDatabaseRequest: requests.DisableExternalDatabaseRequest): Promise<responses.DisableExternalDatabaseResponse>;
|
|
148
160
|
/**
|
|
@@ -151,7 +163,7 @@ export declare class StackMonitoringClient {
|
|
|
151
163
|
* @param DisassociateMonitoredResourcesRequest
|
|
152
164
|
* @return DisassociateMonitoredResourcesResponse
|
|
153
165
|
* @throws OciError when an error occurs
|
|
154
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
166
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/DisassociateMonitoredResources.ts.html |here} to see how to use DisassociateMonitoredResources API.
|
|
155
167
|
*/
|
|
156
168
|
disassociateMonitoredResources(disassociateMonitoredResourcesRequest: requests.DisassociateMonitoredResourcesRequest): Promise<responses.DisassociateMonitoredResourcesResponse>;
|
|
157
169
|
/**
|
|
@@ -161,16 +173,17 @@ export declare class StackMonitoringClient {
|
|
|
161
173
|
* @param GetDiscoveryJobRequest
|
|
162
174
|
* @return GetDiscoveryJobResponse
|
|
163
175
|
* @throws OciError when an error occurs
|
|
164
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
176
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/GetDiscoveryJob.ts.html |here} to see how to use GetDiscoveryJob API.
|
|
165
177
|
*/
|
|
166
178
|
getDiscoveryJob(getDiscoveryJobRequest: requests.GetDiscoveryJobRequest): Promise<responses.GetDiscoveryJobResponse>;
|
|
167
179
|
/**
|
|
168
|
-
*
|
|
180
|
+
* Get monitored resource for the given identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
181
|
+
*
|
|
169
182
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
170
183
|
* @param GetMonitoredResourceRequest
|
|
171
184
|
* @return GetMonitoredResourceResponse
|
|
172
185
|
* @throws OciError when an error occurs
|
|
173
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
186
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/GetMonitoredResource.ts.html |here} to see how to use GetMonitoredResource API.
|
|
174
187
|
*/
|
|
175
188
|
getMonitoredResource(getMonitoredResourceRequest: requests.GetMonitoredResourceRequest): Promise<responses.GetMonitoredResourceResponse>;
|
|
176
189
|
/**
|
|
@@ -179,7 +192,7 @@ export declare class StackMonitoringClient {
|
|
|
179
192
|
* @param GetWorkRequestRequest
|
|
180
193
|
* @return GetWorkRequestResponse
|
|
181
194
|
* @throws OciError when an error occurs
|
|
182
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
195
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
183
196
|
*/
|
|
184
197
|
getWorkRequest(getWorkRequestRequest: requests.GetWorkRequestRequest): Promise<responses.GetWorkRequestResponse>;
|
|
185
198
|
/**
|
|
@@ -189,7 +202,7 @@ export declare class StackMonitoringClient {
|
|
|
189
202
|
* @param ListDiscoveryJobLogsRequest
|
|
190
203
|
* @return ListDiscoveryJobLogsResponse
|
|
191
204
|
* @throws OciError when an error occurs
|
|
192
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
205
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/ListDiscoveryJobLogs.ts.html |here} to see how to use ListDiscoveryJobLogs API.
|
|
193
206
|
*/
|
|
194
207
|
listDiscoveryJobLogs(listDiscoveryJobLogsRequest: requests.ListDiscoveryJobLogsRequest): Promise<responses.ListDiscoveryJobLogsResponse>;
|
|
195
208
|
/**
|
|
@@ -199,7 +212,7 @@ export declare class StackMonitoringClient {
|
|
|
199
212
|
* @param ListDiscoveryJobsRequest
|
|
200
213
|
* @return ListDiscoveryJobsResponse
|
|
201
214
|
* @throws OciError when an error occurs
|
|
202
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
215
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/ListDiscoveryJobs.ts.html |here} to see how to use ListDiscoveryJobs API.
|
|
203
216
|
*/
|
|
204
217
|
listDiscoveryJobs(listDiscoveryJobsRequest: requests.ListDiscoveryJobsRequest): Promise<responses.ListDiscoveryJobsResponse>;
|
|
205
218
|
/**
|
|
@@ -209,7 +222,7 @@ export declare class StackMonitoringClient {
|
|
|
209
222
|
* @param ListWorkRequestErrorsRequest
|
|
210
223
|
* @return ListWorkRequestErrorsResponse
|
|
211
224
|
* @throws OciError when an error occurs
|
|
212
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
225
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
213
226
|
*/
|
|
214
227
|
listWorkRequestErrors(listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest): Promise<responses.ListWorkRequestErrorsResponse>;
|
|
215
228
|
/**
|
|
@@ -219,7 +232,7 @@ export declare class StackMonitoringClient {
|
|
|
219
232
|
* @param ListWorkRequestLogsRequest
|
|
220
233
|
* @return ListWorkRequestLogsResponse
|
|
221
234
|
* @throws OciError when an error occurs
|
|
222
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
235
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
223
236
|
*/
|
|
224
237
|
listWorkRequestLogs(listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest): Promise<responses.ListWorkRequestLogsResponse>;
|
|
225
238
|
/**
|
|
@@ -229,52 +242,73 @@ export declare class StackMonitoringClient {
|
|
|
229
242
|
* @param ListWorkRequestsRequest
|
|
230
243
|
* @return ListWorkRequestsResponse
|
|
231
244
|
* @throws OciError when an error occurs
|
|
232
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
245
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
233
246
|
*/
|
|
234
247
|
listWorkRequests(listWorkRequestsRequest: requests.ListWorkRequestsRequest): Promise<responses.ListWorkRequestsResponse>;
|
|
235
248
|
/**
|
|
236
|
-
* List associated
|
|
249
|
+
* List all associated resources recursively up-to a specified level,
|
|
250
|
+
* for the monitored resources of type specified.
|
|
251
|
+
*
|
|
237
252
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
238
253
|
* @param SearchAssociatedResourcesRequest
|
|
239
254
|
* @return SearchAssociatedResourcesResponse
|
|
240
255
|
* @throws OciError when an error occurs
|
|
241
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
256
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/SearchAssociatedResources.ts.html |here} to see how to use SearchAssociatedResources API.
|
|
242
257
|
*/
|
|
243
258
|
searchAssociatedResources(searchAssociatedResourcesRequest: requests.SearchAssociatedResourcesRequest): Promise<responses.SearchAssociatedResourcesResponse>;
|
|
244
259
|
/**
|
|
245
|
-
*
|
|
260
|
+
* Search associations in the given compartment based on the search criteria.
|
|
261
|
+
*
|
|
246
262
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
247
263
|
* @param SearchMonitoredResourceAssociationsRequest
|
|
248
264
|
* @return SearchMonitoredResourceAssociationsResponse
|
|
249
265
|
* @throws OciError when an error occurs
|
|
250
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/SearchMonitoredResourceAssociations.ts.html |here} to see how to use SearchMonitoredResourceAssociations API.
|
|
251
267
|
*/
|
|
252
268
|
searchMonitoredResourceAssociations(searchMonitoredResourceAssociationsRequest: requests.SearchMonitoredResourceAssociationsRequest): Promise<responses.SearchMonitoredResourceAssociationsResponse>;
|
|
253
269
|
/**
|
|
254
|
-
* List
|
|
270
|
+
* List the member resources for the given monitored resource identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
271
|
+
*
|
|
255
272
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
256
273
|
* @param SearchMonitoredResourceMembersRequest
|
|
257
274
|
* @return SearchMonitoredResourceMembersResponse
|
|
258
275
|
* @throws OciError when an error occurs
|
|
259
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/SearchMonitoredResourceMembers.ts.html |here} to see how to use SearchMonitoredResourceMembers API.
|
|
260
277
|
*/
|
|
261
278
|
searchMonitoredResourceMembers(searchMonitoredResourceMembersRequest: requests.SearchMonitoredResourceMembersRequest): Promise<responses.SearchMonitoredResourceMembersResponse>;
|
|
262
279
|
/**
|
|
263
|
-
*
|
|
280
|
+
* Gets a list of all monitored resources in a compartment for the given search criteria.
|
|
281
|
+
*
|
|
264
282
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
265
283
|
* @param SearchMonitoredResourcesRequest
|
|
266
284
|
* @return SearchMonitoredResourcesResponse
|
|
267
285
|
* @throws OciError when an error occurs
|
|
268
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
286
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/SearchMonitoredResources.ts.html |here} to see how to use SearchMonitoredResources API.
|
|
269
287
|
*/
|
|
270
288
|
searchMonitoredResources(searchMonitoredResourcesRequest: requests.SearchMonitoredResourcesRequest): Promise<responses.SearchMonitoredResourcesResponse>;
|
|
271
289
|
/**
|
|
272
|
-
*
|
|
290
|
+
* Provided tags will be added or updated in the existing list of tags for the affected resources.
|
|
291
|
+
* Resources to be updated are identified based on association types specified.
|
|
292
|
+
* If association types not specified, then tags will be updated only for the resource identified by
|
|
293
|
+
* the given monitored resource identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
294
|
+
*
|
|
295
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
296
|
+
* @param UpdateAndPropagateTagsRequest
|
|
297
|
+
* @return UpdateAndPropagateTagsResponse
|
|
298
|
+
* @throws OciError when an error occurs
|
|
299
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/UpdateAndPropagateTags.ts.html |here} to see how to use UpdateAndPropagateTags API.
|
|
300
|
+
*/
|
|
301
|
+
updateAndPropagateTags(updateAndPropagateTagsRequest: requests.UpdateAndPropagateTagsRequest): Promise<responses.UpdateAndPropagateTagsResponse>;
|
|
302
|
+
/**
|
|
303
|
+
* Update monitored resource by the given identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
304
|
+
* Note that \"properties\" object, if specified, will entirely replace the existing object,
|
|
305
|
+
* as part this operation.
|
|
306
|
+
*
|
|
273
307
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
274
308
|
* @param UpdateMonitoredResourceRequest
|
|
275
309
|
* @return UpdateMonitoredResourceResponse
|
|
276
310
|
* @throws OciError when an error occurs
|
|
277
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
311
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/UpdateMonitoredResource.ts.html |here} to see how to use UpdateMonitoredResource API.
|
|
278
312
|
*/
|
|
279
313
|
updateMonitoredResource(updateMonitoredResourceRequest: requests.UpdateMonitoredResourceRequest): Promise<responses.UpdateMonitoredResourceResponse>;
|
|
280
314
|
}
|
package/lib/client.js
CHANGED
|
@@ -174,12 +174,15 @@ class StackMonitoringClient {
|
|
|
174
174
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
175
175
|
}
|
|
176
176
|
/**
|
|
177
|
-
* Create an association between two monitored resources.
|
|
177
|
+
* Create an association between two monitored resources. Associations can be created
|
|
178
|
+
* between resources from different compartments as long they are in same tenancy.
|
|
179
|
+
* User should have required access in both the compartments.
|
|
180
|
+
*
|
|
178
181
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
179
182
|
* @param AssociateMonitoredResourcesRequest
|
|
180
183
|
* @return AssociateMonitoredResourcesResponse
|
|
181
184
|
* @throws OciError when an error occurs
|
|
182
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
185
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/AssociateMonitoredResources.ts.html |here} to see how to use AssociateMonitoredResources API.
|
|
183
186
|
*/
|
|
184
187
|
associateMonitoredResources(associateMonitoredResourcesRequest) {
|
|
185
188
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -238,12 +241,14 @@ class StackMonitoringClient {
|
|
|
238
241
|
});
|
|
239
242
|
}
|
|
240
243
|
/**
|
|
241
|
-
* Moves a
|
|
244
|
+
* Moves a monitored resource from one compartment to another.
|
|
245
|
+
* When provided, If-Match is checked against ETag values of the resource.
|
|
246
|
+
*
|
|
242
247
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
243
248
|
* @param ChangeMonitoredResourceCompartmentRequest
|
|
244
249
|
* @return ChangeMonitoredResourceCompartmentResponse
|
|
245
250
|
* @throws OciError when an error occurs
|
|
246
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
251
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/ChangeMonitoredResourceCompartment.ts.html |here} to see how to use ChangeMonitoredResourceCompartment API.
|
|
247
252
|
*/
|
|
248
253
|
changeMonitoredResourceCompartment(changeMonitoredResourceCompartmentRequest) {
|
|
249
254
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -306,7 +311,7 @@ class StackMonitoringClient {
|
|
|
306
311
|
* @param CreateDiscoveryJobRequest
|
|
307
312
|
* @return CreateDiscoveryJobResponse
|
|
308
313
|
* @throws OciError when an error occurs
|
|
309
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
314
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/CreateDiscoveryJob.ts.html |here} to see how to use CreateDiscoveryJob API.
|
|
310
315
|
*/
|
|
311
316
|
createDiscoveryJob(createDiscoveryJobRequest) {
|
|
312
317
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -364,13 +369,15 @@ class StackMonitoringClient {
|
|
|
364
369
|
});
|
|
365
370
|
}
|
|
366
371
|
/**
|
|
367
|
-
* Creates a new monitored resource for the given resource type
|
|
372
|
+
* Creates a new monitored resource for the given resource type with the details and submits
|
|
373
|
+
* a work request for promoting the resource to agent. Once the resource is successfully
|
|
374
|
+
* added to agent, resource state will be marked active.
|
|
368
375
|
*
|
|
369
376
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
370
377
|
* @param CreateMonitoredResourceRequest
|
|
371
378
|
* @return CreateMonitoredResourceResponse
|
|
372
379
|
* @throws OciError when an error occurs
|
|
373
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
380
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/CreateMonitoredResource.ts.html |here} to see how to use CreateMonitoredResource API.
|
|
374
381
|
*/
|
|
375
382
|
createMonitoredResource(createMonitoredResourceRequest) {
|
|
376
383
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -454,7 +461,7 @@ class StackMonitoringClient {
|
|
|
454
461
|
* @param DeleteDiscoveryJobRequest
|
|
455
462
|
* @return DeleteDiscoveryJobResponse
|
|
456
463
|
* @throws OciError when an error occurs
|
|
457
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
464
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/DeleteDiscoveryJob.ts.html |here} to see how to use DeleteDiscoveryJob API.
|
|
458
465
|
*/
|
|
459
466
|
deleteDiscoveryJob(deleteDiscoveryJobRequest) {
|
|
460
467
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -504,12 +511,16 @@ class StackMonitoringClient {
|
|
|
504
511
|
});
|
|
505
512
|
}
|
|
506
513
|
/**
|
|
507
|
-
*
|
|
514
|
+
* Delete monitored resource by the given identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
515
|
+
* By default, only the specified resource is deleted. If the parameter 'isDeleteMembers' is set to true,
|
|
516
|
+
* then the member resources will be deleted too. If the operation fails partially, the deleted entries
|
|
517
|
+
* will not be rolled back.
|
|
518
|
+
*
|
|
508
519
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
509
520
|
* @param DeleteMonitoredResourceRequest
|
|
510
521
|
* @return DeleteMonitoredResourceResponse
|
|
511
522
|
* @throws OciError when an error occurs
|
|
512
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
523
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/DeleteMonitoredResource.ts.html |here} to see how to use DeleteMonitoredResource API.
|
|
513
524
|
*/
|
|
514
525
|
deleteMonitoredResource(deleteMonitoredResourceRequest) {
|
|
515
526
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -566,13 +577,14 @@ class StackMonitoringClient {
|
|
|
566
577
|
});
|
|
567
578
|
}
|
|
568
579
|
/**
|
|
569
|
-
* Disable external database resource monitoring.
|
|
580
|
+
* Disable external database resource monitoring. All the references in DBaaS,
|
|
581
|
+
* DBM and resource service will be deleted as part of this operation.
|
|
570
582
|
*
|
|
571
583
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
572
584
|
* @param DisableExternalDatabaseRequest
|
|
573
585
|
* @return DisableExternalDatabaseResponse
|
|
574
586
|
* @throws OciError when an error occurs
|
|
575
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
587
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/DisableExternalDatabase.ts.html |here} to see how to use DisableExternalDatabase API.
|
|
576
588
|
*/
|
|
577
589
|
disableExternalDatabase(disableExternalDatabaseRequest) {
|
|
578
590
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -633,7 +645,7 @@ class StackMonitoringClient {
|
|
|
633
645
|
* @param DisassociateMonitoredResourcesRequest
|
|
634
646
|
* @return DisassociateMonitoredResourcesResponse
|
|
635
647
|
* @throws OciError when an error occurs
|
|
636
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
648
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/DisassociateMonitoredResources.ts.html |here} to see how to use DisassociateMonitoredResources API.
|
|
637
649
|
*/
|
|
638
650
|
disassociateMonitoredResources(disassociateMonitoredResourcesRequest) {
|
|
639
651
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -689,7 +701,7 @@ class StackMonitoringClient {
|
|
|
689
701
|
* @param GetDiscoveryJobRequest
|
|
690
702
|
* @return GetDiscoveryJobResponse
|
|
691
703
|
* @throws OciError when an error occurs
|
|
692
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
704
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/GetDiscoveryJob.ts.html |here} to see how to use GetDiscoveryJob API.
|
|
693
705
|
*/
|
|
694
706
|
getDiscoveryJob(getDiscoveryJobRequest) {
|
|
695
707
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -747,12 +759,13 @@ class StackMonitoringClient {
|
|
|
747
759
|
});
|
|
748
760
|
}
|
|
749
761
|
/**
|
|
750
|
-
*
|
|
762
|
+
* Get monitored resource for the given identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
763
|
+
*
|
|
751
764
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
752
765
|
* @param GetMonitoredResourceRequest
|
|
753
766
|
* @return GetMonitoredResourceResponse
|
|
754
767
|
* @throws OciError when an error occurs
|
|
755
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
768
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/GetMonitoredResource.ts.html |here} to see how to use GetMonitoredResource API.
|
|
756
769
|
*/
|
|
757
770
|
getMonitoredResource(getMonitoredResourceRequest) {
|
|
758
771
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -815,7 +828,7 @@ class StackMonitoringClient {
|
|
|
815
828
|
* @param GetWorkRequestRequest
|
|
816
829
|
* @return GetWorkRequestResponse
|
|
817
830
|
* @throws OciError when an error occurs
|
|
818
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
831
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
819
832
|
*/
|
|
820
833
|
getWorkRequest(getWorkRequestRequest) {
|
|
821
834
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -879,7 +892,7 @@ class StackMonitoringClient {
|
|
|
879
892
|
* @param ListDiscoveryJobLogsRequest
|
|
880
893
|
* @return ListDiscoveryJobLogsResponse
|
|
881
894
|
* @throws OciError when an error occurs
|
|
882
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
895
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/ListDiscoveryJobLogs.ts.html |here} to see how to use ListDiscoveryJobLogs API.
|
|
883
896
|
*/
|
|
884
897
|
listDiscoveryJobLogs(listDiscoveryJobLogsRequest) {
|
|
885
898
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -949,7 +962,7 @@ class StackMonitoringClient {
|
|
|
949
962
|
* @param ListDiscoveryJobsRequest
|
|
950
963
|
* @return ListDiscoveryJobsResponse
|
|
951
964
|
* @throws OciError when an error occurs
|
|
952
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
965
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/ListDiscoveryJobs.ts.html |here} to see how to use ListDiscoveryJobs API.
|
|
953
966
|
*/
|
|
954
967
|
listDiscoveryJobs(listDiscoveryJobsRequest) {
|
|
955
968
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1018,7 +1031,7 @@ class StackMonitoringClient {
|
|
|
1018
1031
|
* @param ListWorkRequestErrorsRequest
|
|
1019
1032
|
* @return ListWorkRequestErrorsResponse
|
|
1020
1033
|
* @throws OciError when an error occurs
|
|
1021
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1034
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
1022
1035
|
*/
|
|
1023
1036
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
1024
1037
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1087,7 +1100,7 @@ class StackMonitoringClient {
|
|
|
1087
1100
|
* @param ListWorkRequestLogsRequest
|
|
1088
1101
|
* @return ListWorkRequestLogsResponse
|
|
1089
1102
|
* @throws OciError when an error occurs
|
|
1090
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1103
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
1091
1104
|
*/
|
|
1092
1105
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
1093
1106
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1156,7 +1169,7 @@ class StackMonitoringClient {
|
|
|
1156
1169
|
* @param ListWorkRequestsRequest
|
|
1157
1170
|
* @return ListWorkRequestsResponse
|
|
1158
1171
|
* @throws OciError when an error occurs
|
|
1159
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1172
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
1160
1173
|
*/
|
|
1161
1174
|
listWorkRequests(listWorkRequestsRequest) {
|
|
1162
1175
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1221,12 +1234,14 @@ class StackMonitoringClient {
|
|
|
1221
1234
|
});
|
|
1222
1235
|
}
|
|
1223
1236
|
/**
|
|
1224
|
-
* List associated
|
|
1237
|
+
* List all associated resources recursively up-to a specified level,
|
|
1238
|
+
* for the monitored resources of type specified.
|
|
1239
|
+
*
|
|
1225
1240
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1226
1241
|
* @param SearchAssociatedResourcesRequest
|
|
1227
1242
|
* @return SearchAssociatedResourcesResponse
|
|
1228
1243
|
* @throws OciError when an error occurs
|
|
1229
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1244
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/SearchAssociatedResources.ts.html |here} to see how to use SearchAssociatedResources API.
|
|
1230
1245
|
*/
|
|
1231
1246
|
searchAssociatedResources(searchAssociatedResourcesRequest) {
|
|
1232
1247
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1295,12 +1310,13 @@ class StackMonitoringClient {
|
|
|
1295
1310
|
});
|
|
1296
1311
|
}
|
|
1297
1312
|
/**
|
|
1298
|
-
*
|
|
1313
|
+
* Search associations in the given compartment based on the search criteria.
|
|
1314
|
+
*
|
|
1299
1315
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1300
1316
|
* @param SearchMonitoredResourceAssociationsRequest
|
|
1301
1317
|
* @return SearchMonitoredResourceAssociationsResponse
|
|
1302
1318
|
* @throws OciError when an error occurs
|
|
1303
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1319
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/SearchMonitoredResourceAssociations.ts.html |here} to see how to use SearchMonitoredResourceAssociations API.
|
|
1304
1320
|
*/
|
|
1305
1321
|
searchMonitoredResourceAssociations(searchMonitoredResourceAssociationsRequest) {
|
|
1306
1322
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1367,12 +1383,13 @@ class StackMonitoringClient {
|
|
|
1367
1383
|
});
|
|
1368
1384
|
}
|
|
1369
1385
|
/**
|
|
1370
|
-
* List
|
|
1386
|
+
* List the member resources for the given monitored resource identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
1387
|
+
*
|
|
1371
1388
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1372
1389
|
* @param SearchMonitoredResourceMembersRequest
|
|
1373
1390
|
* @return SearchMonitoredResourceMembersResponse
|
|
1374
1391
|
* @throws OciError when an error occurs
|
|
1375
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1392
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/SearchMonitoredResourceMembers.ts.html |here} to see how to use SearchMonitoredResourceMembers API.
|
|
1376
1393
|
*/
|
|
1377
1394
|
searchMonitoredResourceMembers(searchMonitoredResourceMembersRequest) {
|
|
1378
1395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1443,12 +1460,13 @@ class StackMonitoringClient {
|
|
|
1443
1460
|
});
|
|
1444
1461
|
}
|
|
1445
1462
|
/**
|
|
1446
|
-
*
|
|
1463
|
+
* Gets a list of all monitored resources in a compartment for the given search criteria.
|
|
1464
|
+
*
|
|
1447
1465
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1448
1466
|
* @param SearchMonitoredResourcesRequest
|
|
1449
1467
|
* @return SearchMonitoredResourcesResponse
|
|
1450
1468
|
* @throws OciError when an error occurs
|
|
1451
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1469
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/SearchMonitoredResources.ts.html |here} to see how to use SearchMonitoredResources API.
|
|
1452
1470
|
*/
|
|
1453
1471
|
searchMonitoredResources(searchMonitoredResourcesRequest) {
|
|
1454
1472
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1517,12 +1535,81 @@ class StackMonitoringClient {
|
|
|
1517
1535
|
});
|
|
1518
1536
|
}
|
|
1519
1537
|
/**
|
|
1520
|
-
*
|
|
1538
|
+
* Provided tags will be added or updated in the existing list of tags for the affected resources.
|
|
1539
|
+
* Resources to be updated are identified based on association types specified.
|
|
1540
|
+
* If association types not specified, then tags will be updated only for the resource identified by
|
|
1541
|
+
* the given monitored resource identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
1542
|
+
*
|
|
1543
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1544
|
+
* @param UpdateAndPropagateTagsRequest
|
|
1545
|
+
* @return UpdateAndPropagateTagsResponse
|
|
1546
|
+
* @throws OciError when an error occurs
|
|
1547
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/UpdateAndPropagateTags.ts.html |here} to see how to use UpdateAndPropagateTags API.
|
|
1548
|
+
*/
|
|
1549
|
+
updateAndPropagateTags(updateAndPropagateTagsRequest) {
|
|
1550
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1551
|
+
if (this.logger)
|
|
1552
|
+
this.logger.debug("Calling operation StackMonitoringClient#updateAndPropagateTags.");
|
|
1553
|
+
const operationName = "updateAndPropagateTags";
|
|
1554
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/stack-monitoring/20210330/MonitoredResource/UpdateAndPropagateTags";
|
|
1555
|
+
const pathParams = {
|
|
1556
|
+
"{monitoredResourceId}": updateAndPropagateTagsRequest.monitoredResourceId
|
|
1557
|
+
};
|
|
1558
|
+
const queryParams = {};
|
|
1559
|
+
let headerParams = {
|
|
1560
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1561
|
+
"opc-retry-token": updateAndPropagateTagsRequest.opcRetryToken,
|
|
1562
|
+
"opc-request-id": updateAndPropagateTagsRequest.opcRequestId,
|
|
1563
|
+
"if-match": updateAndPropagateTagsRequest.ifMatch
|
|
1564
|
+
};
|
|
1565
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1566
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAndPropagateTagsRequest.retryConfiguration, specRetryConfiguration);
|
|
1567
|
+
if (this.logger)
|
|
1568
|
+
retrier.logger = this.logger;
|
|
1569
|
+
const request = yield oci_common_1.composeRequest({
|
|
1570
|
+
baseEndpoint: this._endpoint,
|
|
1571
|
+
defaultHeaders: this._defaultHeaders,
|
|
1572
|
+
path: "/monitoredResources/{monitoredResourceId}/actions/updateAndPropagateTags",
|
|
1573
|
+
method: "POST",
|
|
1574
|
+
bodyContent: common.ObjectSerializer.serialize(updateAndPropagateTagsRequest.updateAndPropagateTagsDetails, "UpdateAndPropagateTagsDetails", model.UpdateAndPropagateTagsDetails.getJsonObj),
|
|
1575
|
+
pathParams: pathParams,
|
|
1576
|
+
headerParams: headerParams,
|
|
1577
|
+
queryParams: queryParams
|
|
1578
|
+
});
|
|
1579
|
+
try {
|
|
1580
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1581
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1582
|
+
responseObject: {},
|
|
1583
|
+
responseHeaders: [
|
|
1584
|
+
{
|
|
1585
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1586
|
+
key: "opcWorkRequestId",
|
|
1587
|
+
dataType: "string"
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
value: response.headers.get("opc-request-id"),
|
|
1591
|
+
key: "opcRequestId",
|
|
1592
|
+
dataType: "string"
|
|
1593
|
+
}
|
|
1594
|
+
]
|
|
1595
|
+
});
|
|
1596
|
+
return sdkResponse;
|
|
1597
|
+
}
|
|
1598
|
+
catch (err) {
|
|
1599
|
+
throw err;
|
|
1600
|
+
}
|
|
1601
|
+
});
|
|
1602
|
+
}
|
|
1603
|
+
/**
|
|
1604
|
+
* Update monitored resource by the given identifier [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
|
|
1605
|
+
* Note that \"properties\" object, if specified, will entirely replace the existing object,
|
|
1606
|
+
* as part this operation.
|
|
1607
|
+
*
|
|
1521
1608
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1522
1609
|
* @param UpdateMonitoredResourceRequest
|
|
1523
1610
|
* @return UpdateMonitoredResourceResponse
|
|
1524
1611
|
* @throws OciError when an error occurs
|
|
1525
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1612
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.1/stackmonitoring/UpdateMonitoredResource.ts.html |here} to see how to use UpdateMonitoredResource API.
|
|
1526
1613
|
*/
|
|
1527
1614
|
updateMonitoredResource(updateMonitoredResourceRequest) {
|
|
1528
1615
|
return __awaiter(this, void 0, void 0, function* () {
|