oci-multicloud 2.121.1 → 2.122.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +2 -2
- package/index.js +3 -3
- package/index.js.map +1 -1
- package/lib/client.d.ts +153 -189
- package/lib/client.js +440 -204
- package/lib/client.js.map +1 -1
- package/lib/model/cloud-service-provider-metadata-item.d.ts +15 -1
- package/lib/model/cloud-service-provider-metadata-item.js.map +1 -1
- package/lib/model/cloud-service-provider-network-metadata-item.d.ts +6 -0
- package/lib/model/cloud-service-provider-network-metadata-item.js.map +1 -1
- package/lib/model/external-location-detail.d.ts +4 -0
- package/lib/model/external-location-detail.js.map +1 -1
- package/lib/model/external-locations-metadatum-summary.d.ts +17 -1
- package/lib/model/external-locations-metadatum-summary.js.map +1 -1
- package/lib/model/index.d.ts +10 -0
- package/lib/model/index.js +11 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/multicloud-resource-collection.d.ts +26 -0
- package/lib/model/multicloud-resource-collection.js +61 -0
- package/lib/model/multicloud-resource-collection.js.map +1 -0
- package/lib/model/multicloud-resource-summary.d.ts +126 -0
- package/lib/model/multicloud-resource-summary.js +39 -0
- package/lib/model/multicloud-resource-summary.js.map +1 -0
- package/lib/model/multicloud-subscription-collection.d.ts +26 -0
- package/lib/model/multicloud-subscription-collection.js +61 -0
- package/lib/model/multicloud-subscription-collection.js.map +1 -0
- package/lib/model/multicloud-subscription-summary.d.ts +122 -0
- package/lib/model/multicloud-subscription-summary.js +39 -0
- package/lib/model/multicloud-subscription-summary.js.map +1 -0
- package/lib/model/network-anchor-connection-status.d.ts +47 -0
- package/lib/model/network-anchor-connection-status.js +58 -0
- package/lib/model/network-anchor-connection-status.js.map +1 -0
- package/lib/model/network-anchor-summary.d.ts +28 -1
- package/lib/model/network-anchor-summary.js.map +1 -1
- package/lib/model/network-anchor.d.ts +6 -2
- package/lib/model/network-anchor.js +10 -10
- package/lib/model/network-anchor.js.map +1 -1
- package/lib/model/oci-network-metadata.d.ts +2 -30
- package/lib/model/oci-network-metadata.js +0 -18
- package/lib/model/oci-network-metadata.js.map +1 -1
- package/lib/model/oci-vcn.d.ts +4 -0
- package/lib/model/oci-vcn.js.map +1 -1
- package/lib/model/resource-anchor-summary.d.ts +32 -0
- package/lib/model/resource-anchor-summary.js.map +1 -1
- package/lib/model/resource-anchor.d.ts +8 -0
- package/lib/model/resource-anchor.js.map +1 -1
- package/lib/request/get-network-anchor-request.d.ts +7 -3
- package/lib/request/get-resource-anchor-request.d.ts +6 -2
- package/lib/request/index.d.ts +4 -0
- package/lib/request/index.js +5 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-external-location-details-metadata-request.d.ts +21 -7
- package/lib/request/list-external-location-details-metadata-request.js.map +1 -1
- package/lib/request/list-external-location-mapping-metadata-request.d.ts +5 -3
- package/lib/request/list-external-location-mapping-metadata-request.js.map +1 -1
- package/lib/request/list-external-location-summaries-metadata-request.d.ts +5 -3
- package/lib/request/list-external-location-summaries-metadata-request.js.map +1 -1
- package/lib/request/list-multicloud-resources-request.d.ts +77 -0
- package/lib/request/list-multicloud-resources-request.js +24 -0
- package/lib/request/list-multicloud-resources-request.js.map +1 -0
- package/lib/request/list-multicloud-subscriptions-request.d.ts +65 -0
- package/lib/request/list-multicloud-subscriptions-request.js +24 -0
- package/lib/request/list-multicloud-subscriptions-request.js.map +1 -0
- package/lib/request/list-network-anchors-request.d.ts +21 -11
- package/lib/request/list-network-anchors-request.js.map +1 -1
- package/lib/request/list-resource-anchors-request.d.ts +16 -10
- package/lib/request/list-resource-anchors-request.js.map +1 -1
- package/lib/response/index.d.ts +4 -0
- package/lib/response/list-multicloud-resources-response.d.ts +31 -0
- package/lib/response/list-multicloud-resources-response.js +15 -0
- package/lib/response/list-multicloud-resources-response.js.map +1 -0
- package/lib/response/list-multicloud-subscriptions-response.d.ts +31 -0
- package/lib/response/list-multicloud-subscriptions-response.js +15 -0
- package/lib/response/list-multicloud-subscriptions-response.js.map +1 -0
- package/package.json +3 -3
- package/lib/omhubnetworkanchor-waiter.d.ts +0 -29
- package/lib/omhubnetworkanchor-waiter.js +0 -65
- package/lib/omhubnetworkanchor-waiter.js.map +0 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20180828
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface ListMulticloudSubscriptionsResponse {
|
|
15
|
+
/**
|
|
16
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact
|
|
17
|
+
* Oracle about a particular request, please provide the request ID.
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
"opcRequestId": string;
|
|
21
|
+
/**
|
|
22
|
+
* For list pagination. When this header appears in the response, additional pages of results remain. For
|
|
23
|
+
* important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
"opcNextPage": string;
|
|
27
|
+
/**
|
|
28
|
+
* The returned model.MulticloudSubscriptionCollection instance.
|
|
29
|
+
*/
|
|
30
|
+
"multicloudSubscriptionCollection": model.MulticloudSubscriptionCollection;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20180828
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=list-multicloud-subscriptions-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-multicloud-subscriptions-response.js","sourceRoot":"","sources":["../../../../../lib/multicloud/lib/response/list-multicloud-subscriptions-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-multicloud",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.122.0",
|
|
4
4
|
"description": "OCI NodeJS client for Multicloud Service",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.
|
|
19
|
-
"oci-workrequests": "2.
|
|
18
|
+
"oci-common": "2.122.0",
|
|
19
|
+
"oci-workrequests": "2.122.0"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"registry": "https://registry.npmjs.org"
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Oracle Multicloud API
|
|
3
|
-
* Use the Oracle Multicloud API to retrieve resource anchors and network anchors, and the metadata mappings related a Cloud Service Provider. For more information, see <link to docs>.
|
|
4
|
-
* OpenAPI spec version: 20180828
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
-
* Do not edit the class manually.
|
|
9
|
-
*
|
|
10
|
-
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
-
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
-
*/
|
|
13
|
-
import * as serviceRequests from "./request";
|
|
14
|
-
import * as serviceResponses from "./response";
|
|
15
|
-
import * as models from "./model";
|
|
16
|
-
import { OmhubNetworkAnchorClient } from "./client";
|
|
17
|
-
export declare class OmhubNetworkAnchorWaiter {
|
|
18
|
-
private client;
|
|
19
|
-
private readonly config?;
|
|
20
|
-
constructor(client: OmhubNetworkAnchorClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
21
|
-
/**
|
|
22
|
-
* Waits forNetworkAnchor till it reaches any of the provided states
|
|
23
|
-
*
|
|
24
|
-
* @param request the request to send
|
|
25
|
-
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
26
|
-
* @return response returns GetNetworkAnchorResponse | null (null in case of 404 response)
|
|
27
|
-
*/
|
|
28
|
-
forNetworkAnchor(request: serviceRequests.GetNetworkAnchorRequest, ...targetStates: models.NetworkAnchor.LifecycleState[]): Promise<serviceResponses.GetNetworkAnchorResponse | null>;
|
|
29
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Oracle Multicloud API
|
|
4
|
-
* Use the Oracle Multicloud API to retrieve resource anchors and network anchors, and the metadata mappings related a Cloud Service Provider. For more information, see <link to docs>.
|
|
5
|
-
* OpenAPI spec version: 20180828
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
-
* Do not edit the class manually.
|
|
10
|
-
*
|
|
11
|
-
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
-
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
-
*/
|
|
14
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
-
if (k2 === undefined) k2 = k;
|
|
16
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
-
}) : (function(o, m, k, k2) {
|
|
18
|
-
if (k2 === undefined) k2 = k;
|
|
19
|
-
o[k2] = m[k];
|
|
20
|
-
}));
|
|
21
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
-
}) : function(o, v) {
|
|
24
|
-
o["default"] = v;
|
|
25
|
-
});
|
|
26
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
-
if (mod && mod.__esModule) return mod;
|
|
28
|
-
var result = {};
|
|
29
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
-
__setModuleDefault(result, mod);
|
|
31
|
-
return result;
|
|
32
|
-
};
|
|
33
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
34
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
35
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
36
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
37
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
38
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
39
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
-
exports.OmhubNetworkAnchorWaiter = void 0;
|
|
44
|
-
const models = __importStar(require("./model"));
|
|
45
|
-
const oci_common_1 = require("oci-common");
|
|
46
|
-
class OmhubNetworkAnchorWaiter {
|
|
47
|
-
constructor(client, config) {
|
|
48
|
-
this.client = client;
|
|
49
|
-
this.config = config;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Waits forNetworkAnchor till it reaches any of the provided states
|
|
53
|
-
*
|
|
54
|
-
* @param request the request to send
|
|
55
|
-
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
56
|
-
* @return response returns GetNetworkAnchorResponse | null (null in case of 404 response)
|
|
57
|
-
*/
|
|
58
|
-
forNetworkAnchor(request, ...targetStates) {
|
|
59
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
-
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getNetworkAnchor(request), response => targetStates.includes(response.networkAnchor.lifecycleState), targetStates.includes(models.NetworkAnchor.LifecycleState.Deleted));
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
exports.OmhubNetworkAnchorWaiter = OmhubNetworkAnchorWaiter;
|
|
65
|
-
//# sourceMappingURL=omhubnetworkanchor-waiter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"omhubnetworkanchor-waiter.js","sourceRoot":"","sources":["../../../../lib/multicloud/lib/omhubnetworkanchor-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,wBAAwB;IACnC,YACU,MAAgC,EACvB,MAA4B;QADrC,WAAM,GAAN,MAAM,CAA0B;QACvB,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,gBAAgB,CAC3B,OAAgD,EAChD,GAAG,YAAmD;;YAEtD,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAC3C,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,cAAe,CAAC,EACzE,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CACnE,CAAC;QACJ,CAAC;KAAA;CACF;AAxBD,4DAwBC"}
|