oci-artifacts 2.57.0 → 2.59.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/lib/client.d.ts +40 -30
- package/lib/client.js +53 -30
- package/lib/client.js.map +1 -1
- package/lib/request/change-container-repository-compartment-request.d.ts +1 -1
- package/lib/request/change-repository-compartment-request.d.ts +1 -1
- package/lib/request/create-container-image-signature-request.d.ts +1 -1
- package/lib/request/create-container-repository-request.d.ts +1 -1
- package/lib/request/create-repository-request.d.ts +1 -1
- package/lib/request/delete-container-image-request.d.ts +1 -1
- package/lib/request/delete-container-image-signature-request.d.ts +1 -1
- package/lib/request/delete-container-repository-request.d.ts +1 -1
- package/lib/request/delete-generic-artifact-by-path-request.d.ts +1 -1
- package/lib/request/delete-generic-artifact-request.d.ts +1 -1
- package/lib/request/delete-repository-request.d.ts +1 -1
- package/lib/request/get-container-configuration-request.d.ts +1 -1
- package/lib/request/get-container-image-request.d.ts +1 -1
- package/lib/request/get-container-image-signature-request.d.ts +1 -1
- package/lib/request/get-container-repository-request.d.ts +1 -1
- package/lib/request/get-generic-artifact-by-path-request.d.ts +1 -1
- package/lib/request/get-generic-artifact-request.d.ts +1 -1
- package/lib/request/get-repository-request.d.ts +1 -1
- package/lib/request/list-container-image-signatures-request.d.ts +1 -1
- package/lib/request/list-container-images-request.d.ts +1 -1
- package/lib/request/list-container-repositories-request.d.ts +1 -1
- package/lib/request/list-generic-artifacts-request.d.ts +1 -1
- package/lib/request/list-repositories-request.d.ts +1 -1
- package/lib/request/remove-container-version-request.d.ts +1 -1
- package/lib/request/restore-container-image-request.d.ts +1 -1
- package/lib/request/update-container-configuration-request.d.ts +1 -1
- package/lib/request/update-container-repository-request.d.ts +1 -1
- package/lib/request/update-generic-artifact-by-path-request.d.ts +1 -1
- package/lib/request/update-generic-artifact-request.d.ts +1 -1
- package/lib/request/update-repository-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export declare enum ArtifactsApiKeys {
|
|
|
24
24
|
export declare class ArtifactsClient {
|
|
25
25
|
protected static serviceEndpointTemplate: string;
|
|
26
26
|
protected static endpointServiceName: string;
|
|
27
|
+
protected "_realmSpecificEndpointTemplateEnabled": boolean;
|
|
27
28
|
protected "_endpoint": string;
|
|
28
29
|
protected "_defaultHeaders": any;
|
|
29
30
|
protected "_waiters": ArtifactsWaiter;
|
|
@@ -31,6 +32,9 @@ export declare class ArtifactsClient {
|
|
|
31
32
|
protected _circuitBreaker: null;
|
|
32
33
|
protected _httpOptions: any;
|
|
33
34
|
targetService: string;
|
|
35
|
+
protected _regionId: string;
|
|
36
|
+
protected "_region": common.Region;
|
|
37
|
+
protected _lastSetRegionOrRegionId: string;
|
|
34
38
|
protected _httpClient: common.HttpClient;
|
|
35
39
|
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
|
|
36
40
|
/**
|
|
@@ -43,6 +47,12 @@ export declare class ArtifactsClient {
|
|
|
43
47
|
*/
|
|
44
48
|
set endpoint(endpoint: string);
|
|
45
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);
|
|
46
56
|
/**
|
|
47
57
|
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
48
58
|
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
@@ -80,7 +90,7 @@ export declare class ArtifactsClient {
|
|
|
80
90
|
* @param ChangeContainerRepositoryCompartmentRequest
|
|
81
91
|
* @return ChangeContainerRepositoryCompartmentResponse
|
|
82
92
|
* @throws OciError when an error occurs
|
|
83
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
93
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/ChangeContainerRepositoryCompartment.ts.html |here} to see how to use ChangeContainerRepositoryCompartment API.
|
|
84
94
|
*/
|
|
85
95
|
changeContainerRepositoryCompartment(changeContainerRepositoryCompartmentRequest: requests.ChangeContainerRepositoryCompartmentRequest): Promise<responses.ChangeContainerRepositoryCompartmentResponse>;
|
|
86
96
|
/**
|
|
@@ -92,7 +102,7 @@ export declare class ArtifactsClient {
|
|
|
92
102
|
* @param ChangeRepositoryCompartmentRequest
|
|
93
103
|
* @return ChangeRepositoryCompartmentResponse
|
|
94
104
|
* @throws OciError when an error occurs
|
|
95
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
105
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/ChangeRepositoryCompartment.ts.html |here} to see how to use ChangeRepositoryCompartment API.
|
|
96
106
|
*/
|
|
97
107
|
changeRepositoryCompartment(changeRepositoryCompartmentRequest: requests.ChangeRepositoryCompartmentRequest): Promise<responses.ChangeRepositoryCompartmentResponse>;
|
|
98
108
|
/**
|
|
@@ -101,7 +111,7 @@ export declare class ArtifactsClient {
|
|
|
101
111
|
* @param CreateContainerImageSignatureRequest
|
|
102
112
|
* @return CreateContainerImageSignatureResponse
|
|
103
113
|
* @throws OciError when an error occurs
|
|
104
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
114
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/CreateContainerImageSignature.ts.html |here} to see how to use CreateContainerImageSignature API.
|
|
105
115
|
*/
|
|
106
116
|
createContainerImageSignature(createContainerImageSignatureRequest: requests.CreateContainerImageSignatureRequest): Promise<responses.CreateContainerImageSignatureResponse>;
|
|
107
117
|
/**
|
|
@@ -110,7 +120,7 @@ export declare class ArtifactsClient {
|
|
|
110
120
|
* @param CreateContainerRepositoryRequest
|
|
111
121
|
* @return CreateContainerRepositoryResponse
|
|
112
122
|
* @throws OciError when an error occurs
|
|
113
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
123
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/CreateContainerRepository.ts.html |here} to see how to use CreateContainerRepository API.
|
|
114
124
|
*/
|
|
115
125
|
createContainerRepository(createContainerRepositoryRequest: requests.CreateContainerRepositoryRequest): Promise<responses.CreateContainerRepositoryResponse>;
|
|
116
126
|
/**
|
|
@@ -119,7 +129,7 @@ export declare class ArtifactsClient {
|
|
|
119
129
|
* @param CreateRepositoryRequest
|
|
120
130
|
* @return CreateRepositoryResponse
|
|
121
131
|
* @throws OciError when an error occurs
|
|
122
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
132
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/CreateRepository.ts.html |here} to see how to use CreateRepository API.
|
|
123
133
|
*/
|
|
124
134
|
createRepository(createRepositoryRequest: requests.CreateRepositoryRequest): Promise<responses.CreateRepositoryResponse>;
|
|
125
135
|
/**
|
|
@@ -128,7 +138,7 @@ export declare class ArtifactsClient {
|
|
|
128
138
|
* @param DeleteContainerImageRequest
|
|
129
139
|
* @return DeleteContainerImageResponse
|
|
130
140
|
* @throws OciError when an error occurs
|
|
131
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
141
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/DeleteContainerImage.ts.html |here} to see how to use DeleteContainerImage API.
|
|
132
142
|
*/
|
|
133
143
|
deleteContainerImage(deleteContainerImageRequest: requests.DeleteContainerImageRequest): Promise<responses.DeleteContainerImageResponse>;
|
|
134
144
|
/**
|
|
@@ -137,7 +147,7 @@ export declare class ArtifactsClient {
|
|
|
137
147
|
* @param DeleteContainerImageSignatureRequest
|
|
138
148
|
* @return DeleteContainerImageSignatureResponse
|
|
139
149
|
* @throws OciError when an error occurs
|
|
140
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
150
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/DeleteContainerImageSignature.ts.html |here} to see how to use DeleteContainerImageSignature API.
|
|
141
151
|
*/
|
|
142
152
|
deleteContainerImageSignature(deleteContainerImageSignatureRequest: requests.DeleteContainerImageSignatureRequest): Promise<responses.DeleteContainerImageSignatureResponse>;
|
|
143
153
|
/**
|
|
@@ -146,7 +156,7 @@ export declare class ArtifactsClient {
|
|
|
146
156
|
* @param DeleteContainerRepositoryRequest
|
|
147
157
|
* @return DeleteContainerRepositoryResponse
|
|
148
158
|
* @throws OciError when an error occurs
|
|
149
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
159
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/DeleteContainerRepository.ts.html |here} to see how to use DeleteContainerRepository API.
|
|
150
160
|
*/
|
|
151
161
|
deleteContainerRepository(deleteContainerRepositoryRequest: requests.DeleteContainerRepositoryRequest): Promise<responses.DeleteContainerRepositoryResponse>;
|
|
152
162
|
/**
|
|
@@ -155,7 +165,7 @@ export declare class ArtifactsClient {
|
|
|
155
165
|
* @param DeleteGenericArtifactRequest
|
|
156
166
|
* @return DeleteGenericArtifactResponse
|
|
157
167
|
* @throws OciError when an error occurs
|
|
158
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
168
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/DeleteGenericArtifact.ts.html |here} to see how to use DeleteGenericArtifact API.
|
|
159
169
|
*/
|
|
160
170
|
deleteGenericArtifact(deleteGenericArtifactRequest: requests.DeleteGenericArtifactRequest): Promise<responses.DeleteGenericArtifactResponse>;
|
|
161
171
|
/**
|
|
@@ -164,7 +174,7 @@ export declare class ArtifactsClient {
|
|
|
164
174
|
* @param DeleteGenericArtifactByPathRequest
|
|
165
175
|
* @return DeleteGenericArtifactByPathResponse
|
|
166
176
|
* @throws OciError when an error occurs
|
|
167
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
177
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/DeleteGenericArtifactByPath.ts.html |here} to see how to use DeleteGenericArtifactByPath API.
|
|
168
178
|
*/
|
|
169
179
|
deleteGenericArtifactByPath(deleteGenericArtifactByPathRequest: requests.DeleteGenericArtifactByPathRequest): Promise<responses.DeleteGenericArtifactByPathResponse>;
|
|
170
180
|
/**
|
|
@@ -173,7 +183,7 @@ export declare class ArtifactsClient {
|
|
|
173
183
|
* @param DeleteRepositoryRequest
|
|
174
184
|
* @return DeleteRepositoryResponse
|
|
175
185
|
* @throws OciError when an error occurs
|
|
176
|
-
* @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.0/artifacts/DeleteRepository.ts.html |here} to see how to use DeleteRepository API.
|
|
177
187
|
*/
|
|
178
188
|
deleteRepository(deleteRepositoryRequest: requests.DeleteRepositoryRequest): Promise<responses.DeleteRepositoryResponse>;
|
|
179
189
|
/**
|
|
@@ -182,7 +192,7 @@ export declare class ArtifactsClient {
|
|
|
182
192
|
* @param GetContainerConfigurationRequest
|
|
183
193
|
* @return GetContainerConfigurationResponse
|
|
184
194
|
* @throws OciError when an error occurs
|
|
185
|
-
* @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.0/artifacts/GetContainerConfiguration.ts.html |here} to see how to use GetContainerConfiguration API.
|
|
186
196
|
*/
|
|
187
197
|
getContainerConfiguration(getContainerConfigurationRequest: requests.GetContainerConfigurationRequest): Promise<responses.GetContainerConfigurationResponse>;
|
|
188
198
|
/**
|
|
@@ -191,7 +201,7 @@ export declare class ArtifactsClient {
|
|
|
191
201
|
* @param GetContainerImageRequest
|
|
192
202
|
* @return GetContainerImageResponse
|
|
193
203
|
* @throws OciError when an error occurs
|
|
194
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
204
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/GetContainerImage.ts.html |here} to see how to use GetContainerImage API.
|
|
195
205
|
*/
|
|
196
206
|
getContainerImage(getContainerImageRequest: requests.GetContainerImageRequest): Promise<responses.GetContainerImageResponse>;
|
|
197
207
|
/**
|
|
@@ -200,7 +210,7 @@ export declare class ArtifactsClient {
|
|
|
200
210
|
* @param GetContainerImageSignatureRequest
|
|
201
211
|
* @return GetContainerImageSignatureResponse
|
|
202
212
|
* @throws OciError when an error occurs
|
|
203
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
213
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/GetContainerImageSignature.ts.html |here} to see how to use GetContainerImageSignature API.
|
|
204
214
|
*/
|
|
205
215
|
getContainerImageSignature(getContainerImageSignatureRequest: requests.GetContainerImageSignatureRequest): Promise<responses.GetContainerImageSignatureResponse>;
|
|
206
216
|
/**
|
|
@@ -209,7 +219,7 @@ export declare class ArtifactsClient {
|
|
|
209
219
|
* @param GetContainerRepositoryRequest
|
|
210
220
|
* @return GetContainerRepositoryResponse
|
|
211
221
|
* @throws OciError when an error occurs
|
|
212
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
222
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/GetContainerRepository.ts.html |here} to see how to use GetContainerRepository API.
|
|
213
223
|
*/
|
|
214
224
|
getContainerRepository(getContainerRepositoryRequest: requests.GetContainerRepositoryRequest): Promise<responses.GetContainerRepositoryResponse>;
|
|
215
225
|
/**
|
|
@@ -218,7 +228,7 @@ export declare class ArtifactsClient {
|
|
|
218
228
|
* @param GetGenericArtifactRequest
|
|
219
229
|
* @return GetGenericArtifactResponse
|
|
220
230
|
* @throws OciError when an error occurs
|
|
221
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
231
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/GetGenericArtifact.ts.html |here} to see how to use GetGenericArtifact API.
|
|
222
232
|
*/
|
|
223
233
|
getGenericArtifact(getGenericArtifactRequest: requests.GetGenericArtifactRequest): Promise<responses.GetGenericArtifactResponse>;
|
|
224
234
|
/**
|
|
@@ -227,7 +237,7 @@ export declare class ArtifactsClient {
|
|
|
227
237
|
* @param GetGenericArtifactByPathRequest
|
|
228
238
|
* @return GetGenericArtifactByPathResponse
|
|
229
239
|
* @throws OciError when an error occurs
|
|
230
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
240
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/GetGenericArtifactByPath.ts.html |here} to see how to use GetGenericArtifactByPath API.
|
|
231
241
|
*/
|
|
232
242
|
getGenericArtifactByPath(getGenericArtifactByPathRequest: requests.GetGenericArtifactByPathRequest): Promise<responses.GetGenericArtifactByPathResponse>;
|
|
233
243
|
/**
|
|
@@ -236,7 +246,7 @@ export declare class ArtifactsClient {
|
|
|
236
246
|
* @param GetRepositoryRequest
|
|
237
247
|
* @return GetRepositoryResponse
|
|
238
248
|
* @throws OciError when an error occurs
|
|
239
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
249
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/GetRepository.ts.html |here} to see how to use GetRepository API.
|
|
240
250
|
*/
|
|
241
251
|
getRepository(getRepositoryRequest: requests.GetRepositoryRequest): Promise<responses.GetRepositoryResponse>;
|
|
242
252
|
/**
|
|
@@ -245,7 +255,7 @@ export declare class ArtifactsClient {
|
|
|
245
255
|
* @param ListContainerImageSignaturesRequest
|
|
246
256
|
* @return ListContainerImageSignaturesResponse
|
|
247
257
|
* @throws OciError when an error occurs
|
|
248
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
258
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/ListContainerImageSignatures.ts.html |here} to see how to use ListContainerImageSignatures API.
|
|
249
259
|
*/
|
|
250
260
|
listContainerImageSignatures(listContainerImageSignaturesRequest: requests.ListContainerImageSignaturesRequest): Promise<responses.ListContainerImageSignaturesResponse>;
|
|
251
261
|
/**
|
|
@@ -254,7 +264,7 @@ export declare class ArtifactsClient {
|
|
|
254
264
|
* @param ListContainerImagesRequest
|
|
255
265
|
* @return ListContainerImagesResponse
|
|
256
266
|
* @throws OciError when an error occurs
|
|
257
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
267
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/ListContainerImages.ts.html |here} to see how to use ListContainerImages API.
|
|
258
268
|
*/
|
|
259
269
|
listContainerImages(listContainerImagesRequest: requests.ListContainerImagesRequest): Promise<responses.ListContainerImagesResponse>;
|
|
260
270
|
/**
|
|
@@ -263,7 +273,7 @@ export declare class ArtifactsClient {
|
|
|
263
273
|
* @param ListContainerRepositoriesRequest
|
|
264
274
|
* @return ListContainerRepositoriesResponse
|
|
265
275
|
* @throws OciError when an error occurs
|
|
266
|
-
* @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.0/artifacts/ListContainerRepositories.ts.html |here} to see how to use ListContainerRepositories API.
|
|
267
277
|
*/
|
|
268
278
|
listContainerRepositories(listContainerRepositoriesRequest: requests.ListContainerRepositoriesRequest): Promise<responses.ListContainerRepositoriesResponse>;
|
|
269
279
|
/**
|
|
@@ -272,7 +282,7 @@ export declare class ArtifactsClient {
|
|
|
272
282
|
* @param ListGenericArtifactsRequest
|
|
273
283
|
* @return ListGenericArtifactsResponse
|
|
274
284
|
* @throws OciError when an error occurs
|
|
275
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
285
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/ListGenericArtifacts.ts.html |here} to see how to use ListGenericArtifacts API.
|
|
276
286
|
*/
|
|
277
287
|
listGenericArtifacts(listGenericArtifactsRequest: requests.ListGenericArtifactsRequest): Promise<responses.ListGenericArtifactsResponse>;
|
|
278
288
|
/**
|
|
@@ -281,7 +291,7 @@ export declare class ArtifactsClient {
|
|
|
281
291
|
* @param ListRepositoriesRequest
|
|
282
292
|
* @return ListRepositoriesResponse
|
|
283
293
|
* @throws OciError when an error occurs
|
|
284
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
294
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/ListRepositories.ts.html |here} to see how to use ListRepositories API.
|
|
285
295
|
*/
|
|
286
296
|
listRepositories(listRepositoriesRequest: requests.ListRepositoriesRequest): Promise<responses.ListRepositoriesResponse>;
|
|
287
297
|
/**
|
|
@@ -290,7 +300,7 @@ export declare class ArtifactsClient {
|
|
|
290
300
|
* @param RemoveContainerVersionRequest
|
|
291
301
|
* @return RemoveContainerVersionResponse
|
|
292
302
|
* @throws OciError when an error occurs
|
|
293
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
303
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/RemoveContainerVersion.ts.html |here} to see how to use RemoveContainerVersion API.
|
|
294
304
|
*/
|
|
295
305
|
removeContainerVersion(removeContainerVersionRequest: requests.RemoveContainerVersionRequest): Promise<responses.RemoveContainerVersionResponse>;
|
|
296
306
|
/**
|
|
@@ -299,7 +309,7 @@ export declare class ArtifactsClient {
|
|
|
299
309
|
* @param RestoreContainerImageRequest
|
|
300
310
|
* @return RestoreContainerImageResponse
|
|
301
311
|
* @throws OciError when an error occurs
|
|
302
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
312
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/RestoreContainerImage.ts.html |here} to see how to use RestoreContainerImage API.
|
|
303
313
|
*/
|
|
304
314
|
restoreContainerImage(restoreContainerImageRequest: requests.RestoreContainerImageRequest): Promise<responses.RestoreContainerImageResponse>;
|
|
305
315
|
/**
|
|
@@ -308,7 +318,7 @@ export declare class ArtifactsClient {
|
|
|
308
318
|
* @param UpdateContainerConfigurationRequest
|
|
309
319
|
* @return UpdateContainerConfigurationResponse
|
|
310
320
|
* @throws OciError when an error occurs
|
|
311
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
321
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/UpdateContainerConfiguration.ts.html |here} to see how to use UpdateContainerConfiguration API.
|
|
312
322
|
*/
|
|
313
323
|
updateContainerConfiguration(updateContainerConfigurationRequest: requests.UpdateContainerConfigurationRequest): Promise<responses.UpdateContainerConfigurationResponse>;
|
|
314
324
|
/**
|
|
@@ -317,7 +327,7 @@ export declare class ArtifactsClient {
|
|
|
317
327
|
* @param UpdateContainerRepositoryRequest
|
|
318
328
|
* @return UpdateContainerRepositoryResponse
|
|
319
329
|
* @throws OciError when an error occurs
|
|
320
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
330
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/UpdateContainerRepository.ts.html |here} to see how to use UpdateContainerRepository API.
|
|
321
331
|
*/
|
|
322
332
|
updateContainerRepository(updateContainerRepositoryRequest: requests.UpdateContainerRepositoryRequest): Promise<responses.UpdateContainerRepositoryResponse>;
|
|
323
333
|
/**
|
|
@@ -326,7 +336,7 @@ export declare class ArtifactsClient {
|
|
|
326
336
|
* @param UpdateGenericArtifactRequest
|
|
327
337
|
* @return UpdateGenericArtifactResponse
|
|
328
338
|
* @throws OciError when an error occurs
|
|
329
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
339
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/UpdateGenericArtifact.ts.html |here} to see how to use UpdateGenericArtifact API.
|
|
330
340
|
*/
|
|
331
341
|
updateGenericArtifact(updateGenericArtifactRequest: requests.UpdateGenericArtifactRequest): Promise<responses.UpdateGenericArtifactResponse>;
|
|
332
342
|
/**
|
|
@@ -335,7 +345,7 @@ export declare class ArtifactsClient {
|
|
|
335
345
|
* @param UpdateGenericArtifactByPathRequest
|
|
336
346
|
* @return UpdateGenericArtifactByPathResponse
|
|
337
347
|
* @throws OciError when an error occurs
|
|
338
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
348
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/UpdateGenericArtifactByPath.ts.html |here} to see how to use UpdateGenericArtifactByPath API.
|
|
339
349
|
*/
|
|
340
350
|
updateGenericArtifactByPath(updateGenericArtifactByPathRequest: requests.UpdateGenericArtifactByPathRequest): Promise<responses.UpdateGenericArtifactByPathResponse>;
|
|
341
351
|
/**
|
|
@@ -344,7 +354,7 @@ export declare class ArtifactsClient {
|
|
|
344
354
|
* @param UpdateRepositoryRequest
|
|
345
355
|
* @return UpdateRepositoryResponse
|
|
346
356
|
* @throws OciError when an error occurs
|
|
347
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
357
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/UpdateRepository.ts.html |here} to see how to use UpdateRepository API.
|
|
348
358
|
*/
|
|
349
359
|
updateRepository(updateRepositoryRequest: requests.UpdateRepositoryRequest): Promise<responses.UpdateRepositoryResponse>;
|
|
350
360
|
}
|
package/lib/client.js
CHANGED
|
@@ -58,11 +58,14 @@ var ArtifactsApiKeys;
|
|
|
58
58
|
*/
|
|
59
59
|
class ArtifactsClient {
|
|
60
60
|
constructor(params, clientConfiguration) {
|
|
61
|
+
this["_realmSpecificEndpointTemplateEnabled"] = false;
|
|
61
62
|
this["_endpoint"] = "";
|
|
62
63
|
this["_defaultHeaders"] = {};
|
|
63
64
|
this._circuitBreaker = null;
|
|
64
65
|
this._httpOptions = undefined;
|
|
65
66
|
this.targetService = "Artifacts";
|
|
67
|
+
this._regionId = "";
|
|
68
|
+
this._lastSetRegionOrRegionId = "";
|
|
66
69
|
const requestSigner = params.authenticationDetailsProvider
|
|
67
70
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
68
71
|
: null;
|
|
@@ -112,13 +115,31 @@ class ArtifactsClient {
|
|
|
112
115
|
get logger() {
|
|
113
116
|
return common.LOG.logger;
|
|
114
117
|
}
|
|
118
|
+
/**
|
|
119
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
120
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
121
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
122
|
+
*/
|
|
123
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
124
|
+
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
125
|
+
if (this.logger)
|
|
126
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
127
|
+
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
128
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ArtifactsClient.serviceEndpointTemplate, this._region, ArtifactsClient.endpointServiceName);
|
|
129
|
+
}
|
|
130
|
+
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
131
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ArtifactsClient.serviceEndpointTemplate, this._regionId, ArtifactsClient.endpointServiceName);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
115
134
|
/**
|
|
116
135
|
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
117
136
|
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
118
137
|
* @param region The region of the service.
|
|
119
138
|
*/
|
|
120
139
|
set region(region) {
|
|
140
|
+
this._region = region;
|
|
121
141
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(ArtifactsClient.serviceEndpointTemplate, region, ArtifactsClient.endpointServiceName);
|
|
142
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
|
|
122
143
|
}
|
|
123
144
|
/**
|
|
124
145
|
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
@@ -129,7 +150,9 @@ class ArtifactsClient {
|
|
|
129
150
|
* @param regionId The public region ID.
|
|
130
151
|
*/
|
|
131
152
|
set regionId(regionId) {
|
|
153
|
+
this._regionId = regionId;
|
|
132
154
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(ArtifactsClient.serviceEndpointTemplate, regionId, ArtifactsClient.endpointServiceName);
|
|
155
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
133
156
|
}
|
|
134
157
|
/**
|
|
135
158
|
* Creates a new ArtifactsWaiter for resources for this service.
|
|
@@ -161,7 +184,7 @@ class ArtifactsClient {
|
|
|
161
184
|
* @param ChangeContainerRepositoryCompartmentRequest
|
|
162
185
|
* @return ChangeContainerRepositoryCompartmentResponse
|
|
163
186
|
* @throws OciError when an error occurs
|
|
164
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
187
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/ChangeContainerRepositoryCompartment.ts.html |here} to see how to use ChangeContainerRepositoryCompartment API.
|
|
165
188
|
*/
|
|
166
189
|
changeContainerRepositoryCompartment(changeContainerRepositoryCompartmentRequest) {
|
|
167
190
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -221,7 +244,7 @@ class ArtifactsClient {
|
|
|
221
244
|
* @param ChangeRepositoryCompartmentRequest
|
|
222
245
|
* @return ChangeRepositoryCompartmentResponse
|
|
223
246
|
* @throws OciError when an error occurs
|
|
224
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
247
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/ChangeRepositoryCompartment.ts.html |here} to see how to use ChangeRepositoryCompartment API.
|
|
225
248
|
*/
|
|
226
249
|
changeRepositoryCompartment(changeRepositoryCompartmentRequest) {
|
|
227
250
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -278,7 +301,7 @@ class ArtifactsClient {
|
|
|
278
301
|
* @param CreateContainerImageSignatureRequest
|
|
279
302
|
* @return CreateContainerImageSignatureResponse
|
|
280
303
|
* @throws OciError when an error occurs
|
|
281
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
304
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/CreateContainerImageSignature.ts.html |here} to see how to use CreateContainerImageSignature API.
|
|
282
305
|
*/
|
|
283
306
|
createContainerImageSignature(createContainerImageSignatureRequest) {
|
|
284
307
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -342,7 +365,7 @@ class ArtifactsClient {
|
|
|
342
365
|
* @param CreateContainerRepositoryRequest
|
|
343
366
|
* @return CreateContainerRepositoryResponse
|
|
344
367
|
* @throws OciError when an error occurs
|
|
345
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
368
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/CreateContainerRepository.ts.html |here} to see how to use CreateContainerRepository API.
|
|
346
369
|
*/
|
|
347
370
|
createContainerRepository(createContainerRepositoryRequest) {
|
|
348
371
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -405,7 +428,7 @@ class ArtifactsClient {
|
|
|
405
428
|
* @param CreateRepositoryRequest
|
|
406
429
|
* @return CreateRepositoryResponse
|
|
407
430
|
* @throws OciError when an error occurs
|
|
408
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
431
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/CreateRepository.ts.html |here} to see how to use CreateRepository API.
|
|
409
432
|
*/
|
|
410
433
|
createRepository(createRepositoryRequest) {
|
|
411
434
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -468,7 +491,7 @@ class ArtifactsClient {
|
|
|
468
491
|
* @param DeleteContainerImageRequest
|
|
469
492
|
* @return DeleteContainerImageResponse
|
|
470
493
|
* @throws OciError when an error occurs
|
|
471
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
494
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/DeleteContainerImage.ts.html |here} to see how to use DeleteContainerImage API.
|
|
472
495
|
*/
|
|
473
496
|
deleteContainerImage(deleteContainerImageRequest) {
|
|
474
497
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -523,7 +546,7 @@ class ArtifactsClient {
|
|
|
523
546
|
* @param DeleteContainerImageSignatureRequest
|
|
524
547
|
* @return DeleteContainerImageSignatureResponse
|
|
525
548
|
* @throws OciError when an error occurs
|
|
526
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
549
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/DeleteContainerImageSignature.ts.html |here} to see how to use DeleteContainerImageSignature API.
|
|
527
550
|
*/
|
|
528
551
|
deleteContainerImageSignature(deleteContainerImageSignatureRequest) {
|
|
529
552
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -578,7 +601,7 @@ class ArtifactsClient {
|
|
|
578
601
|
* @param DeleteContainerRepositoryRequest
|
|
579
602
|
* @return DeleteContainerRepositoryResponse
|
|
580
603
|
* @throws OciError when an error occurs
|
|
581
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
604
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/DeleteContainerRepository.ts.html |here} to see how to use DeleteContainerRepository API.
|
|
582
605
|
*/
|
|
583
606
|
deleteContainerRepository(deleteContainerRepositoryRequest) {
|
|
584
607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -633,7 +656,7 @@ class ArtifactsClient {
|
|
|
633
656
|
* @param DeleteGenericArtifactRequest
|
|
634
657
|
* @return DeleteGenericArtifactResponse
|
|
635
658
|
* @throws OciError when an error occurs
|
|
636
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
659
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/DeleteGenericArtifact.ts.html |here} to see how to use DeleteGenericArtifact API.
|
|
637
660
|
*/
|
|
638
661
|
deleteGenericArtifact(deleteGenericArtifactRequest) {
|
|
639
662
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -688,7 +711,7 @@ class ArtifactsClient {
|
|
|
688
711
|
* @param DeleteGenericArtifactByPathRequest
|
|
689
712
|
* @return DeleteGenericArtifactByPathResponse
|
|
690
713
|
* @throws OciError when an error occurs
|
|
691
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
714
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/DeleteGenericArtifactByPath.ts.html |here} to see how to use DeleteGenericArtifactByPath API.
|
|
692
715
|
*/
|
|
693
716
|
deleteGenericArtifactByPath(deleteGenericArtifactByPathRequest) {
|
|
694
717
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -745,7 +768,7 @@ class ArtifactsClient {
|
|
|
745
768
|
* @param DeleteRepositoryRequest
|
|
746
769
|
* @return DeleteRepositoryResponse
|
|
747
770
|
* @throws OciError when an error occurs
|
|
748
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
771
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/DeleteRepository.ts.html |here} to see how to use DeleteRepository API.
|
|
749
772
|
*/
|
|
750
773
|
deleteRepository(deleteRepositoryRequest) {
|
|
751
774
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -800,7 +823,7 @@ class ArtifactsClient {
|
|
|
800
823
|
* @param GetContainerConfigurationRequest
|
|
801
824
|
* @return GetContainerConfigurationResponse
|
|
802
825
|
* @throws OciError when an error occurs
|
|
803
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
826
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/GetContainerConfiguration.ts.html |here} to see how to use GetContainerConfiguration API.
|
|
804
827
|
*/
|
|
805
828
|
getContainerConfiguration(getContainerConfigurationRequest) {
|
|
806
829
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -863,7 +886,7 @@ class ArtifactsClient {
|
|
|
863
886
|
* @param GetContainerImageRequest
|
|
864
887
|
* @return GetContainerImageResponse
|
|
865
888
|
* @throws OciError when an error occurs
|
|
866
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
889
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/GetContainerImage.ts.html |here} to see how to use GetContainerImage API.
|
|
867
890
|
*/
|
|
868
891
|
getContainerImage(getContainerImageRequest) {
|
|
869
892
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -926,7 +949,7 @@ class ArtifactsClient {
|
|
|
926
949
|
* @param GetContainerImageSignatureRequest
|
|
927
950
|
* @return GetContainerImageSignatureResponse
|
|
928
951
|
* @throws OciError when an error occurs
|
|
929
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
952
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/GetContainerImageSignature.ts.html |here} to see how to use GetContainerImageSignature API.
|
|
930
953
|
*/
|
|
931
954
|
getContainerImageSignature(getContainerImageSignatureRequest) {
|
|
932
955
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -989,7 +1012,7 @@ class ArtifactsClient {
|
|
|
989
1012
|
* @param GetContainerRepositoryRequest
|
|
990
1013
|
* @return GetContainerRepositoryResponse
|
|
991
1014
|
* @throws OciError when an error occurs
|
|
992
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1015
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/GetContainerRepository.ts.html |here} to see how to use GetContainerRepository API.
|
|
993
1016
|
*/
|
|
994
1017
|
getContainerRepository(getContainerRepositoryRequest) {
|
|
995
1018
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1052,7 +1075,7 @@ class ArtifactsClient {
|
|
|
1052
1075
|
* @param GetGenericArtifactRequest
|
|
1053
1076
|
* @return GetGenericArtifactResponse
|
|
1054
1077
|
* @throws OciError when an error occurs
|
|
1055
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1078
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/GetGenericArtifact.ts.html |here} to see how to use GetGenericArtifact API.
|
|
1056
1079
|
*/
|
|
1057
1080
|
getGenericArtifact(getGenericArtifactRequest) {
|
|
1058
1081
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1115,7 +1138,7 @@ class ArtifactsClient {
|
|
|
1115
1138
|
* @param GetGenericArtifactByPathRequest
|
|
1116
1139
|
* @return GetGenericArtifactByPathResponse
|
|
1117
1140
|
* @throws OciError when an error occurs
|
|
1118
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1141
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/GetGenericArtifactByPath.ts.html |here} to see how to use GetGenericArtifactByPath API.
|
|
1119
1142
|
*/
|
|
1120
1143
|
getGenericArtifactByPath(getGenericArtifactByPathRequest) {
|
|
1121
1144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1180,7 +1203,7 @@ class ArtifactsClient {
|
|
|
1180
1203
|
* @param GetRepositoryRequest
|
|
1181
1204
|
* @return GetRepositoryResponse
|
|
1182
1205
|
* @throws OciError when an error occurs
|
|
1183
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1206
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/GetRepository.ts.html |here} to see how to use GetRepository API.
|
|
1184
1207
|
*/
|
|
1185
1208
|
getRepository(getRepositoryRequest) {
|
|
1186
1209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1243,7 +1266,7 @@ class ArtifactsClient {
|
|
|
1243
1266
|
* @param ListContainerImageSignaturesRequest
|
|
1244
1267
|
* @return ListContainerImageSignaturesResponse
|
|
1245
1268
|
* @throws OciError when an error occurs
|
|
1246
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1269
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/ListContainerImageSignatures.ts.html |here} to see how to use ListContainerImageSignatures API.
|
|
1247
1270
|
*/
|
|
1248
1271
|
listContainerImageSignatures(listContainerImageSignaturesRequest) {
|
|
1249
1272
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1319,7 +1342,7 @@ class ArtifactsClient {
|
|
|
1319
1342
|
* @param ListContainerImagesRequest
|
|
1320
1343
|
* @return ListContainerImagesResponse
|
|
1321
1344
|
* @throws OciError when an error occurs
|
|
1322
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1345
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/ListContainerImages.ts.html |here} to see how to use ListContainerImages API.
|
|
1323
1346
|
*/
|
|
1324
1347
|
listContainerImages(listContainerImagesRequest) {
|
|
1325
1348
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1394,7 +1417,7 @@ class ArtifactsClient {
|
|
|
1394
1417
|
* @param ListContainerRepositoriesRequest
|
|
1395
1418
|
* @return ListContainerRepositoriesResponse
|
|
1396
1419
|
* @throws OciError when an error occurs
|
|
1397
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1420
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/ListContainerRepositories.ts.html |here} to see how to use ListContainerRepositories API.
|
|
1398
1421
|
*/
|
|
1399
1422
|
listContainerRepositories(listContainerRepositoriesRequest) {
|
|
1400
1423
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1466,7 +1489,7 @@ class ArtifactsClient {
|
|
|
1466
1489
|
* @param ListGenericArtifactsRequest
|
|
1467
1490
|
* @return ListGenericArtifactsResponse
|
|
1468
1491
|
* @throws OciError when an error occurs
|
|
1469
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1492
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/ListGenericArtifacts.ts.html |here} to see how to use ListGenericArtifacts API.
|
|
1470
1493
|
*/
|
|
1471
1494
|
listGenericArtifacts(listGenericArtifactsRequest) {
|
|
1472
1495
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1540,7 +1563,7 @@ class ArtifactsClient {
|
|
|
1540
1563
|
* @param ListRepositoriesRequest
|
|
1541
1564
|
* @return ListRepositoriesResponse
|
|
1542
1565
|
* @throws OciError when an error occurs
|
|
1543
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1566
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/ListRepositories.ts.html |here} to see how to use ListRepositories API.
|
|
1544
1567
|
*/
|
|
1545
1568
|
listRepositories(listRepositoriesRequest) {
|
|
1546
1569
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1611,7 +1634,7 @@ class ArtifactsClient {
|
|
|
1611
1634
|
* @param RemoveContainerVersionRequest
|
|
1612
1635
|
* @return RemoveContainerVersionResponse
|
|
1613
1636
|
* @throws OciError when an error occurs
|
|
1614
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1637
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/RemoveContainerVersion.ts.html |here} to see how to use RemoveContainerVersion API.
|
|
1615
1638
|
*/
|
|
1616
1639
|
removeContainerVersion(removeContainerVersionRequest) {
|
|
1617
1640
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1677,7 +1700,7 @@ class ArtifactsClient {
|
|
|
1677
1700
|
* @param RestoreContainerImageRequest
|
|
1678
1701
|
* @return RestoreContainerImageResponse
|
|
1679
1702
|
* @throws OciError when an error occurs
|
|
1680
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1703
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/RestoreContainerImage.ts.html |here} to see how to use RestoreContainerImage API.
|
|
1681
1704
|
*/
|
|
1682
1705
|
restoreContainerImage(restoreContainerImageRequest) {
|
|
1683
1706
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1743,7 +1766,7 @@ class ArtifactsClient {
|
|
|
1743
1766
|
* @param UpdateContainerConfigurationRequest
|
|
1744
1767
|
* @return UpdateContainerConfigurationResponse
|
|
1745
1768
|
* @throws OciError when an error occurs
|
|
1746
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1769
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/UpdateContainerConfiguration.ts.html |here} to see how to use UpdateContainerConfiguration API.
|
|
1747
1770
|
*/
|
|
1748
1771
|
updateContainerConfiguration(updateContainerConfigurationRequest) {
|
|
1749
1772
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1808,7 +1831,7 @@ class ArtifactsClient {
|
|
|
1808
1831
|
* @param UpdateContainerRepositoryRequest
|
|
1809
1832
|
* @return UpdateContainerRepositoryResponse
|
|
1810
1833
|
* @throws OciError when an error occurs
|
|
1811
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1834
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/UpdateContainerRepository.ts.html |here} to see how to use UpdateContainerRepository API.
|
|
1812
1835
|
*/
|
|
1813
1836
|
updateContainerRepository(updateContainerRepositoryRequest) {
|
|
1814
1837
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1873,7 +1896,7 @@ class ArtifactsClient {
|
|
|
1873
1896
|
* @param UpdateGenericArtifactRequest
|
|
1874
1897
|
* @return UpdateGenericArtifactResponse
|
|
1875
1898
|
* @throws OciError when an error occurs
|
|
1876
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1899
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/UpdateGenericArtifact.ts.html |here} to see how to use UpdateGenericArtifact API.
|
|
1877
1900
|
*/
|
|
1878
1901
|
updateGenericArtifact(updateGenericArtifactRequest) {
|
|
1879
1902
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1938,7 +1961,7 @@ class ArtifactsClient {
|
|
|
1938
1961
|
* @param UpdateGenericArtifactByPathRequest
|
|
1939
1962
|
* @return UpdateGenericArtifactByPathResponse
|
|
1940
1963
|
* @throws OciError when an error occurs
|
|
1941
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1964
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/UpdateGenericArtifactByPath.ts.html |here} to see how to use UpdateGenericArtifactByPath API.
|
|
1942
1965
|
*/
|
|
1943
1966
|
updateGenericArtifactByPath(updateGenericArtifactByPathRequest) {
|
|
1944
1967
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2005,7 +2028,7 @@ class ArtifactsClient {
|
|
|
2005
2028
|
* @param UpdateRepositoryRequest
|
|
2006
2029
|
* @return UpdateRepositoryResponse
|
|
2007
2030
|
* @throws OciError when an error occurs
|
|
2008
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2031
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.59.0/artifacts/UpdateRepository.ts.html |here} to see how to use UpdateRepository API.
|
|
2009
2032
|
*/
|
|
2010
2033
|
updateRepository(updateRepositoryRequest) {
|
|
2011
2034
|
return __awaiter(this, void 0, void 0, function* () {
|