oci-onesubscription 2.31.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 +28 -0
- package/index.js +51 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +808 -0
- package/lib/client.js +2027 -0
- package/lib/client.js.map +1 -0
- package/lib/model/aggregated-computed-usage-summary.d.ts +82 -0
- package/lib/model/aggregated-computed-usage-summary.js +81 -0
- package/lib/model/aggregated-computed-usage-summary.js.map +1 -0
- package/lib/model/billing-schedule-product.d.ts +32 -0
- package/lib/model/billing-schedule-product.js +30 -0
- package/lib/model/billing-schedule-product.js.map +1 -0
- package/lib/model/billing-schedule-summary.d.ts +94 -0
- package/lib/model/billing-schedule-summary.js +66 -0
- package/lib/model/billing-schedule-summary.js.map +1 -0
- package/lib/model/commitment-service.d.ts +53 -0
- package/lib/model/commitment-service.js +30 -0
- package/lib/model/commitment-service.js.map +1 -0
- package/lib/model/commitment-summary.d.ts +64 -0
- package/lib/model/commitment-summary.js +30 -0
- package/lib/model/commitment-summary.js.map +1 -0
- package/lib/model/commitment.d.ts +64 -0
- package/lib/model/commitment.js +30 -0
- package/lib/model/commitment.js.map +1 -0
- package/lib/model/computed-usage-aggregation.d.ts +82 -0
- package/lib/model/computed-usage-aggregation.js +79 -0
- package/lib/model/computed-usage-aggregation.js.map +1 -0
- package/lib/model/computed-usage-product.d.ts +58 -0
- package/lib/model/computed-usage-product.js +30 -0
- package/lib/model/computed-usage-product.js.map +1 -0
- package/lib/model/computed-usage-summary.d.ts +163 -0
- package/lib/model/computed-usage-summary.js +85 -0
- package/lib/model/computed-usage-summary.js.map +1 -0
- package/lib/model/computed-usage.d.ts +163 -0
- package/lib/model/computed-usage.js +85 -0
- package/lib/model/computed-usage.js.map +1 -0
- package/lib/model/index.d.ts +87 -0
- package/lib/model/index.js +110 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/invoice-line-summary.d.ts +50 -0
- package/lib/model/invoice-line-summary.js +56 -0
- package/lib/model/invoice-line-summary.js.map +1 -0
- package/lib/model/invoice-summary.d.ts +95 -0
- package/lib/model/invoice-summary.js +96 -0
- package/lib/model/invoice-summary.js.map +1 -0
- package/lib/model/invoiceline-computed-usage-summary.d.ts +74 -0
- package/lib/model/invoiceline-computed-usage-summary.js +81 -0
- package/lib/model/invoiceline-computed-usage-summary.js.map +1 -0
- package/lib/model/invoicing-address.d.ts +65 -0
- package/lib/model/invoicing-address.js +56 -0
- package/lib/model/invoicing-address.js.map +1 -0
- package/lib/model/invoicing-business-partner.d.ts +68 -0
- package/lib/model/invoicing-business-partner.js +30 -0
- package/lib/model/invoicing-business-partner.js.map +1 -0
- package/lib/model/invoicing-currency.d.ts +38 -0
- package/lib/model/invoicing-currency.js +30 -0
- package/lib/model/invoicing-currency.js.map +1 -0
- package/lib/model/invoicing-location.d.ts +58 -0
- package/lib/model/invoicing-location.js +30 -0
- package/lib/model/invoicing-location.js.map +1 -0
- package/lib/model/invoicing-organization.d.ts +33 -0
- package/lib/model/invoicing-organization.js +30 -0
- package/lib/model/invoicing-organization.js.map +1 -0
- package/lib/model/invoicing-payment-term.d.ts +63 -0
- package/lib/model/invoicing-payment-term.js +30 -0
- package/lib/model/invoicing-payment-term.js.map +1 -0
- package/lib/model/invoicing-product.d.ts +53 -0
- package/lib/model/invoicing-product.js +30 -0
- package/lib/model/invoicing-product.js.map +1 -0
- package/lib/model/invoicing-user.d.ts +63 -0
- package/lib/model/invoicing-user.js +30 -0
- package/lib/model/invoicing-user.js.map +1 -0
- package/lib/model/organization-subscription-summary.d.ts +60 -0
- package/lib/model/organization-subscription-summary.js +58 -0
- package/lib/model/organization-subscription-summary.js.map +1 -0
- package/lib/model/orgnization-subs-currency.d.ts +38 -0
- package/lib/model/orgnization-subs-currency.js +30 -0
- package/lib/model/orgnization-subs-currency.js.map +1 -0
- package/lib/model/rate-card-product.d.ts +53 -0
- package/lib/model/rate-card-product.js +30 -0
- package/lib/model/rate-card-product.js.map +1 -0
- package/lib/model/rate-card-summary.d.ts +66 -0
- package/lib/model/rate-card-summary.js +70 -0
- package/lib/model/rate-card-summary.js.map +1 -0
- package/lib/model/rate-card-tier.d.ts +38 -0
- package/lib/model/rate-card-tier.js +30 -0
- package/lib/model/rate-card-tier.js.map +1 -0
- package/lib/model/subscribed-service-address.d.ts +65 -0
- package/lib/model/subscribed-service-address.js +58 -0
- package/lib/model/subscribed-service-address.js.map +1 -0
- package/lib/model/subscribed-service-business-partner.d.ts +68 -0
- package/lib/model/subscribed-service-business-partner.js +30 -0
- package/lib/model/subscribed-service-business-partner.js.map +1 -0
- package/lib/model/subscribed-service-location.d.ts +58 -0
- package/lib/model/subscribed-service-location.js +30 -0
- package/lib/model/subscribed-service-location.js.map +1 -0
- package/lib/model/subscribed-service-payment-term.d.ts +63 -0
- package/lib/model/subscribed-service-payment-term.js +30 -0
- package/lib/model/subscribed-service-payment-term.js.map +1 -0
- package/lib/model/subscribed-service-summary.d.ts +507 -0
- package/lib/model/subscribed-service-summary.js +146 -0
- package/lib/model/subscribed-service-summary.js.map +1 -0
- package/lib/model/subscribed-service-user.d.ts +63 -0
- package/lib/model/subscribed-service-user.js +30 -0
- package/lib/model/subscribed-service-user.js.map +1 -0
- package/lib/model/subscribed-service.d.ts +517 -0
- package/lib/model/subscribed-service.js +166 -0
- package/lib/model/subscribed-service.js.map +1 -0
- package/lib/model/subscription-currency.d.ts +38 -0
- package/lib/model/subscription-currency.js +30 -0
- package/lib/model/subscription-currency.js.map +1 -0
- package/lib/model/subscription-product.d.ts +43 -0
- package/lib/model/subscription-product.js +30 -0
- package/lib/model/subscription-product.js.map +1 -0
- package/lib/model/subscription-subscribed-service.d.ts +146 -0
- package/lib/model/subscription-subscribed-service.js +66 -0
- package/lib/model/subscription-subscribed-service.js.map +1 -0
- package/lib/model/subscription-summary.d.ts +60 -0
- package/lib/model/subscription-summary.js +66 -0
- package/lib/model/subscription-summary.js.map +1 -0
- package/lib/request/get-commitment-request.d.ts +27 -0
- package/lib/request/get-commitment-request.js +15 -0
- package/lib/request/get-commitment-request.js.map +1 -0
- package/lib/request/get-computed-usage-request.d.ts +39 -0
- package/lib/request/get-computed-usage-request.js +15 -0
- package/lib/request/get-computed-usage-request.js.map +1 -0
- package/lib/request/get-subscribed-service-request.d.ts +40 -0
- package/lib/request/get-subscribed-service-request.js +15 -0
- package/lib/request/get-subscribed-service-request.js.map +1 -0
- package/lib/request/index.d.ts +39 -0
- package/lib/request/index.js +56 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-aggregated-computed-usages-request.d.ts +72 -0
- package/lib/request/list-aggregated-computed-usages-request.js +26 -0
- package/lib/request/list-aggregated-computed-usages-request.js.map +1 -0
- package/lib/request/list-billing-schedules-request.d.ts +69 -0
- package/lib/request/list-billing-schedules-request.js +29 -0
- package/lib/request/list-billing-schedules-request.js.map +1 -0
- package/lib/request/list-commitments-request.d.ts +64 -0
- package/lib/request/list-commitments-request.js +29 -0
- package/lib/request/list-commitments-request.js.map +1 -0
- package/lib/request/list-computed-usages-request.d.ts +85 -0
- package/lib/request/list-computed-usages-request.js +30 -0
- package/lib/request/list-computed-usages-request.js.map +1 -0
- package/lib/request/list-invoiceline-computed-usages-request.d.ts +72 -0
- package/lib/request/list-invoiceline-computed-usages-request.js +29 -0
- package/lib/request/list-invoiceline-computed-usages-request.js.map +1 -0
- package/lib/request/list-invoices-request.d.ts +81 -0
- package/lib/request/list-invoices-request.js +29 -0
- package/lib/request/list-invoices-request.js.map +1 -0
- package/lib/request/list-organization-subscriptions-request.d.ts +59 -0
- package/lib/request/list-organization-subscriptions-request.js +29 -0
- package/lib/request/list-organization-subscriptions-request.js.map +1 -0
- package/lib/request/list-rate-cards-request.d.ts +75 -0
- package/lib/request/list-rate-cards-request.js +29 -0
- package/lib/request/list-rate-cards-request.js.map +1 -0
- package/lib/request/list-subscribed-services-request.d.ts +73 -0
- package/lib/request/list-subscribed-services-request.js +29 -0
- package/lib/request/list-subscribed-services-request.js.map +1 -0
- package/lib/request/list-subscriptions-request.d.ts +75 -0
- package/lib/request/list-subscriptions-request.js +29 -0
- package/lib/request/list-subscriptions-request.js.map +1 -0
- package/lib/response/get-commitment-response.d.ts +25 -0
- package/lib/response/get-commitment-response.js +15 -0
- package/lib/response/get-commitment-response.js.map +1 -0
- package/lib/response/get-computed-usage-response.d.ts +25 -0
- package/lib/response/get-computed-usage-response.js +15 -0
- package/lib/response/get-computed-usage-response.js.map +1 -0
- package/lib/response/get-subscribed-service-response.d.ts +25 -0
- package/lib/response/get-subscribed-service-response.js +15 -0
- package/lib/response/get-subscribed-service-response.js.map +1 -0
- package/lib/response/index.d.ts +39 -0
- package/lib/response/index.js +16 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-aggregated-computed-usages-response.d.ts +32 -0
- package/lib/response/list-aggregated-computed-usages-response.js +15 -0
- package/lib/response/list-aggregated-computed-usages-response.js.map +1 -0
- package/lib/response/list-billing-schedules-response.d.ts +32 -0
- package/lib/response/list-billing-schedules-response.js +15 -0
- package/lib/response/list-billing-schedules-response.js.map +1 -0
- package/lib/response/list-commitments-response.d.ts +32 -0
- package/lib/response/list-commitments-response.js +15 -0
- package/lib/response/list-commitments-response.js.map +1 -0
- package/lib/response/list-computed-usages-response.d.ts +32 -0
- package/lib/response/list-computed-usages-response.js +15 -0
- package/lib/response/list-computed-usages-response.js.map +1 -0
- package/lib/response/list-invoiceline-computed-usages-response.d.ts +32 -0
- package/lib/response/list-invoiceline-computed-usages-response.js +15 -0
- package/lib/response/list-invoiceline-computed-usages-response.js.map +1 -0
- package/lib/response/list-invoices-response.d.ts +32 -0
- package/lib/response/list-invoices-response.js +15 -0
- package/lib/response/list-invoices-response.js.map +1 -0
- package/lib/response/list-organization-subscriptions-response.d.ts +32 -0
- package/lib/response/list-organization-subscriptions-response.js +15 -0
- package/lib/response/list-organization-subscriptions-response.js.map +1 -0
- package/lib/response/list-rate-cards-response.d.ts +27 -0
- package/lib/response/list-rate-cards-response.js +15 -0
- package/lib/response/list-rate-cards-response.js.map +1 -0
- package/lib/response/list-subscribed-services-response.d.ts +32 -0
- package/lib/response/list-subscribed-services-response.js +15 -0
- package/lib/response/list-subscribed-services-response.js.map +1 -0
- package/lib/response/list-subscriptions-response.d.ts +32 -0
- package/lib/response/list-subscriptions-response.js +15 -0
- package/lib/response/list-subscriptions-response.js.map +1 -0
- package/package.json +29 -0
package/lib/client.d.ts
ADDED
|
@@ -0,0 +1,808 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneSubscription APIs
|
|
3
|
+
* OneSubscription APIs
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20190111
|
|
6
|
+
* Contact: kuaskum_org_ww@oracle.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2022, 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
|
+
import common = require("oci-common");
|
|
15
|
+
import * as requests from "./request";
|
|
16
|
+
import * as model from "./model";
|
|
17
|
+
import * as responses from "./response";
|
|
18
|
+
export declare enum BillingScheduleApiKeys {
|
|
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 BillingScheduleClient {
|
|
24
|
+
protected static serviceEndpointTemplate: string;
|
|
25
|
+
protected static endpointServiceName: string;
|
|
26
|
+
protected "_endpoint": string;
|
|
27
|
+
protected "_defaultHeaders": any;
|
|
28
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
29
|
+
protected _circuitBreaker: null;
|
|
30
|
+
protected _httpOptions: any;
|
|
31
|
+
targetService: string;
|
|
32
|
+
protected _httpClient: common.HttpClient;
|
|
33
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
34
|
+
/**
|
|
35
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
36
|
+
*/
|
|
37
|
+
get endpoint(): string;
|
|
38
|
+
/**
|
|
39
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
40
|
+
* @param endpoint The endpoint of the service.
|
|
41
|
+
*/
|
|
42
|
+
set endpoint(endpoint: string);
|
|
43
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
44
|
+
/**
|
|
45
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
46
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
47
|
+
* @param region The region of the service.
|
|
48
|
+
*/
|
|
49
|
+
set region(region: common.Region);
|
|
50
|
+
/**
|
|
51
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
52
|
+
*
|
|
53
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
54
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
55
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
56
|
+
* @param regionId The public region ID.
|
|
57
|
+
*/
|
|
58
|
+
set regionId(regionId: string);
|
|
59
|
+
/**
|
|
60
|
+
* This list API returns all billing schedules for given subscription id and
|
|
61
|
+
* for a particular Subscribed Service if provided
|
|
62
|
+
*
|
|
63
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
64
|
+
* @param ListBillingSchedulesRequest
|
|
65
|
+
* @return ListBillingSchedulesResponse
|
|
66
|
+
* @throws OciError when an error occurs
|
|
67
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.31.0/onesubscription/ListBillingSchedules.ts.html |here} to see how to use ListBillingSchedules API.
|
|
68
|
+
*/
|
|
69
|
+
listBillingSchedules(listBillingSchedulesRequest: requests.ListBillingSchedulesRequest): Promise<responses.ListBillingSchedulesResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* NOTE: This function is deprecated in favor of listBillingSchedulesRecordIterator function.
|
|
72
|
+
* Creates a new async iterator which will iterate over the models.BillingScheduleSummary objects
|
|
73
|
+
* contained in responses from the listBillingSchedules operation. This iterator will fetch more data from the
|
|
74
|
+
* server as needed.
|
|
75
|
+
*
|
|
76
|
+
* @param request a request which can be sent to the service operation
|
|
77
|
+
*/
|
|
78
|
+
listAllBillingSchedules(request: requests.ListBillingSchedulesRequest): AsyncIterableIterator<model.BillingScheduleSummary>;
|
|
79
|
+
/**
|
|
80
|
+
* NOTE: This function is deprecated in favor of listBillingSchedulesResponseIterator function.
|
|
81
|
+
* Creates a new async iterator which will iterate over the responses received from the listBillingSchedules operation. This iterator
|
|
82
|
+
* will fetch more data from the server as needed.
|
|
83
|
+
*
|
|
84
|
+
* @param request a request which can be sent to the service operation
|
|
85
|
+
*/
|
|
86
|
+
listAllBillingSchedulesResponses(request: requests.ListBillingSchedulesRequest): AsyncIterableIterator<responses.ListBillingSchedulesResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* Creates a new async iterator which will iterate over the models.BillingScheduleSummary objects
|
|
89
|
+
* contained in responses from the listBillingSchedules operation. This iterator will fetch more data from the
|
|
90
|
+
* server as needed.
|
|
91
|
+
*
|
|
92
|
+
* @param request a request which can be sent to the service operation
|
|
93
|
+
*/
|
|
94
|
+
listBillingSchedulesRecordIterator(request: requests.ListBillingSchedulesRequest): AsyncIterableIterator<model.BillingScheduleSummary>;
|
|
95
|
+
/**
|
|
96
|
+
* Creates a new async iterator which will iterate over the responses received from the listBillingSchedules operation. This iterator
|
|
97
|
+
* will fetch more data from the server as needed.
|
|
98
|
+
*
|
|
99
|
+
* @param request a request which can be sent to the service operation
|
|
100
|
+
*/
|
|
101
|
+
listBillingSchedulesResponseIterator(request: requests.ListBillingSchedulesRequest): AsyncIterableIterator<responses.ListBillingSchedulesResponse>;
|
|
102
|
+
}
|
|
103
|
+
export declare enum CommitmentApiKeys {
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
107
|
+
*/
|
|
108
|
+
export declare class CommitmentClient {
|
|
109
|
+
protected static serviceEndpointTemplate: string;
|
|
110
|
+
protected static endpointServiceName: string;
|
|
111
|
+
protected "_endpoint": string;
|
|
112
|
+
protected "_defaultHeaders": any;
|
|
113
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
114
|
+
protected _circuitBreaker: null;
|
|
115
|
+
protected _httpOptions: any;
|
|
116
|
+
targetService: string;
|
|
117
|
+
protected _httpClient: common.HttpClient;
|
|
118
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
119
|
+
/**
|
|
120
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
121
|
+
*/
|
|
122
|
+
get endpoint(): string;
|
|
123
|
+
/**
|
|
124
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
125
|
+
* @param endpoint The endpoint of the service.
|
|
126
|
+
*/
|
|
127
|
+
set endpoint(endpoint: string);
|
|
128
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
129
|
+
/**
|
|
130
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
131
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
132
|
+
* @param region The region of the service.
|
|
133
|
+
*/
|
|
134
|
+
set region(region: common.Region);
|
|
135
|
+
/**
|
|
136
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
137
|
+
*
|
|
138
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
139
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
140
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
141
|
+
* @param regionId The public region ID.
|
|
142
|
+
*/
|
|
143
|
+
set regionId(regionId: string);
|
|
144
|
+
/**
|
|
145
|
+
* This API returns the commitment details corresponding to the id provided
|
|
146
|
+
*
|
|
147
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
148
|
+
* @param GetCommitmentRequest
|
|
149
|
+
* @return GetCommitmentResponse
|
|
150
|
+
* @throws OciError when an error occurs
|
|
151
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.31.0/onesubscription/GetCommitment.ts.html |here} to see how to use GetCommitment API.
|
|
152
|
+
*/
|
|
153
|
+
getCommitment(getCommitmentRequest: requests.GetCommitmentRequest): Promise<responses.GetCommitmentResponse>;
|
|
154
|
+
/**
|
|
155
|
+
* This list API returns all commitments for a particular Subscribed Service
|
|
156
|
+
*
|
|
157
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
158
|
+
* @param ListCommitmentsRequest
|
|
159
|
+
* @return ListCommitmentsResponse
|
|
160
|
+
* @throws OciError when an error occurs
|
|
161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.31.0/onesubscription/ListCommitments.ts.html |here} to see how to use ListCommitments API.
|
|
162
|
+
*/
|
|
163
|
+
listCommitments(listCommitmentsRequest: requests.ListCommitmentsRequest): Promise<responses.ListCommitmentsResponse>;
|
|
164
|
+
/**
|
|
165
|
+
* NOTE: This function is deprecated in favor of listCommitmentsRecordIterator function.
|
|
166
|
+
* Creates a new async iterator which will iterate over the models.CommitmentSummary objects
|
|
167
|
+
* contained in responses from the listCommitments operation. This iterator will fetch more data from the
|
|
168
|
+
* server as needed.
|
|
169
|
+
*
|
|
170
|
+
* @param request a request which can be sent to the service operation
|
|
171
|
+
*/
|
|
172
|
+
listAllCommitments(request: requests.ListCommitmentsRequest): AsyncIterableIterator<model.CommitmentSummary>;
|
|
173
|
+
/**
|
|
174
|
+
* NOTE: This function is deprecated in favor of listCommitmentsResponseIterator function.
|
|
175
|
+
* Creates a new async iterator which will iterate over the responses received from the listCommitments operation. This iterator
|
|
176
|
+
* will fetch more data from the server as needed.
|
|
177
|
+
*
|
|
178
|
+
* @param request a request which can be sent to the service operation
|
|
179
|
+
*/
|
|
180
|
+
listAllCommitmentsResponses(request: requests.ListCommitmentsRequest): AsyncIterableIterator<responses.ListCommitmentsResponse>;
|
|
181
|
+
/**
|
|
182
|
+
* Creates a new async iterator which will iterate over the models.CommitmentSummary objects
|
|
183
|
+
* contained in responses from the listCommitments operation. This iterator will fetch more data from the
|
|
184
|
+
* server as needed.
|
|
185
|
+
*
|
|
186
|
+
* @param request a request which can be sent to the service operation
|
|
187
|
+
*/
|
|
188
|
+
listCommitmentsRecordIterator(request: requests.ListCommitmentsRequest): AsyncIterableIterator<model.CommitmentSummary>;
|
|
189
|
+
/**
|
|
190
|
+
* Creates a new async iterator which will iterate over the responses received from the listCommitments operation. This iterator
|
|
191
|
+
* will fetch more data from the server as needed.
|
|
192
|
+
*
|
|
193
|
+
* @param request a request which can be sent to the service operation
|
|
194
|
+
*/
|
|
195
|
+
listCommitmentsResponseIterator(request: requests.ListCommitmentsRequest): AsyncIterableIterator<responses.ListCommitmentsResponse>;
|
|
196
|
+
}
|
|
197
|
+
export declare enum ComputedUsageApiKeys {
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
201
|
+
*/
|
|
202
|
+
export declare class ComputedUsageClient {
|
|
203
|
+
protected static serviceEndpointTemplate: string;
|
|
204
|
+
protected static endpointServiceName: string;
|
|
205
|
+
protected "_endpoint": string;
|
|
206
|
+
protected "_defaultHeaders": any;
|
|
207
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
208
|
+
protected _circuitBreaker: null;
|
|
209
|
+
protected _httpOptions: any;
|
|
210
|
+
targetService: string;
|
|
211
|
+
protected _httpClient: common.HttpClient;
|
|
212
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
213
|
+
/**
|
|
214
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
215
|
+
*/
|
|
216
|
+
get endpoint(): string;
|
|
217
|
+
/**
|
|
218
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
219
|
+
* @param endpoint The endpoint of the service.
|
|
220
|
+
*/
|
|
221
|
+
set endpoint(endpoint: string);
|
|
222
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
223
|
+
/**
|
|
224
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
225
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
226
|
+
* @param region The region of the service.
|
|
227
|
+
*/
|
|
228
|
+
set region(region: common.Region);
|
|
229
|
+
/**
|
|
230
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
231
|
+
*
|
|
232
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
233
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
234
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
235
|
+
* @param regionId The public region ID.
|
|
236
|
+
*/
|
|
237
|
+
set regionId(regionId: string);
|
|
238
|
+
/**
|
|
239
|
+
* This is an API which returns Computed Usage corresponding to the id passed
|
|
240
|
+
*
|
|
241
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
242
|
+
* @param GetComputedUsageRequest
|
|
243
|
+
* @return GetComputedUsageResponse
|
|
244
|
+
* @throws OciError when an error occurs
|
|
245
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.31.0/onesubscription/GetComputedUsage.ts.html |here} to see how to use GetComputedUsage API.
|
|
246
|
+
*/
|
|
247
|
+
getComputedUsage(getComputedUsageRequest: requests.GetComputedUsageRequest): Promise<responses.GetComputedUsageResponse>;
|
|
248
|
+
/**
|
|
249
|
+
* This is a collection API which returns a list of aggregated computed usage details (there can be multiple Parent Products under a given SubID each of which is represented under Subscription Service Line # in SPM).
|
|
250
|
+
*
|
|
251
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
252
|
+
* @param ListAggregatedComputedUsagesRequest
|
|
253
|
+
* @return ListAggregatedComputedUsagesResponse
|
|
254
|
+
* @throws OciError when an error occurs
|
|
255
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.31.0/onesubscription/ListAggregatedComputedUsages.ts.html |here} to see how to use ListAggregatedComputedUsages API.
|
|
256
|
+
*/
|
|
257
|
+
listAggregatedComputedUsages(listAggregatedComputedUsagesRequest: requests.ListAggregatedComputedUsagesRequest): Promise<responses.ListAggregatedComputedUsagesResponse>;
|
|
258
|
+
/**
|
|
259
|
+
* NOTE: This function is deprecated in favor of listAggregatedComputedUsagesRecordIterator function.
|
|
260
|
+
* Creates a new async iterator which will iterate over the models.AggregatedComputedUsageSummary objects
|
|
261
|
+
* contained in responses from the listAggregatedComputedUsages operation. This iterator will fetch more data from the
|
|
262
|
+
* server as needed.
|
|
263
|
+
*
|
|
264
|
+
* @param request a request which can be sent to the service operation
|
|
265
|
+
*/
|
|
266
|
+
listAllAggregatedComputedUsages(request: requests.ListAggregatedComputedUsagesRequest): AsyncIterableIterator<model.AggregatedComputedUsageSummary>;
|
|
267
|
+
/**
|
|
268
|
+
* NOTE: This function is deprecated in favor of listAggregatedComputedUsagesResponseIterator function.
|
|
269
|
+
* Creates a new async iterator which will iterate over the responses received from the listAggregatedComputedUsages operation. This iterator
|
|
270
|
+
* will fetch more data from the server as needed.
|
|
271
|
+
*
|
|
272
|
+
* @param request a request which can be sent to the service operation
|
|
273
|
+
*/
|
|
274
|
+
listAllAggregatedComputedUsagesResponses(request: requests.ListAggregatedComputedUsagesRequest): AsyncIterableIterator<responses.ListAggregatedComputedUsagesResponse>;
|
|
275
|
+
/**
|
|
276
|
+
* Creates a new async iterator which will iterate over the models.AggregatedComputedUsageSummary objects
|
|
277
|
+
* contained in responses from the listAggregatedComputedUsages operation. This iterator will fetch more data from the
|
|
278
|
+
* server as needed.
|
|
279
|
+
*
|
|
280
|
+
* @param request a request which can be sent to the service operation
|
|
281
|
+
*/
|
|
282
|
+
listAggregatedComputedUsagesRecordIterator(request: requests.ListAggregatedComputedUsagesRequest): AsyncIterableIterator<model.AggregatedComputedUsageSummary>;
|
|
283
|
+
/**
|
|
284
|
+
* Creates a new async iterator which will iterate over the responses received from the listAggregatedComputedUsages operation. This iterator
|
|
285
|
+
* will fetch more data from the server as needed.
|
|
286
|
+
*
|
|
287
|
+
* @param request a request which can be sent to the service operation
|
|
288
|
+
*/
|
|
289
|
+
listAggregatedComputedUsagesResponseIterator(request: requests.ListAggregatedComputedUsagesRequest): AsyncIterableIterator<responses.ListAggregatedComputedUsagesResponse>;
|
|
290
|
+
/**
|
|
291
|
+
* This is a collection API which returns a list of Computed Usages for given filters.
|
|
292
|
+
*
|
|
293
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
294
|
+
* @param ListComputedUsagesRequest
|
|
295
|
+
* @return ListComputedUsagesResponse
|
|
296
|
+
* @throws OciError when an error occurs
|
|
297
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.31.0/onesubscription/ListComputedUsages.ts.html |here} to see how to use ListComputedUsages API.
|
|
298
|
+
*/
|
|
299
|
+
listComputedUsages(listComputedUsagesRequest: requests.ListComputedUsagesRequest): Promise<responses.ListComputedUsagesResponse>;
|
|
300
|
+
/**
|
|
301
|
+
* NOTE: This function is deprecated in favor of listComputedUsagesRecordIterator function.
|
|
302
|
+
* Creates a new async iterator which will iterate over the models.ComputedUsageSummary objects
|
|
303
|
+
* contained in responses from the listComputedUsages operation. This iterator will fetch more data from the
|
|
304
|
+
* server as needed.
|
|
305
|
+
*
|
|
306
|
+
* @param request a request which can be sent to the service operation
|
|
307
|
+
*/
|
|
308
|
+
listAllComputedUsages(request: requests.ListComputedUsagesRequest): AsyncIterableIterator<model.ComputedUsageSummary>;
|
|
309
|
+
/**
|
|
310
|
+
* NOTE: This function is deprecated in favor of listComputedUsagesResponseIterator function.
|
|
311
|
+
* Creates a new async iterator which will iterate over the responses received from the listComputedUsages operation. This iterator
|
|
312
|
+
* will fetch more data from the server as needed.
|
|
313
|
+
*
|
|
314
|
+
* @param request a request which can be sent to the service operation
|
|
315
|
+
*/
|
|
316
|
+
listAllComputedUsagesResponses(request: requests.ListComputedUsagesRequest): AsyncIterableIterator<responses.ListComputedUsagesResponse>;
|
|
317
|
+
/**
|
|
318
|
+
* Creates a new async iterator which will iterate over the models.ComputedUsageSummary objects
|
|
319
|
+
* contained in responses from the listComputedUsages operation. This iterator will fetch more data from the
|
|
320
|
+
* server as needed.
|
|
321
|
+
*
|
|
322
|
+
* @param request a request which can be sent to the service operation
|
|
323
|
+
*/
|
|
324
|
+
listComputedUsagesRecordIterator(request: requests.ListComputedUsagesRequest): AsyncIterableIterator<model.ComputedUsageSummary>;
|
|
325
|
+
/**
|
|
326
|
+
* Creates a new async iterator which will iterate over the responses received from the listComputedUsages operation. This iterator
|
|
327
|
+
* will fetch more data from the server as needed.
|
|
328
|
+
*
|
|
329
|
+
* @param request a request which can be sent to the service operation
|
|
330
|
+
*/
|
|
331
|
+
listComputedUsagesResponseIterator(request: requests.ListComputedUsagesRequest): AsyncIterableIterator<responses.ListComputedUsagesResponse>;
|
|
332
|
+
}
|
|
333
|
+
export declare enum InvoiceSummaryApiKeys {
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
337
|
+
*/
|
|
338
|
+
export declare class InvoiceSummaryClient {
|
|
339
|
+
protected static serviceEndpointTemplate: string;
|
|
340
|
+
protected static endpointServiceName: string;
|
|
341
|
+
protected "_endpoint": string;
|
|
342
|
+
protected "_defaultHeaders": any;
|
|
343
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
344
|
+
protected _circuitBreaker: null;
|
|
345
|
+
protected _httpOptions: any;
|
|
346
|
+
targetService: string;
|
|
347
|
+
protected _httpClient: common.HttpClient;
|
|
348
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
349
|
+
/**
|
|
350
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
351
|
+
*/
|
|
352
|
+
get endpoint(): string;
|
|
353
|
+
/**
|
|
354
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
355
|
+
* @param endpoint The endpoint of the service.
|
|
356
|
+
*/
|
|
357
|
+
set endpoint(endpoint: string);
|
|
358
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
359
|
+
/**
|
|
360
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
361
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
362
|
+
* @param region The region of the service.
|
|
363
|
+
*/
|
|
364
|
+
set region(region: common.Region);
|
|
365
|
+
/**
|
|
366
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
367
|
+
*
|
|
368
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
369
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
370
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
371
|
+
* @param regionId The public region ID.
|
|
372
|
+
*/
|
|
373
|
+
set regionId(regionId: string);
|
|
374
|
+
/**
|
|
375
|
+
* This is a collection API which returns a list of Invoiced Computed Usages for given Invoiceline id.
|
|
376
|
+
*
|
|
377
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
378
|
+
* @param ListInvoicelineComputedUsagesRequest
|
|
379
|
+
* @return ListInvoicelineComputedUsagesResponse
|
|
380
|
+
* @throws OciError when an error occurs
|
|
381
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.31.0/onesubscription/ListInvoicelineComputedUsages.ts.html |here} to see how to use ListInvoicelineComputedUsages API.
|
|
382
|
+
*/
|
|
383
|
+
listInvoicelineComputedUsages(listInvoicelineComputedUsagesRequest: requests.ListInvoicelineComputedUsagesRequest): Promise<responses.ListInvoicelineComputedUsagesResponse>;
|
|
384
|
+
/**
|
|
385
|
+
* NOTE: This function is deprecated in favor of listInvoicelineComputedUsagesRecordIterator function.
|
|
386
|
+
* Creates a new async iterator which will iterate over the models.InvoicelineComputedUsageSummary objects
|
|
387
|
+
* contained in responses from the listInvoicelineComputedUsages operation. This iterator will fetch more data from the
|
|
388
|
+
* server as needed.
|
|
389
|
+
*
|
|
390
|
+
* @param request a request which can be sent to the service operation
|
|
391
|
+
*/
|
|
392
|
+
listAllInvoicelineComputedUsages(request: requests.ListInvoicelineComputedUsagesRequest): AsyncIterableIterator<model.InvoicelineComputedUsageSummary>;
|
|
393
|
+
/**
|
|
394
|
+
* NOTE: This function is deprecated in favor of listInvoicelineComputedUsagesResponseIterator function.
|
|
395
|
+
* Creates a new async iterator which will iterate over the responses received from the listInvoicelineComputedUsages operation. This iterator
|
|
396
|
+
* will fetch more data from the server as needed.
|
|
397
|
+
*
|
|
398
|
+
* @param request a request which can be sent to the service operation
|
|
399
|
+
*/
|
|
400
|
+
listAllInvoicelineComputedUsagesResponses(request: requests.ListInvoicelineComputedUsagesRequest): AsyncIterableIterator<responses.ListInvoicelineComputedUsagesResponse>;
|
|
401
|
+
/**
|
|
402
|
+
* Creates a new async iterator which will iterate over the models.InvoicelineComputedUsageSummary objects
|
|
403
|
+
* contained in responses from the listInvoicelineComputedUsages operation. This iterator will fetch more data from the
|
|
404
|
+
* server as needed.
|
|
405
|
+
*
|
|
406
|
+
* @param request a request which can be sent to the service operation
|
|
407
|
+
*/
|
|
408
|
+
listInvoicelineComputedUsagesRecordIterator(request: requests.ListInvoicelineComputedUsagesRequest): AsyncIterableIterator<model.InvoicelineComputedUsageSummary>;
|
|
409
|
+
/**
|
|
410
|
+
* Creates a new async iterator which will iterate over the responses received from the listInvoicelineComputedUsages operation. This iterator
|
|
411
|
+
* will fetch more data from the server as needed.
|
|
412
|
+
*
|
|
413
|
+
* @param request a request which can be sent to the service operation
|
|
414
|
+
*/
|
|
415
|
+
listInvoicelineComputedUsagesResponseIterator(request: requests.ListInvoicelineComputedUsagesRequest): AsyncIterableIterator<responses.ListInvoicelineComputedUsagesResponse>;
|
|
416
|
+
/**
|
|
417
|
+
* This is a collection API which returns a list of Invoices for given filters.
|
|
418
|
+
*
|
|
419
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
420
|
+
* @param ListInvoicesRequest
|
|
421
|
+
* @return ListInvoicesResponse
|
|
422
|
+
* @throws OciError when an error occurs
|
|
423
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.31.0/onesubscription/ListInvoices.ts.html |here} to see how to use ListInvoices API.
|
|
424
|
+
*/
|
|
425
|
+
listInvoices(listInvoicesRequest: requests.ListInvoicesRequest): Promise<responses.ListInvoicesResponse>;
|
|
426
|
+
/**
|
|
427
|
+
* NOTE: This function is deprecated in favor of listInvoicesRecordIterator function.
|
|
428
|
+
* Creates a new async iterator which will iterate over the models.InvoiceSummary objects
|
|
429
|
+
* contained in responses from the listInvoices operation. This iterator will fetch more data from the
|
|
430
|
+
* server as needed.
|
|
431
|
+
*
|
|
432
|
+
* @param request a request which can be sent to the service operation
|
|
433
|
+
*/
|
|
434
|
+
listAllInvoices(request: requests.ListInvoicesRequest): AsyncIterableIterator<model.InvoiceSummary>;
|
|
435
|
+
/**
|
|
436
|
+
* NOTE: This function is deprecated in favor of listInvoicesResponseIterator function.
|
|
437
|
+
* Creates a new async iterator which will iterate over the responses received from the listInvoices operation. This iterator
|
|
438
|
+
* will fetch more data from the server as needed.
|
|
439
|
+
*
|
|
440
|
+
* @param request a request which can be sent to the service operation
|
|
441
|
+
*/
|
|
442
|
+
listAllInvoicesResponses(request: requests.ListInvoicesRequest): AsyncIterableIterator<responses.ListInvoicesResponse>;
|
|
443
|
+
/**
|
|
444
|
+
* Creates a new async iterator which will iterate over the models.InvoiceSummary objects
|
|
445
|
+
* contained in responses from the listInvoices operation. This iterator will fetch more data from the
|
|
446
|
+
* server as needed.
|
|
447
|
+
*
|
|
448
|
+
* @param request a request which can be sent to the service operation
|
|
449
|
+
*/
|
|
450
|
+
listInvoicesRecordIterator(request: requests.ListInvoicesRequest): AsyncIterableIterator<model.InvoiceSummary>;
|
|
451
|
+
/**
|
|
452
|
+
* Creates a new async iterator which will iterate over the responses received from the listInvoices operation. This iterator
|
|
453
|
+
* will fetch more data from the server as needed.
|
|
454
|
+
*
|
|
455
|
+
* @param request a request which can be sent to the service operation
|
|
456
|
+
*/
|
|
457
|
+
listInvoicesResponseIterator(request: requests.ListInvoicesRequest): AsyncIterableIterator<responses.ListInvoicesResponse>;
|
|
458
|
+
}
|
|
459
|
+
export declare enum OrganizationSubscriptionApiKeys {
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
463
|
+
*/
|
|
464
|
+
export declare class OrganizationSubscriptionClient {
|
|
465
|
+
protected static serviceEndpointTemplate: string;
|
|
466
|
+
protected static endpointServiceName: string;
|
|
467
|
+
protected "_endpoint": string;
|
|
468
|
+
protected "_defaultHeaders": any;
|
|
469
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
470
|
+
protected _circuitBreaker: null;
|
|
471
|
+
protected _httpOptions: any;
|
|
472
|
+
targetService: string;
|
|
473
|
+
protected _httpClient: common.HttpClient;
|
|
474
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
475
|
+
/**
|
|
476
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
477
|
+
*/
|
|
478
|
+
get endpoint(): string;
|
|
479
|
+
/**
|
|
480
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
481
|
+
* @param endpoint The endpoint of the service.
|
|
482
|
+
*/
|
|
483
|
+
set endpoint(endpoint: string);
|
|
484
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
485
|
+
/**
|
|
486
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
487
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
488
|
+
* @param region The region of the service.
|
|
489
|
+
*/
|
|
490
|
+
set region(region: common.Region);
|
|
491
|
+
/**
|
|
492
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
493
|
+
*
|
|
494
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
495
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
496
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
497
|
+
* @param regionId The public region ID.
|
|
498
|
+
*/
|
|
499
|
+
set regionId(regionId: string);
|
|
500
|
+
/**
|
|
501
|
+
* API that returns data for the list of subscription ids returned from Organizations API
|
|
502
|
+
*
|
|
503
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
504
|
+
* @param ListOrganizationSubscriptionsRequest
|
|
505
|
+
* @return ListOrganizationSubscriptionsResponse
|
|
506
|
+
* @throws OciError when an error occurs
|
|
507
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.31.0/onesubscription/ListOrganizationSubscriptions.ts.html |here} to see how to use ListOrganizationSubscriptions API.
|
|
508
|
+
*/
|
|
509
|
+
listOrganizationSubscriptions(listOrganizationSubscriptionsRequest: requests.ListOrganizationSubscriptionsRequest): Promise<responses.ListOrganizationSubscriptionsResponse>;
|
|
510
|
+
/**
|
|
511
|
+
* NOTE: This function is deprecated in favor of listOrganizationSubscriptionsRecordIterator function.
|
|
512
|
+
* Creates a new async iterator which will iterate over the models.OrganizationSubscriptionSummary objects
|
|
513
|
+
* contained in responses from the listOrganizationSubscriptions operation. This iterator will fetch more data from the
|
|
514
|
+
* server as needed.
|
|
515
|
+
*
|
|
516
|
+
* @param request a request which can be sent to the service operation
|
|
517
|
+
*/
|
|
518
|
+
listAllOrganizationSubscriptions(request: requests.ListOrganizationSubscriptionsRequest): AsyncIterableIterator<model.OrganizationSubscriptionSummary>;
|
|
519
|
+
/**
|
|
520
|
+
* NOTE: This function is deprecated in favor of listOrganizationSubscriptionsResponseIterator function.
|
|
521
|
+
* Creates a new async iterator which will iterate over the responses received from the listOrganizationSubscriptions operation. This iterator
|
|
522
|
+
* will fetch more data from the server as needed.
|
|
523
|
+
*
|
|
524
|
+
* @param request a request which can be sent to the service operation
|
|
525
|
+
*/
|
|
526
|
+
listAllOrganizationSubscriptionsResponses(request: requests.ListOrganizationSubscriptionsRequest): AsyncIterableIterator<responses.ListOrganizationSubscriptionsResponse>;
|
|
527
|
+
/**
|
|
528
|
+
* Creates a new async iterator which will iterate over the models.OrganizationSubscriptionSummary objects
|
|
529
|
+
* contained in responses from the listOrganizationSubscriptions operation. This iterator will fetch more data from the
|
|
530
|
+
* server as needed.
|
|
531
|
+
*
|
|
532
|
+
* @param request a request which can be sent to the service operation
|
|
533
|
+
*/
|
|
534
|
+
listOrganizationSubscriptionsRecordIterator(request: requests.ListOrganizationSubscriptionsRequest): AsyncIterableIterator<model.OrganizationSubscriptionSummary>;
|
|
535
|
+
/**
|
|
536
|
+
* Creates a new async iterator which will iterate over the responses received from the listOrganizationSubscriptions operation. This iterator
|
|
537
|
+
* will fetch more data from the server as needed.
|
|
538
|
+
*
|
|
539
|
+
* @param request a request which can be sent to the service operation
|
|
540
|
+
*/
|
|
541
|
+
listOrganizationSubscriptionsResponseIterator(request: requests.ListOrganizationSubscriptionsRequest): AsyncIterableIterator<responses.ListOrganizationSubscriptionsResponse>;
|
|
542
|
+
}
|
|
543
|
+
export declare enum RatecardApiKeys {
|
|
544
|
+
}
|
|
545
|
+
/**
|
|
546
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
547
|
+
*/
|
|
548
|
+
export declare class RatecardClient {
|
|
549
|
+
protected static serviceEndpointTemplate: string;
|
|
550
|
+
protected static endpointServiceName: string;
|
|
551
|
+
protected "_endpoint": string;
|
|
552
|
+
protected "_defaultHeaders": any;
|
|
553
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
554
|
+
protected _circuitBreaker: null;
|
|
555
|
+
protected _httpOptions: any;
|
|
556
|
+
targetService: string;
|
|
557
|
+
protected _httpClient: common.HttpClient;
|
|
558
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
559
|
+
/**
|
|
560
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
561
|
+
*/
|
|
562
|
+
get endpoint(): string;
|
|
563
|
+
/**
|
|
564
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
565
|
+
* @param endpoint The endpoint of the service.
|
|
566
|
+
*/
|
|
567
|
+
set endpoint(endpoint: string);
|
|
568
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
569
|
+
/**
|
|
570
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
571
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
572
|
+
* @param region The region of the service.
|
|
573
|
+
*/
|
|
574
|
+
set region(region: common.Region);
|
|
575
|
+
/**
|
|
576
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
577
|
+
*
|
|
578
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
579
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
580
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
581
|
+
* @param regionId The public region ID.
|
|
582
|
+
*/
|
|
583
|
+
set regionId(regionId: string);
|
|
584
|
+
/**
|
|
585
|
+
* List API that returns all ratecards for given Subscription Id and Account ID (if provided) and
|
|
586
|
+
* for a particular date range
|
|
587
|
+
*
|
|
588
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
589
|
+
* @param ListRateCardsRequest
|
|
590
|
+
* @return ListRateCardsResponse
|
|
591
|
+
* @throws OciError when an error occurs
|
|
592
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.31.0/onesubscription/ListRateCards.ts.html |here} to see how to use ListRateCards API.
|
|
593
|
+
*/
|
|
594
|
+
listRateCards(listRateCardsRequest: requests.ListRateCardsRequest): Promise<responses.ListRateCardsResponse>;
|
|
595
|
+
/**
|
|
596
|
+
* NOTE: This function is deprecated in favor of listRateCardsRecordIterator function.
|
|
597
|
+
* Creates a new async iterator which will iterate over the models.RateCardSummary objects
|
|
598
|
+
* contained in responses from the listRateCards operation. This iterator will fetch more data from the
|
|
599
|
+
* server as needed.
|
|
600
|
+
*
|
|
601
|
+
* @param request a request which can be sent to the service operation
|
|
602
|
+
*/
|
|
603
|
+
listAllRateCards(request: requests.ListRateCardsRequest): AsyncIterableIterator<model.RateCardSummary>;
|
|
604
|
+
/**
|
|
605
|
+
* NOTE: This function is deprecated in favor of listRateCardsResponseIterator function.
|
|
606
|
+
* Creates a new async iterator which will iterate over the responses received from the listRateCards operation. This iterator
|
|
607
|
+
* will fetch more data from the server as needed.
|
|
608
|
+
*
|
|
609
|
+
* @param request a request which can be sent to the service operation
|
|
610
|
+
*/
|
|
611
|
+
listAllRateCardsResponses(request: requests.ListRateCardsRequest): AsyncIterableIterator<responses.ListRateCardsResponse>;
|
|
612
|
+
/**
|
|
613
|
+
* Creates a new async iterator which will iterate over the models.RateCardSummary objects
|
|
614
|
+
* contained in responses from the listRateCards operation. This iterator will fetch more data from the
|
|
615
|
+
* server as needed.
|
|
616
|
+
*
|
|
617
|
+
* @param request a request which can be sent to the service operation
|
|
618
|
+
*/
|
|
619
|
+
listRateCardsRecordIterator(request: requests.ListRateCardsRequest): AsyncIterableIterator<model.RateCardSummary>;
|
|
620
|
+
/**
|
|
621
|
+
* Creates a new async iterator which will iterate over the responses received from the listRateCards operation. This iterator
|
|
622
|
+
* will fetch more data from the server as needed.
|
|
623
|
+
*
|
|
624
|
+
* @param request a request which can be sent to the service operation
|
|
625
|
+
*/
|
|
626
|
+
listRateCardsResponseIterator(request: requests.ListRateCardsRequest): AsyncIterableIterator<responses.ListRateCardsResponse>;
|
|
627
|
+
}
|
|
628
|
+
export declare enum SubscribedServiceApiKeys {
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
632
|
+
*/
|
|
633
|
+
export declare class SubscribedServiceClient {
|
|
634
|
+
protected static serviceEndpointTemplate: string;
|
|
635
|
+
protected static endpointServiceName: string;
|
|
636
|
+
protected "_endpoint": string;
|
|
637
|
+
protected "_defaultHeaders": any;
|
|
638
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
639
|
+
protected _circuitBreaker: null;
|
|
640
|
+
protected _httpOptions: any;
|
|
641
|
+
targetService: string;
|
|
642
|
+
protected _httpClient: common.HttpClient;
|
|
643
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
644
|
+
/**
|
|
645
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
646
|
+
*/
|
|
647
|
+
get endpoint(): string;
|
|
648
|
+
/**
|
|
649
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
650
|
+
* @param endpoint The endpoint of the service.
|
|
651
|
+
*/
|
|
652
|
+
set endpoint(endpoint: string);
|
|
653
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
654
|
+
/**
|
|
655
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
656
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
657
|
+
* @param region The region of the service.
|
|
658
|
+
*/
|
|
659
|
+
set region(region: common.Region);
|
|
660
|
+
/**
|
|
661
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
662
|
+
*
|
|
663
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
664
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
665
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
666
|
+
* @param regionId The public region ID.
|
|
667
|
+
*/
|
|
668
|
+
set regionId(regionId: string);
|
|
669
|
+
/**
|
|
670
|
+
* This API returns the subscribed service details corresponding to the id provided
|
|
671
|
+
*
|
|
672
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
673
|
+
* @param GetSubscribedServiceRequest
|
|
674
|
+
* @return GetSubscribedServiceResponse
|
|
675
|
+
* @throws OciError when an error occurs
|
|
676
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.31.0/onesubscription/GetSubscribedService.ts.html |here} to see how to use GetSubscribedService API.
|
|
677
|
+
*/
|
|
678
|
+
getSubscribedService(getSubscribedServiceRequest: requests.GetSubscribedServiceRequest): Promise<responses.GetSubscribedServiceResponse>;
|
|
679
|
+
/**
|
|
680
|
+
* This list API returns all subscribed services for given Subscription ID
|
|
681
|
+
*
|
|
682
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
683
|
+
* @param ListSubscribedServicesRequest
|
|
684
|
+
* @return ListSubscribedServicesResponse
|
|
685
|
+
* @throws OciError when an error occurs
|
|
686
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.31.0/onesubscription/ListSubscribedServices.ts.html |here} to see how to use ListSubscribedServices API.
|
|
687
|
+
*/
|
|
688
|
+
listSubscribedServices(listSubscribedServicesRequest: requests.ListSubscribedServicesRequest): Promise<responses.ListSubscribedServicesResponse>;
|
|
689
|
+
/**
|
|
690
|
+
* NOTE: This function is deprecated in favor of listSubscribedServicesRecordIterator function.
|
|
691
|
+
* Creates a new async iterator which will iterate over the models.SubscribedServiceSummary objects
|
|
692
|
+
* contained in responses from the listSubscribedServices operation. This iterator will fetch more data from the
|
|
693
|
+
* server as needed.
|
|
694
|
+
*
|
|
695
|
+
* @param request a request which can be sent to the service operation
|
|
696
|
+
*/
|
|
697
|
+
listAllSubscribedServices(request: requests.ListSubscribedServicesRequest): AsyncIterableIterator<model.SubscribedServiceSummary>;
|
|
698
|
+
/**
|
|
699
|
+
* NOTE: This function is deprecated in favor of listSubscribedServicesResponseIterator function.
|
|
700
|
+
* Creates a new async iterator which will iterate over the responses received from the listSubscribedServices operation. This iterator
|
|
701
|
+
* will fetch more data from the server as needed.
|
|
702
|
+
*
|
|
703
|
+
* @param request a request which can be sent to the service operation
|
|
704
|
+
*/
|
|
705
|
+
listAllSubscribedServicesResponses(request: requests.ListSubscribedServicesRequest): AsyncIterableIterator<responses.ListSubscribedServicesResponse>;
|
|
706
|
+
/**
|
|
707
|
+
* Creates a new async iterator which will iterate over the models.SubscribedServiceSummary objects
|
|
708
|
+
* contained in responses from the listSubscribedServices operation. This iterator will fetch more data from the
|
|
709
|
+
* server as needed.
|
|
710
|
+
*
|
|
711
|
+
* @param request a request which can be sent to the service operation
|
|
712
|
+
*/
|
|
713
|
+
listSubscribedServicesRecordIterator(request: requests.ListSubscribedServicesRequest): AsyncIterableIterator<model.SubscribedServiceSummary>;
|
|
714
|
+
/**
|
|
715
|
+
* Creates a new async iterator which will iterate over the responses received from the listSubscribedServices operation. This iterator
|
|
716
|
+
* will fetch more data from the server as needed.
|
|
717
|
+
*
|
|
718
|
+
* @param request a request which can be sent to the service operation
|
|
719
|
+
*/
|
|
720
|
+
listSubscribedServicesResponseIterator(request: requests.ListSubscribedServicesRequest): AsyncIterableIterator<responses.ListSubscribedServicesResponse>;
|
|
721
|
+
}
|
|
722
|
+
export declare enum SubscriptionApiKeys {
|
|
723
|
+
}
|
|
724
|
+
/**
|
|
725
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
726
|
+
*/
|
|
727
|
+
export declare class SubscriptionClient {
|
|
728
|
+
protected static serviceEndpointTemplate: string;
|
|
729
|
+
protected static endpointServiceName: string;
|
|
730
|
+
protected "_endpoint": string;
|
|
731
|
+
protected "_defaultHeaders": any;
|
|
732
|
+
protected "_clientConfiguration": common.ClientConfiguration;
|
|
733
|
+
protected _circuitBreaker: null;
|
|
734
|
+
protected _httpOptions: any;
|
|
735
|
+
targetService: string;
|
|
736
|
+
protected _httpClient: common.HttpClient;
|
|
737
|
+
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
738
|
+
/**
|
|
739
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
740
|
+
*/
|
|
741
|
+
get endpoint(): string;
|
|
742
|
+
/**
|
|
743
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
744
|
+
* @param endpoint The endpoint of the service.
|
|
745
|
+
*/
|
|
746
|
+
set endpoint(endpoint: string);
|
|
747
|
+
get logger(): import("oci-common/lib/log").Logger;
|
|
748
|
+
/**
|
|
749
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
750
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
751
|
+
* @param region The region of the service.
|
|
752
|
+
*/
|
|
753
|
+
set region(region: common.Region);
|
|
754
|
+
/**
|
|
755
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
756
|
+
*
|
|
757
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
758
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
759
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
760
|
+
* @param regionId The public region ID.
|
|
761
|
+
*/
|
|
762
|
+
set regionId(regionId: string);
|
|
763
|
+
/**
|
|
764
|
+
* This list API returns all subscriptions for a given plan number or subscription id or buyer email
|
|
765
|
+
* and provides additional parameters to include ratecard and commitment details.
|
|
766
|
+
* This API expects exactly one of the above mentioned parameters as input. If more than one parameters are provided the API will throw
|
|
767
|
+
* a 400 - invalid parameters exception and if no parameters are provided it will throw a 400 - missing parameter exception
|
|
768
|
+
*
|
|
769
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
770
|
+
* @param ListSubscriptionsRequest
|
|
771
|
+
* @return ListSubscriptionsResponse
|
|
772
|
+
* @throws OciError when an error occurs
|
|
773
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.31.0/onesubscription/ListSubscriptions.ts.html |here} to see how to use ListSubscriptions API.
|
|
774
|
+
*/
|
|
775
|
+
listSubscriptions(listSubscriptionsRequest: requests.ListSubscriptionsRequest): Promise<responses.ListSubscriptionsResponse>;
|
|
776
|
+
/**
|
|
777
|
+
* NOTE: This function is deprecated in favor of listSubscriptionsRecordIterator function.
|
|
778
|
+
* Creates a new async iterator which will iterate over the models.SubscriptionSummary objects
|
|
779
|
+
* contained in responses from the listSubscriptions operation. This iterator will fetch more data from the
|
|
780
|
+
* server as needed.
|
|
781
|
+
*
|
|
782
|
+
* @param request a request which can be sent to the service operation
|
|
783
|
+
*/
|
|
784
|
+
listAllSubscriptions(request: requests.ListSubscriptionsRequest): AsyncIterableIterator<model.SubscriptionSummary>;
|
|
785
|
+
/**
|
|
786
|
+
* NOTE: This function is deprecated in favor of listSubscriptionsResponseIterator function.
|
|
787
|
+
* Creates a new async iterator which will iterate over the responses received from the listSubscriptions operation. This iterator
|
|
788
|
+
* will fetch more data from the server as needed.
|
|
789
|
+
*
|
|
790
|
+
* @param request a request which can be sent to the service operation
|
|
791
|
+
*/
|
|
792
|
+
listAllSubscriptionsResponses(request: requests.ListSubscriptionsRequest): AsyncIterableIterator<responses.ListSubscriptionsResponse>;
|
|
793
|
+
/**
|
|
794
|
+
* Creates a new async iterator which will iterate over the models.SubscriptionSummary objects
|
|
795
|
+
* contained in responses from the listSubscriptions operation. This iterator will fetch more data from the
|
|
796
|
+
* server as needed.
|
|
797
|
+
*
|
|
798
|
+
* @param request a request which can be sent to the service operation
|
|
799
|
+
*/
|
|
800
|
+
listSubscriptionsRecordIterator(request: requests.ListSubscriptionsRequest): AsyncIterableIterator<model.SubscriptionSummary>;
|
|
801
|
+
/**
|
|
802
|
+
* Creates a new async iterator which will iterate over the responses received from the listSubscriptions operation. This iterator
|
|
803
|
+
* will fetch more data from the server as needed.
|
|
804
|
+
*
|
|
805
|
+
* @param request a request which can be sent to the service operation
|
|
806
|
+
*/
|
|
807
|
+
listSubscriptionsResponseIterator(request: requests.ListSubscriptionsRequest): AsyncIterableIterator<responses.ListSubscriptionsResponse>;
|
|
808
|
+
}
|