oci-multicloud 2.114.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +27 -0
- package/index.js +50 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +574 -0
- package/lib/client.js +1465 -0
- package/lib/client.js.map +1 -0
- package/lib/model/action-kind-header.d.ts +23 -0
- package/lib/model/action-kind-header.js +34 -0
- package/lib/model/action-kind-header.js.map +1 -0
- package/lib/model/aws-cloud-service-provider-metadata-item.d.ts +29 -0
- package/lib/model/aws-cloud-service-provider-metadata-item.js +54 -0
- package/lib/model/aws-cloud-service-provider-metadata-item.js.map +1 -0
- package/lib/model/azure-cloud-service-provider-metadata-item.d.ts +33 -0
- package/lib/model/azure-cloud-service-provider-metadata-item.js +54 -0
- package/lib/model/azure-cloud-service-provider-metadata-item.js.map +1 -0
- package/lib/model/cloud-service-provider-metadata-item.d.ts +37 -0
- package/lib/model/cloud-service-provider-metadata-item.js +76 -0
- package/lib/model/cloud-service-provider-metadata-item.js.map +1 -0
- package/lib/model/cloud-service-provider-network-metadata-item.d.ts +46 -0
- package/lib/model/cloud-service-provider-network-metadata-item.js +29 -0
- package/lib/model/cloud-service-provider-network-metadata-item.js.map +1 -0
- package/lib/model/csp-zone-key-reference-id.d.ts +33 -0
- package/lib/model/csp-zone-key-reference-id.js +29 -0
- package/lib/model/csp-zone-key-reference-id.js.map +1 -0
- package/lib/model/external-location-detail.d.ts +47 -0
- package/lib/model/external-location-detail.js +57 -0
- package/lib/model/external-location-detail.js.map +1 -0
- package/lib/model/external-location-mapping-metadatum-summary-collection.d.ts +27 -0
- package/lib/model/external-location-mapping-metadatum-summary-collection.js +61 -0
- package/lib/model/external-location-mapping-metadatum-summary-collection.js.map +1 -0
- package/lib/model/external-location-mapping-metadatum-summary.d.ts +71 -0
- package/lib/model/external-location-mapping-metadatum-summary.js +57 -0
- package/lib/model/external-location-mapping-metadatum-summary.js.map +1 -0
- package/lib/model/external-location-summaries-metadatum-summary-collection.d.ts +27 -0
- package/lib/model/external-location-summaries-metadatum-summary-collection.js +61 -0
- package/lib/model/external-location-summaries-metadatum-summary-collection.js.map +1 -0
- package/lib/model/external-location-summaries-metadatum-summary.d.ts +60 -0
- package/lib/model/external-location-summaries-metadatum-summary.js +57 -0
- package/lib/model/external-location-summaries-metadatum-summary.js.map +1 -0
- package/lib/model/external-location-summary.d.ts +29 -0
- package/lib/model/external-location-summary.js +29 -0
- package/lib/model/external-location-summary.js.map +1 -0
- package/lib/model/external-location.d.ts +42 -0
- package/lib/model/external-location.js +29 -0
- package/lib/model/external-location.js.map +1 -0
- package/lib/model/external-locations-metadatum-collection.d.ts +27 -0
- package/lib/model/external-locations-metadatum-collection.js +61 -0
- package/lib/model/external-locations-metadatum-collection.js.map +1 -0
- package/lib/model/external-locations-metadatum-summary.d.ts +72 -0
- package/lib/model/external-locations-metadatum-summary.js +57 -0
- package/lib/model/external-locations-metadatum-summary.js.map +1 -0
- package/lib/model/gcp-cloud-service-provider-metadata-item.d.ts +29 -0
- package/lib/model/gcp-cloud-service-provider-metadata-item.js +54 -0
- package/lib/model/gcp-cloud-service-provider-metadata-item.js.map +1 -0
- package/lib/model/index.d.ts +78 -0
- package/lib/model/index.js +101 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/multi-cloud-metadata-collection.d.ts +26 -0
- package/lib/model/multi-cloud-metadata-collection.js +61 -0
- package/lib/model/multi-cloud-metadata-collection.js.map +1 -0
- package/lib/model/multi-cloud-metadata-summary.d.ts +70 -0
- package/lib/model/multi-cloud-metadata-summary.js +29 -0
- package/lib/model/multi-cloud-metadata-summary.js.map +1 -0
- package/lib/model/multi-cloud-metadata.d.ts +70 -0
- package/lib/model/multi-cloud-metadata.js +29 -0
- package/lib/model/multi-cloud-metadata.js.map +1 -0
- package/lib/model/network-anchor-collection.d.ts +26 -0
- package/lib/model/network-anchor-collection.js +61 -0
- package/lib/model/network-anchor-collection.js.map +1 -0
- package/lib/model/network-anchor-summary.d.ts +98 -0
- package/lib/model/network-anchor-summary.js +29 -0
- package/lib/model/network-anchor-summary.js.map +1 -0
- package/lib/model/network-anchor.d.ts +131 -0
- package/lib/model/network-anchor.js +87 -0
- package/lib/model/network-anchor.js.map +1 -0
- package/lib/model/oci-dns.d.ts +25 -0
- package/lib/model/oci-dns.js +29 -0
- package/lib/model/oci-dns.js.map +1 -0
- package/lib/model/oci-network-metadata.d.ts +74 -0
- package/lib/model/oci-network-metadata.js +83 -0
- package/lib/model/oci-network-metadata.js.map +1 -0
- package/lib/model/oci-network-subnet.d.ts +42 -0
- package/lib/model/oci-network-subnet.js +39 -0
- package/lib/model/oci-network-subnet.js.map +1 -0
- package/lib/model/oci-vcn.d.ts +49 -0
- package/lib/model/oci-vcn.js +29 -0
- package/lib/model/oci-vcn.js.map +1 -0
- package/lib/model/om-hub-cp.d.ts +23 -0
- package/lib/model/om-hub-cp.js +55 -0
- package/lib/model/om-hub-cp.js.map +1 -0
- package/lib/model/properties.d.ts +25 -0
- package/lib/model/properties.js +29 -0
- package/lib/model/properties.js.map +1 -0
- package/lib/model/resource-anchor-collection.d.ts +26 -0
- package/lib/model/resource-anchor-collection.js +61 -0
- package/lib/model/resource-anchor-collection.js.map +1 -0
- package/lib/model/resource-anchor-summary.d.ts +94 -0
- package/lib/model/resource-anchor-summary.js +29 -0
- package/lib/model/resource-anchor-summary.js.map +1 -0
- package/lib/model/resource-anchor.d.ts +144 -0
- package/lib/model/resource-anchor.js +81 -0
- package/lib/model/resource-anchor.js.map +1 -0
- package/lib/model/sort-order.d.ts +30 -0
- package/lib/model/sort-order.js +41 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/subscription-type.d.ts +29 -0
- package/lib/model/subscription-type.js +40 -0
- package/lib/model/subscription-type.js.map +1 -0
- package/lib/omhubnetworkanchor-waiter.d.ts +29 -0
- package/lib/omhubnetworkanchor-waiter.js +65 -0
- package/lib/omhubnetworkanchor-waiter.js.map +1 -0
- package/lib/omhubresourceanchor-waiter.d.ts +29 -0
- package/lib/omhubresourceanchor-waiter.js +65 -0
- package/lib/omhubresourceanchor-waiter.js.map +1 -0
- package/lib/request/get-multi-cloud-metadata-request.d.ts +34 -0
- package/lib/request/get-multi-cloud-metadata-request.js +15 -0
- package/lib/request/get-multi-cloud-metadata-request.js.map +1 -0
- package/lib/request/get-network-anchor-request.d.ts +43 -0
- package/lib/request/get-network-anchor-request.js +15 -0
- package/lib/request/get-network-anchor-request.js.map +1 -0
- package/lib/request/get-resource-anchor-request.d.ts +39 -0
- package/lib/request/get-resource-anchor-request.js +15 -0
- package/lib/request/get-resource-anchor-request.js.map +1 -0
- package/lib/request/index.d.ts +30 -0
- package/lib/request/index.js +47 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-external-location-details-metadata-request.d.ts +80 -0
- package/lib/request/list-external-location-details-metadata-request.js +28 -0
- package/lib/request/list-external-location-details-metadata-request.js.map +1 -0
- package/lib/request/list-external-location-mapping-metadata-request.d.ts +69 -0
- package/lib/request/list-external-location-mapping-metadata-request.js +24 -0
- package/lib/request/list-external-location-mapping-metadata-request.js.map +1 -0
- package/lib/request/list-external-location-summaries-metadata-request.d.ts +76 -0
- package/lib/request/list-external-location-summaries-metadata-request.js +28 -0
- package/lib/request/list-external-location-summaries-metadata-request.js.map +1 -0
- package/lib/request/list-multi-cloud-metadata-request.d.ts +61 -0
- package/lib/request/list-multi-cloud-metadata-request.js +24 -0
- package/lib/request/list-multi-cloud-metadata-request.js.map +1 -0
- package/lib/request/list-network-anchors-request.d.ts +95 -0
- package/lib/request/list-network-anchors-request.js +24 -0
- package/lib/request/list-network-anchors-request.js.map +1 -0
- package/lib/request/list-resource-anchors-request.d.ts +91 -0
- package/lib/request/list-resource-anchors-request.js +24 -0
- package/lib/request/list-resource-anchors-request.js.map +1 -0
- package/lib/response/get-multi-cloud-metadata-response.d.ts +30 -0
- package/lib/response/get-multi-cloud-metadata-response.js +15 -0
- package/lib/response/get-multi-cloud-metadata-response.js.map +1 -0
- package/lib/response/get-network-anchor-response.d.ts +30 -0
- package/lib/response/get-network-anchor-response.js +15 -0
- package/lib/response/get-network-anchor-response.js.map +1 -0
- package/lib/response/get-resource-anchor-response.d.ts +30 -0
- package/lib/response/get-resource-anchor-response.js +15 -0
- package/lib/response/get-resource-anchor-response.js.map +1 -0
- package/lib/response/index.d.ts +30 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-external-location-details-metadata-response.d.ts +31 -0
- package/lib/response/list-external-location-details-metadata-response.js +15 -0
- package/lib/response/list-external-location-details-metadata-response.js.map +1 -0
- package/lib/response/list-external-location-mapping-metadata-response.d.ts +31 -0
- package/lib/response/list-external-location-mapping-metadata-response.js +15 -0
- package/lib/response/list-external-location-mapping-metadata-response.js.map +1 -0
- package/lib/response/list-external-location-summaries-metadata-response.d.ts +31 -0
- package/lib/response/list-external-location-summaries-metadata-response.js +15 -0
- package/lib/response/list-external-location-summaries-metadata-response.js.map +1 -0
- package/lib/response/list-multi-cloud-metadata-response.d.ts +31 -0
- package/lib/response/list-multi-cloud-metadata-response.js +15 -0
- package/lib/response/list-multi-cloud-metadata-response.js.map +1 -0
- package/lib/response/list-network-anchors-response.d.ts +31 -0
- package/lib/response/list-network-anchors-response.js +15 -0
- package/lib/response/list-network-anchors-response.js.map +1 -0
- package/lib/response/list-resource-anchors-response.d.ts +31 -0
- package/lib/response/list-resource-anchors-response.js +15 -0
- package/lib/response/list-resource-anchors-response.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,94 @@
|
|
|
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
|
+
/**
|
|
14
|
+
* Summary information about a ResourceAnchor.
|
|
15
|
+
*/
|
|
16
|
+
export interface ResourceAnchorSummary {
|
|
17
|
+
/**
|
|
18
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnchor.
|
|
19
|
+
*/
|
|
20
|
+
"id": string;
|
|
21
|
+
/**
|
|
22
|
+
* A user-friendly name. Does not have to be unique, and it's changeable.
|
|
23
|
+
*/
|
|
24
|
+
"displayName": string;
|
|
25
|
+
/**
|
|
26
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
27
|
+
*/
|
|
28
|
+
"compartmentId": string;
|
|
29
|
+
/**
|
|
30
|
+
* The date and time the ResourceAnchor was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
31
|
+
* <p>
|
|
32
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
"timeCreated": Date;
|
|
36
|
+
/**
|
|
37
|
+
* The date and time the ResourceAnchor was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
38
|
+
* <p>
|
|
39
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
"timeUpdated"?: Date;
|
|
43
|
+
/**
|
|
44
|
+
* The current state of the ResourceAnchor.
|
|
45
|
+
*/
|
|
46
|
+
"lifecycleState": string;
|
|
47
|
+
/**
|
|
48
|
+
* A message that describes the current state of the ResourceAnchor in more detail. For example,
|
|
49
|
+
* can be used to provide actionable information for a resource in the Failed state.
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
"lifecycleDetails"?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
55
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
56
|
+
* <p>
|
|
57
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
"freeformTags": {
|
|
61
|
+
[key: string]: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
65
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
66
|
+
* <p>
|
|
67
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"definedTags": {
|
|
71
|
+
[key: string]: {
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Oracle Cloud Infrastructure Subscription Id
|
|
77
|
+
*/
|
|
78
|
+
"subscriptionId": string;
|
|
79
|
+
/**
|
|
80
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
81
|
+
* <p>
|
|
82
|
+
Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
"systemTags"?: {
|
|
86
|
+
[key: string]: {
|
|
87
|
+
[key: string]: any;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
export declare namespace ResourceAnchorSummary {
|
|
92
|
+
function getJsonObj(obj: ResourceAnchorSummary): object;
|
|
93
|
+
function getDeserializedJsonObj(obj: ResourceAnchorSummary): object;
|
|
94
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ResourceAnchorSummary = void 0;
|
|
16
|
+
var ResourceAnchorSummary;
|
|
17
|
+
(function (ResourceAnchorSummary) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
ResourceAnchorSummary.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
ResourceAnchorSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(ResourceAnchorSummary = exports.ResourceAnchorSummary || (exports.ResourceAnchorSummary = {}));
|
|
29
|
+
//# sourceMappingURL=resource-anchor-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-anchor-summary.js","sourceRoot":"","sources":["../../../../../lib/multicloud/lib/model/resource-anchor-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA0EH,IAAiB,qBAAqB,CAWrC;AAXD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAWrC"}
|
|
@@ -0,0 +1,144 @@
|
|
|
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 model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* A ResourceAnchor is a description of a ResourceAnchor.
|
|
16
|
+
* <p>
|
|
17
|
+
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to
|
|
18
|
+
* an administrator. If you're an administrator who needs to write policies to give users access, see
|
|
19
|
+
* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export interface ResourceAnchor {
|
|
23
|
+
/**
|
|
24
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnchor.
|
|
25
|
+
*/
|
|
26
|
+
"id": string;
|
|
27
|
+
/**
|
|
28
|
+
* A user-friendly name. Does not have to be unique, and it's changeable.
|
|
29
|
+
*/
|
|
30
|
+
"displayName": string;
|
|
31
|
+
/**
|
|
32
|
+
* OCI Region that resource is created.
|
|
33
|
+
*/
|
|
34
|
+
"region"?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
37
|
+
*/
|
|
38
|
+
"compartmentId": string;
|
|
39
|
+
/**
|
|
40
|
+
* The date and time the ResourceAnchor was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
41
|
+
* <p>
|
|
42
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
"timeCreated": Date;
|
|
46
|
+
/**
|
|
47
|
+
* The date and time the ResourceAnchor was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339).
|
|
48
|
+
* <p>
|
|
49
|
+
Example: {@code 2016-08-25T21:10:29.600Z}
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
"timeUpdated"?: Date;
|
|
53
|
+
/**
|
|
54
|
+
* The current state of the ResourceAnchor.
|
|
55
|
+
*/
|
|
56
|
+
"lifecycleState": ResourceAnchor.LifecycleState;
|
|
57
|
+
/**
|
|
58
|
+
* A message that describes the current state of the ResourceAnchor in more detail. For example,
|
|
59
|
+
* can be used to provide actionable information for a resource in the Failed state.
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
"lifecycleDetails"?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
65
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
66
|
+
* <p>
|
|
67
|
+
Example: {@code {\"Department\": \"Finance\"}}
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
"freeformTags": {
|
|
71
|
+
[key: string]: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
75
|
+
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
76
|
+
* <p>
|
|
77
|
+
Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
"definedTags": {
|
|
81
|
+
[key: string]: {
|
|
82
|
+
[key: string]: any;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* System tags for this resource. Each key is predefined and scoped to a namespace.
|
|
87
|
+
* <p>
|
|
88
|
+
Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}}
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
"systemTags": {
|
|
92
|
+
[key: string]: {
|
|
93
|
+
[key: string]: any;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* AUTO_BIND - when passed compartment will be created on-behalf of customer and bind to this resource anchor
|
|
98
|
+
* NO_AUTO_BIND - compartment will not be created and later customer can bind existing compartment.
|
|
99
|
+
* to this resource anchor. This is for future use only
|
|
100
|
+
*
|
|
101
|
+
*/
|
|
102
|
+
"setupMode"?: ResourceAnchor.SetupMode;
|
|
103
|
+
/**
|
|
104
|
+
* Optional - Oracle Cloud Infrastructure compartment Id (OCID) which was created or linked by customer with resource anchor.
|
|
105
|
+
* This compartmentId is different from where resource Anchor live.
|
|
106
|
+
*
|
|
107
|
+
*/
|
|
108
|
+
"linkedCompartmentId"?: string;
|
|
109
|
+
/**
|
|
110
|
+
* subscription type
|
|
111
|
+
*/
|
|
112
|
+
"subscriptionType"?: model.SubscriptionType;
|
|
113
|
+
/**
|
|
114
|
+
* Oracle Cloud Infrastructure Subscription Id
|
|
115
|
+
*/
|
|
116
|
+
"subscriptionId": string;
|
|
117
|
+
"cloudServiceProviderMetadataItem"?: model.AzureCloudServiceProviderMetadataItem | model.GcpCloudServiceProviderMetadataItem | model.AwsCloudServiceProviderMetadataItem;
|
|
118
|
+
}
|
|
119
|
+
export declare namespace ResourceAnchor {
|
|
120
|
+
enum LifecycleState {
|
|
121
|
+
Creating = "CREATING",
|
|
122
|
+
Updating = "UPDATING",
|
|
123
|
+
Active = "ACTIVE",
|
|
124
|
+
Deleting = "DELETING",
|
|
125
|
+
Deleted = "DELETED",
|
|
126
|
+
Failed = "FAILED",
|
|
127
|
+
/**
|
|
128
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
129
|
+
* version of the SDK.
|
|
130
|
+
*/
|
|
131
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
132
|
+
}
|
|
133
|
+
enum SetupMode {
|
|
134
|
+
AutoBind = "AUTO_BIND",
|
|
135
|
+
NoAutoBind = "NO_AUTO_BIND",
|
|
136
|
+
/**
|
|
137
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
138
|
+
* version of the SDK.
|
|
139
|
+
*/
|
|
140
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
141
|
+
}
|
|
142
|
+
function getJsonObj(obj: ResourceAnchor): object;
|
|
143
|
+
function getDeserializedJsonObj(obj: ResourceAnchor): object;
|
|
144
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.ResourceAnchor = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var ResourceAnchor;
|
|
37
|
+
(function (ResourceAnchor) {
|
|
38
|
+
let LifecycleState;
|
|
39
|
+
(function (LifecycleState) {
|
|
40
|
+
LifecycleState["Creating"] = "CREATING";
|
|
41
|
+
LifecycleState["Updating"] = "UPDATING";
|
|
42
|
+
LifecycleState["Active"] = "ACTIVE";
|
|
43
|
+
LifecycleState["Deleting"] = "DELETING";
|
|
44
|
+
LifecycleState["Deleted"] = "DELETED";
|
|
45
|
+
LifecycleState["Failed"] = "FAILED";
|
|
46
|
+
/**
|
|
47
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
48
|
+
* version of the SDK.
|
|
49
|
+
*/
|
|
50
|
+
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
51
|
+
})(LifecycleState = ResourceAnchor.LifecycleState || (ResourceAnchor.LifecycleState = {}));
|
|
52
|
+
let SetupMode;
|
|
53
|
+
(function (SetupMode) {
|
|
54
|
+
SetupMode["AutoBind"] = "AUTO_BIND";
|
|
55
|
+
SetupMode["NoAutoBind"] = "NO_AUTO_BIND";
|
|
56
|
+
/**
|
|
57
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
58
|
+
* version of the SDK.
|
|
59
|
+
*/
|
|
60
|
+
SetupMode["UnknownValue"] = "UNKNOWN_VALUE";
|
|
61
|
+
})(SetupMode = ResourceAnchor.SetupMode || (ResourceAnchor.SetupMode = {}));
|
|
62
|
+
function getJsonObj(obj) {
|
|
63
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
64
|
+
"cloudServiceProviderMetadataItem": obj.cloudServiceProviderMetadataItem
|
|
65
|
+
? model.CloudServiceProviderMetadataItem.getJsonObj(obj.cloudServiceProviderMetadataItem)
|
|
66
|
+
: undefined
|
|
67
|
+
});
|
|
68
|
+
return jsonObj;
|
|
69
|
+
}
|
|
70
|
+
ResourceAnchor.getJsonObj = getJsonObj;
|
|
71
|
+
function getDeserializedJsonObj(obj) {
|
|
72
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
73
|
+
"cloudServiceProviderMetadataItem": obj.cloudServiceProviderMetadataItem
|
|
74
|
+
? model.CloudServiceProviderMetadataItem.getDeserializedJsonObj(obj.cloudServiceProviderMetadataItem)
|
|
75
|
+
: undefined
|
|
76
|
+
});
|
|
77
|
+
return jsonObj;
|
|
78
|
+
}
|
|
79
|
+
ResourceAnchor.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
80
|
+
})(ResourceAnchor = exports.ResourceAnchor || (exports.ResourceAnchor = {}));
|
|
81
|
+
//# sourceMappingURL=resource-anchor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-anchor.js","sourceRoot":"","sources":["../../../../../lib/multicloud/lib/model/resource-anchor.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsGlC,IAAiB,cAAc,CAmD9B;AAnDD,WAAiB,cAAc;IAC7B,IAAY,cAYX;IAZD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAZW,cAAc,GAAd,6BAAc,KAAd,6BAAc,QAYzB;IAED,IAAY,SAQX;IARD,WAAY,SAAS;QACnB,mCAAsB,CAAA;QACtB,wCAA2B,CAAA;QAC3B;;;WAGG;QACH,2CAA8B,CAAA;IAChC,CAAC,EARW,SAAS,GAAT,wBAAS,KAAT,wBAAS,QAQpB;IAED,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kCAAkC,EAAE,GAAG,CAAC,gCAAgC;gBACtE,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,GAAG,CAAC,gCAAgC,CAAC;gBACzF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,yBAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kCAAkC,EAAE,GAAG,CAAC,gCAAgC;gBACtE,CAAC,CAAC,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CAC3D,GAAG,CAAC,gCAAgC,CACrC;gBACH,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAsB,yBAarC,CAAA;AACH,CAAC,EAnDgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAmD9B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
/**
|
|
14
|
+
* The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The {@code displayName}
|
|
15
|
+
* sort order is case sensitive.
|
|
16
|
+
*
|
|
17
|
+
**/
|
|
18
|
+
export declare enum SortOrder {
|
|
19
|
+
Asc = "ASC",
|
|
20
|
+
Desc = "DESC",
|
|
21
|
+
/**
|
|
22
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
23
|
+
* version of the SDK.
|
|
24
|
+
*/
|
|
25
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
26
|
+
}
|
|
27
|
+
export declare namespace SortOrder {
|
|
28
|
+
function getJsonObj(obj: SortOrder): SortOrder;
|
|
29
|
+
function getDeserializedJsonObj(obj: SortOrder): SortOrder;
|
|
30
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.SortOrder = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The {@code displayName}
|
|
18
|
+
* sort order is case sensitive.
|
|
19
|
+
*
|
|
20
|
+
**/
|
|
21
|
+
var SortOrder;
|
|
22
|
+
(function (SortOrder) {
|
|
23
|
+
SortOrder["Asc"] = "ASC";
|
|
24
|
+
SortOrder["Desc"] = "DESC";
|
|
25
|
+
/**
|
|
26
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
27
|
+
* version of the SDK.
|
|
28
|
+
*/
|
|
29
|
+
SortOrder["UnknownValue"] = "UNKNOWN_VALUE";
|
|
30
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
31
|
+
(function (SortOrder) {
|
|
32
|
+
function getJsonObj(obj) {
|
|
33
|
+
return obj;
|
|
34
|
+
}
|
|
35
|
+
SortOrder.getJsonObj = getJsonObj;
|
|
36
|
+
function getDeserializedJsonObj(obj) {
|
|
37
|
+
return obj;
|
|
38
|
+
}
|
|
39
|
+
SortOrder.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
40
|
+
})(SortOrder = exports.SortOrder || (exports.SortOrder = {}));
|
|
41
|
+
//# sourceMappingURL=sort-order.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort-order.js","sourceRoot":"","sources":["../../../../../lib/multicloud/lib/model/sort-order.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;;;IAII;AACJ,IAAY,SASX;AATD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;IAEb;;;OAGG;IACH,2CAA8B,CAAA;AAChC,CAAC,EATW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QASpB;AAED,WAAiB,SAAS;IACxB,SAAgB,UAAU,CAAC,GAAc;QACvC,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,oBAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAc;QACnD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,gCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOzB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
/**
|
|
14
|
+
* Oracle Cloud Infrastructure Subscription Type.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum SubscriptionType {
|
|
17
|
+
Oracledbatazure = "ORACLEDBATAZURE",
|
|
18
|
+
Oracledbatgoogle = "ORACLEDBATGOOGLE",
|
|
19
|
+
Oracledbataws = "ORACLEDBATAWS",
|
|
20
|
+
/**
|
|
21
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
22
|
+
* version of the SDK.
|
|
23
|
+
*/
|
|
24
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
25
|
+
}
|
|
26
|
+
export declare namespace SubscriptionType {
|
|
27
|
+
function getJsonObj(obj: SubscriptionType): SubscriptionType;
|
|
28
|
+
function getDeserializedJsonObj(obj: SubscriptionType): SubscriptionType;
|
|
29
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.SubscriptionType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Oracle Cloud Infrastructure Subscription Type.
|
|
18
|
+
**/
|
|
19
|
+
var SubscriptionType;
|
|
20
|
+
(function (SubscriptionType) {
|
|
21
|
+
SubscriptionType["Oracledbatazure"] = "ORACLEDBATAZURE";
|
|
22
|
+
SubscriptionType["Oracledbatgoogle"] = "ORACLEDBATGOOGLE";
|
|
23
|
+
SubscriptionType["Oracledbataws"] = "ORACLEDBATAWS";
|
|
24
|
+
/**
|
|
25
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
26
|
+
* version of the SDK.
|
|
27
|
+
*/
|
|
28
|
+
SubscriptionType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
29
|
+
})(SubscriptionType = exports.SubscriptionType || (exports.SubscriptionType = {}));
|
|
30
|
+
(function (SubscriptionType) {
|
|
31
|
+
function getJsonObj(obj) {
|
|
32
|
+
return obj;
|
|
33
|
+
}
|
|
34
|
+
SubscriptionType.getJsonObj = getJsonObj;
|
|
35
|
+
function getDeserializedJsonObj(obj) {
|
|
36
|
+
return obj;
|
|
37
|
+
}
|
|
38
|
+
SubscriptionType.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
39
|
+
})(SubscriptionType = exports.SubscriptionType || (exports.SubscriptionType = {}));
|
|
40
|
+
//# sourceMappingURL=subscription-type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-type.js","sourceRoot":"","sources":["../../../../../lib/multicloud/lib/model/subscription-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,gBAUX;AAVD,WAAY,gBAAgB;IAC1B,uDAAmC,CAAA;IACnC,yDAAqC,CAAA;IACrC,mDAA+B,CAAA;IAE/B;;;OAGG;IACH,kDAA8B,CAAA;AAChC,CAAC,EAVW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAU3B;AAED,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,2BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,uCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAOhC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { OmhubResourceAnchorClient } from "./client";
|
|
17
|
+
export declare class OmhubResourceAnchorWaiter {
|
|
18
|
+
private client;
|
|
19
|
+
private readonly config?;
|
|
20
|
+
constructor(client: OmhubResourceAnchorClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
21
|
+
/**
|
|
22
|
+
* Waits forResourceAnchor 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 GetResourceAnchorResponse | null (null in case of 404 response)
|
|
27
|
+
*/
|
|
28
|
+
forResourceAnchor(request: serviceRequests.GetResourceAnchorRequest, ...targetStates: models.ResourceAnchor.LifecycleState[]): Promise<serviceResponses.GetResourceAnchorResponse | null>;
|
|
29
|
+
}
|