oci-demandsignal 2.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +22 -0
- package/index.js +45 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +160 -0
- package/lib/client.js +669 -0
- package/lib/client.js.map +1 -0
- package/lib/model/change-occ-demand-signal-compartment-details.d.ts +26 -0
- package/lib/model/change-occ-demand-signal-compartment-details.js +29 -0
- package/lib/model/change-occ-demand-signal-compartment-details.js.map +1 -0
- package/lib/model/create-occ-demand-signal-details.d.ts +61 -0
- package/lib/model/create-occ-demand-signal-details.js +61 -0
- package/lib/model/create-occ-demand-signal-details.js.map +1 -0
- package/lib/model/index.d.ts +50 -0
- package/lib/model/index.js +73 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/occ-demand-signal-collection.d.ts +26 -0
- package/lib/model/occ-demand-signal-collection.js +61 -0
- package/lib/model/occ-demand-signal-collection.js.map +1 -0
- package/lib/model/occ-demand-signal-data.d.ts +34 -0
- package/lib/model/occ-demand-signal-data.js +61 -0
- package/lib/model/occ-demand-signal-data.js.map +1 -0
- package/lib/model/occ-demand-signal-summary.d.ts +93 -0
- package/lib/model/occ-demand-signal-summary.js +29 -0
- package/lib/model/occ-demand-signal-summary.js.map +1 -0
- package/lib/model/occ-demand-signal-value.d.ts +33 -0
- package/lib/model/occ-demand-signal-value.js +29 -0
- package/lib/model/occ-demand-signal-value.js.map +1 -0
- package/lib/model/occ-demand-signal.d.ts +117 -0
- package/lib/model/occ-demand-signal.js +75 -0
- package/lib/model/occ-demand-signal.js.map +1 -0
- package/lib/model/patch-insert-instruction.d.ts +44 -0
- package/lib/model/patch-insert-instruction.js +59 -0
- package/lib/model/patch-insert-instruction.js.map +1 -0
- package/lib/model/patch-insert-multiple-instruction.d.ts +44 -0
- package/lib/model/patch-insert-multiple-instruction.js +59 -0
- package/lib/model/patch-insert-multiple-instruction.js.map +1 -0
- package/lib/model/patch-instruction.d.ts +29 -0
- package/lib/model/patch-instruction.js +96 -0
- package/lib/model/patch-instruction.js.map +1 -0
- package/lib/model/patch-merge-instruction.d.ts +35 -0
- package/lib/model/patch-merge-instruction.js +54 -0
- package/lib/model/patch-merge-instruction.js.map +1 -0
- package/lib/model/patch-move-instruction.d.ts +44 -0
- package/lib/model/patch-move-instruction.js +58 -0
- package/lib/model/patch-move-instruction.js.map +1 -0
- package/lib/model/patch-occ-demand-signal-details.d.ts +26 -0
- package/lib/model/patch-occ-demand-signal-details.js +61 -0
- package/lib/model/patch-occ-demand-signal-details.js.map +1 -0
- package/lib/model/patch-prohibit-instruction.d.ts +35 -0
- package/lib/model/patch-prohibit-instruction.js +54 -0
- package/lib/model/patch-prohibit-instruction.js.map +1 -0
- package/lib/model/patch-remove-instruction.d.ts +26 -0
- package/lib/model/patch-remove-instruction.js +54 -0
- package/lib/model/patch-remove-instruction.js.map +1 -0
- package/lib/model/patch-replace-instruction.d.ts +32 -0
- package/lib/model/patch-replace-instruction.js +54 -0
- package/lib/model/patch-replace-instruction.js.map +1 -0
- package/lib/model/patch-require-instruction.d.ts +34 -0
- package/lib/model/patch-require-instruction.js +54 -0
- package/lib/model/patch-require-instruction.js.map +1 -0
- package/lib/model/sort-order.d.ts +30 -0
- package/lib/model/sort-order.js +41 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/update-occ-demand-signal-details.d.ts +51 -0
- package/lib/model/update-occ-demand-signal-details.js +29 -0
- package/lib/model/update-occ-demand-signal-details.js.map +1 -0
- package/lib/occdemandsignal-waiter.d.ts +29 -0
- package/lib/occdemandsignal-waiter.js +65 -0
- package/lib/occdemandsignal-waiter.js.map +1 -0
- package/lib/request/change-occ-demand-signal-compartment-request.d.ts +43 -0
- package/lib/request/change-occ-demand-signal-compartment-request.js +15 -0
- package/lib/request/change-occ-demand-signal-compartment-request.js.map +1 -0
- package/lib/request/create-occ-demand-signal-request.d.ts +40 -0
- package/lib/request/create-occ-demand-signal-request.js +15 -0
- package/lib/request/create-occ-demand-signal-request.js.map +1 -0
- package/lib/request/delete-occ-demand-signal-request.d.ts +38 -0
- package/lib/request/delete-occ-demand-signal-request.js +15 -0
- package/lib/request/delete-occ-demand-signal-request.js.map +1 -0
- package/lib/request/get-occ-demand-signal-request.d.ts +30 -0
- package/lib/request/get-occ-demand-signal-request.js +15 -0
- package/lib/request/get-occ-demand-signal-request.js.map +1 -0
- package/lib/request/index.d.ts +26 -0
- package/lib/request/index.js +37 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-occ-demand-signals-request.d.ts +75 -0
- package/lib/request/list-occ-demand-signals-request.js +24 -0
- package/lib/request/list-occ-demand-signals-request.js.map +1 -0
- package/lib/request/patch-occ-demand-signal-request.d.ts +43 -0
- package/lib/request/patch-occ-demand-signal-request.js +15 -0
- package/lib/request/patch-occ-demand-signal-request.js.map +1 -0
- package/lib/request/update-occ-demand-signal-request.d.ts +43 -0
- package/lib/request/update-occ-demand-signal-request.js +15 -0
- package/lib/request/update-occ-demand-signal-request.js.map +1 -0
- package/lib/response/change-occ-demand-signal-compartment-response.d.ts +26 -0
- package/lib/response/change-occ-demand-signal-compartment-response.js +15 -0
- package/lib/response/change-occ-demand-signal-compartment-response.js.map +1 -0
- package/lib/response/create-occ-demand-signal-response.d.ts +34 -0
- package/lib/response/create-occ-demand-signal-response.js +15 -0
- package/lib/response/create-occ-demand-signal-response.js.map +1 -0
- package/lib/response/delete-occ-demand-signal-response.d.ts +26 -0
- package/lib/response/delete-occ-demand-signal-response.js +15 -0
- package/lib/response/delete-occ-demand-signal-response.js.map +1 -0
- package/lib/response/get-occ-demand-signal-response.d.ts +30 -0
- package/lib/response/get-occ-demand-signal-response.js +15 -0
- package/lib/response/get-occ-demand-signal-response.js.map +1 -0
- package/lib/response/index.d.ts +26 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-occ-demand-signals-response.d.ts +31 -0
- package/lib/response/list-occ-demand-signals-response.js +15 -0
- package/lib/response/list-occ-demand-signals-response.js.map +1 -0
- package/lib/response/patch-occ-demand-signal-response.d.ts +34 -0
- package/lib/response/patch-occ-demand-signal-response.js +15 -0
- package/lib/response/patch-occ-demand-signal-response.js.map +1 -0
- package/lib/response/update-occ-demand-signal-response.d.ts +34 -0
- package/lib/response/update-occ-demand-signal-response.js +15 -0
- package/lib/response/update-occ-demand-signal-response.js.map +1 -0
- package/package.json +29 -0
package/lib/client.d.ts
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OCI Control Center Demand Signal API
|
|
3
|
+
* Use the OCI Control Center Demand Signal API to manage Demand Signals.
|
|
4
|
+
* OpenAPI spec version: 20240430
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import common = require("oci-common");
|
|
14
|
+
import * as requests from "./request";
|
|
15
|
+
import * as responses from "./response";
|
|
16
|
+
import { OccDemandSignalWaiter } from "./occdemandsignal-waiter";
|
|
17
|
+
declare const Breaker: any;
|
|
18
|
+
export declare enum OccDemandSignalApiKeys {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
22
|
+
*/
|
|
23
|
+
export declare class OccDemandSignalClient {
|
|
24
|
+
protected static serviceEndpointTemplate: string;
|
|
25
|
+
protected static endpointServiceName: string;
|
|
26
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined;
|
|
27
|
+
protected "_endpoint": string;
|
|
28
|
+
protected "_defaultHeaders": any;
|
|
29
|
+
protected "_waiters": OccDemandSignalWaiter;
|
|
30
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
31
|
+
protected _circuitBreaker: typeof Breaker | null;
|
|
32
|
+
protected _httpOptions: any;
|
|
33
|
+
protected _bodyDuplexMode: any;
|
|
34
|
+
targetService: string;
|
|
35
|
+
protected _regionId: string;
|
|
36
|
+
protected "_region": common.Region;
|
|
37
|
+
protected _lastSetRegionOrRegionId: string;
|
|
38
|
+
protected _httpClient: common.HttpClient;
|
|
39
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
40
|
+
/**
|
|
41
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
42
|
+
*/
|
|
43
|
+
get endpoint(): string;
|
|
44
|
+
/**
|
|
45
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
46
|
+
* @param endpoint The endpoint of the service.
|
|
47
|
+
*/
|
|
48
|
+
set endpoint(endpoint: string);
|
|
49
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
50
|
+
/**
|
|
51
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
52
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
53
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
54
|
+
*/
|
|
55
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean);
|
|
56
|
+
/**
|
|
57
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
58
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
59
|
+
* @param region The region of the service.
|
|
60
|
+
*/
|
|
61
|
+
set region(region: common.Region);
|
|
62
|
+
/**
|
|
63
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
64
|
+
*
|
|
65
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
66
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
67
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
68
|
+
* @param regionId The public region ID.
|
|
69
|
+
*/
|
|
70
|
+
set regionId(regionId: string);
|
|
71
|
+
/**
|
|
72
|
+
* Creates a new OccDemandSignalWaiter for resources for this service.
|
|
73
|
+
*
|
|
74
|
+
* @param config The waiter configuration for termination and delay strategy
|
|
75
|
+
* @return The service waiters.
|
|
76
|
+
*/
|
|
77
|
+
createWaiters(config?: common.WaiterConfiguration): OccDemandSignalWaiter;
|
|
78
|
+
/**
|
|
79
|
+
* Gets the waiters available for resources for this service.
|
|
80
|
+
*
|
|
81
|
+
* @return The service waiters.
|
|
82
|
+
*/
|
|
83
|
+
getWaiters(): OccDemandSignalWaiter;
|
|
84
|
+
/**
|
|
85
|
+
* Shutdown the circuit breaker used by the client when it is no longer needed
|
|
86
|
+
*/
|
|
87
|
+
shutdownCircuitBreaker(): void;
|
|
88
|
+
/**
|
|
89
|
+
* Close the client once it is no longer needed
|
|
90
|
+
*/
|
|
91
|
+
close(): void;
|
|
92
|
+
/**
|
|
93
|
+
* Moves a OccDemandSignal into a different compartment within the same tenancy. For information about moving resources between
|
|
94
|
+
* compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
|
|
95
|
+
*
|
|
96
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
97
|
+
* @param ChangeOccDemandSignalCompartmentRequest
|
|
98
|
+
* @return ChangeOccDemandSignalCompartmentResponse
|
|
99
|
+
* @throws OciError when an error occurs
|
|
100
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/demandsignal/ChangeOccDemandSignalCompartment.ts.html |here} to see how to use ChangeOccDemandSignalCompartment API.
|
|
101
|
+
*/
|
|
102
|
+
changeOccDemandSignalCompartment(changeOccDemandSignalCompartmentRequest: requests.ChangeOccDemandSignalCompartmentRequest): Promise<responses.ChangeOccDemandSignalCompartmentResponse>;
|
|
103
|
+
/**
|
|
104
|
+
* Creates a OccDemandSignal.
|
|
105
|
+
*
|
|
106
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
107
|
+
* @param CreateOccDemandSignalRequest
|
|
108
|
+
* @return CreateOccDemandSignalResponse
|
|
109
|
+
* @throws OciError when an error occurs
|
|
110
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/demandsignal/CreateOccDemandSignal.ts.html |here} to see how to use CreateOccDemandSignal API.
|
|
111
|
+
*/
|
|
112
|
+
createOccDemandSignal(createOccDemandSignalRequest: requests.CreateOccDemandSignalRequest): Promise<responses.CreateOccDemandSignalResponse>;
|
|
113
|
+
/**
|
|
114
|
+
* Deletes a OccDemandSignal.
|
|
115
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
116
|
+
* @param DeleteOccDemandSignalRequest
|
|
117
|
+
* @return DeleteOccDemandSignalResponse
|
|
118
|
+
* @throws OciError when an error occurs
|
|
119
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/demandsignal/DeleteOccDemandSignal.ts.html |here} to see how to use DeleteOccDemandSignal API.
|
|
120
|
+
*/
|
|
121
|
+
deleteOccDemandSignal(deleteOccDemandSignalRequest: requests.DeleteOccDemandSignalRequest): Promise<responses.DeleteOccDemandSignalResponse>;
|
|
122
|
+
/**
|
|
123
|
+
* Gets information about a OccDemandSignal.
|
|
124
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
125
|
+
* @param GetOccDemandSignalRequest
|
|
126
|
+
* @return GetOccDemandSignalResponse
|
|
127
|
+
* @throws OciError when an error occurs
|
|
128
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/demandsignal/GetOccDemandSignal.ts.html |here} to see how to use GetOccDemandSignal API.
|
|
129
|
+
*/
|
|
130
|
+
getOccDemandSignal(getOccDemandSignalRequest: requests.GetOccDemandSignalRequest): Promise<responses.GetOccDemandSignalResponse>;
|
|
131
|
+
/**
|
|
132
|
+
* Gets a list of OccDemandSignals.
|
|
133
|
+
*
|
|
134
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
135
|
+
* @param ListOccDemandSignalsRequest
|
|
136
|
+
* @return ListOccDemandSignalsResponse
|
|
137
|
+
* @throws OciError when an error occurs
|
|
138
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/demandsignal/ListOccDemandSignals.ts.html |here} to see how to use ListOccDemandSignals API.
|
|
139
|
+
*/
|
|
140
|
+
listOccDemandSignals(listOccDemandSignalsRequest: requests.ListOccDemandSignalsRequest): Promise<responses.ListOccDemandSignalsResponse>;
|
|
141
|
+
/**
|
|
142
|
+
* Updates the data of an OccDemandSignal.
|
|
143
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
144
|
+
* @param PatchOccDemandSignalRequest
|
|
145
|
+
* @return PatchOccDemandSignalResponse
|
|
146
|
+
* @throws OciError when an error occurs
|
|
147
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/demandsignal/PatchOccDemandSignal.ts.html |here} to see how to use PatchOccDemandSignal API.
|
|
148
|
+
*/
|
|
149
|
+
patchOccDemandSignal(patchOccDemandSignalRequest: requests.PatchOccDemandSignalRequest): Promise<responses.PatchOccDemandSignalResponse>;
|
|
150
|
+
/**
|
|
151
|
+
* Updates a OccDemandSignal.
|
|
152
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
153
|
+
* @param UpdateOccDemandSignalRequest
|
|
154
|
+
* @return UpdateOccDemandSignalResponse
|
|
155
|
+
* @throws OciError when an error occurs
|
|
156
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.87.0/demandsignal/UpdateOccDemandSignal.ts.html |here} to see how to use UpdateOccDemandSignal API.
|
|
157
|
+
*/
|
|
158
|
+
updateOccDemandSignal(updateOccDemandSignalRequest: requests.UpdateOccDemandSignalRequest): Promise<responses.UpdateOccDemandSignalResponse>;
|
|
159
|
+
}
|
|
160
|
+
export {};
|