oci-cloudbridge 2.96.0 → 2.97.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 +10 -9
- package/lib/client.js +69 -66
- package/lib/client.js.map +1 -1
- package/lib/model/asset-source-credentials-type.d.ts +1 -0
- package/lib/model/asset-source-credentials-type.js +1 -0
- package/lib/model/asset-source-credentials-type.js.map +1 -1
- package/lib/model/asset-source-credentials.d.ts +5 -2
- package/lib/model/asset-source-credentials.js.map +1 -1
- package/lib/model/asset-source-summary.js +4 -0
- package/lib/model/asset-source-summary.js.map +1 -1
- package/lib/model/asset-source-type.d.ts +1 -0
- package/lib/model/asset-source-type.js +1 -0
- package/lib/model/asset-source-type.js.map +1 -1
- package/lib/model/asset-source.js +4 -0
- package/lib/model/asset-source.js.map +1 -1
- package/lib/model/asset-type.d.ts +2 -0
- package/lib/model/asset-type.js +2 -0
- package/lib/model/asset-type.js.map +1 -1
- package/lib/model/asset.js +8 -0
- package/lib/model/asset.js.map +1 -1
- package/lib/model/aws-asset-source-summary.d.ts +32 -0
- package/lib/model/aws-asset-source-summary.js +54 -0
- package/lib/model/aws-asset-source-summary.js.map +1 -0
- package/lib/model/aws-asset-source.d.ts +47 -0
- package/lib/model/aws-asset-source.js +66 -0
- package/lib/model/aws-asset-source.js.map +1 -0
- package/lib/model/aws-ebs-asset.d.ts +25 -0
- package/lib/model/aws-ebs-asset.js +54 -0
- package/lib/model/aws-ebs-asset.js.map +1 -0
- package/lib/model/aws-ebs-properties.d.ts +66 -0
- package/lib/model/aws-ebs-properties.js +71 -0
- package/lib/model/aws-ebs-properties.js.map +1 -0
- package/lib/model/aws-ec2-asset.d.ts +29 -0
- package/lib/model/aws-ec2-asset.js +74 -0
- package/lib/model/aws-ec2-asset.js.map +1 -0
- package/lib/model/aws-ec2-properties.d.ts +148 -0
- package/lib/model/aws-ec2-properties.js +87 -0
- package/lib/model/aws-ec2-properties.js.map +1 -0
- package/lib/model/create-asset-details.js +8 -0
- package/lib/model/create-asset-details.js.map +1 -1
- package/lib/model/create-asset-source-details.js +4 -0
- package/lib/model/create-asset-source-details.js.map +1 -1
- package/lib/model/create-aws-asset-source-details.d.ts +46 -0
- package/lib/model/create-aws-asset-source-details.js +68 -0
- package/lib/model/create-aws-asset-source-details.js.map +1 -0
- package/lib/model/create-aws-ebs-asset-details.d.ts +25 -0
- package/lib/model/create-aws-ebs-asset-details.js +58 -0
- package/lib/model/create-aws-ebs-asset-details.js.map +1 -0
- package/lib/model/create-aws-ec2-asset-details.d.ts +29 -0
- package/lib/model/create-aws-ec2-asset-details.js +78 -0
- package/lib/model/create-aws-ec2-asset-details.js.map +1 -0
- package/lib/model/create-vm-ware-asset-source-details.d.ts +1 -1
- package/lib/model/create-vmware-vm-asset-details.d.ts +4 -4
- package/lib/model/group-identifier.d.ts +29 -0
- package/lib/model/{update-plugin-details.js → group-identifier.js} +7 -7
- package/lib/model/group-identifier.js.map +1 -0
- package/lib/model/import-inventory-via-assets-details.d.ts +2 -2
- package/lib/model/index.d.ts +50 -2
- package/lib/model/index.js +53 -4
- package/lib/model/index.js.map +1 -1
- package/lib/model/instance-network-interface-association.d.ts +41 -0
- package/lib/model/instance-network-interface-association.js +29 -0
- package/lib/model/instance-network-interface-association.js.map +1 -0
- package/lib/model/instance-network-interface-attachment.d.ts +45 -0
- package/lib/model/instance-network-interface-attachment.js +29 -0
- package/lib/model/instance-network-interface-attachment.js.map +1 -0
- package/lib/model/instance-network-interface.d.ts +76 -0
- package/lib/model/instance-network-interface.js +83 -0
- package/lib/model/instance-network-interface.js.map +1 -0
- package/lib/model/instance-private-ip-address.d.ts +35 -0
- package/lib/model/instance-private-ip-address.js +57 -0
- package/lib/model/instance-private-ip-address.js.map +1 -0
- package/lib/model/instance-state.d.ts +29 -0
- package/lib/model/instance-state.js +29 -0
- package/lib/model/instance-state.js.map +1 -0
- package/lib/model/monthly-cost-summary.d.ts +29 -0
- package/lib/model/monthly-cost-summary.js +29 -0
- package/lib/model/monthly-cost-summary.js.map +1 -0
- package/lib/model/operation-type.d.ts +3 -0
- package/lib/model/operation-type.js +3 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/placement.d.ts +53 -0
- package/lib/model/placement.js +29 -0
- package/lib/model/placement.js.map +1 -0
- package/lib/model/supported-cloud-region-collection.d.ts +26 -0
- package/lib/model/supported-cloud-region-collection.js +61 -0
- package/lib/model/supported-cloud-region-collection.js.map +1 -0
- package/lib/model/supported-cloud-region-lifecycle-state.d.ts +28 -0
- package/lib/model/supported-cloud-region-lifecycle-state.js +39 -0
- package/lib/model/supported-cloud-region-lifecycle-state.js.map +1 -0
- package/lib/model/supported-cloud-region-summary.d.ts +54 -0
- package/lib/model/supported-cloud-region-summary.js +29 -0
- package/lib/model/supported-cloud-region-summary.js.map +1 -0
- package/lib/model/{update-plugin-details.d.ts → tag.d.ts} +11 -7
- package/lib/model/tag.js +29 -0
- package/lib/model/tag.js.map +1 -0
- package/lib/model/update-asset-details.js +8 -0
- package/lib/model/update-asset-details.js.map +1 -1
- package/lib/model/update-asset-source-details.d.ts +5 -1
- package/lib/model/update-asset-source-details.js +4 -0
- package/lib/model/update-asset-source-details.js.map +1 -1
- package/lib/model/update-aws-asset-source-details.d.ts +38 -0
- package/lib/model/update-aws-asset-source-details.js +68 -0
- package/lib/model/update-aws-asset-source-details.js.map +1 -0
- package/lib/model/update-aws-ebs-asset-details.d.ts +25 -0
- package/lib/model/update-aws-ebs-asset-details.js +58 -0
- package/lib/model/update-aws-ebs-asset-details.js.map +1 -0
- package/lib/model/update-aws-ec2-asset-details.d.ts +29 -0
- package/lib/model/update-aws-ec2-asset-details.js +78 -0
- package/lib/model/update-aws-ec2-asset-details.js.map +1 -0
- package/lib/model/update-vm-ware-asset-source-details.d.ts +1 -5
- package/lib/model/update-vm-ware-asset-source-details.js.map +1 -1
- package/lib/model/vm-asset.d.ts +2 -2
- package/lib/model/vm-ware-asset-source-summary.d.ts +1 -1
- package/lib/model/vm-ware-asset-source.d.ts +2 -1
- package/lib/model/vm-ware-asset-source.js.map +1 -1
- package/lib/model/vmware-vm-asset.d.ts +4 -4
- package/lib/model/volume-attachment.d.ts +41 -0
- package/lib/model/volume-attachment.js +29 -0
- package/lib/model/volume-attachment.js.map +1 -0
- package/lib/request/create-asset-request.d.ts +1 -1
- package/lib/request/create-asset-source-request.d.ts +1 -1
- package/lib/request/index.d.ts +2 -2
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-supported-cloud-regions-request.d.ts +53 -0
- package/lib/{response/update-plugin-response.js → request/list-supported-cloud-regions-request.js} +9 -1
- package/lib/request/list-supported-cloud-regions-request.js.map +1 -0
- package/lib/request/update-asset-request.d.ts +1 -1
- package/lib/request/update-asset-source-request.d.ts +1 -1
- package/lib/response/index.d.ts +2 -2
- package/lib/response/{update-plugin-response.d.ts → list-supported-cloud-regions-response.d.ts} +10 -8
- package/lib/{request/update-plugin-request.js → response/list-supported-cloud-regions-response.js} +1 -1
- package/lib/response/list-supported-cloud-regions-response.js.map +1 -0
- package/package.json +3 -3
- package/lib/model/update-plugin-details.js.map +0 -1
- package/lib/request/update-plugin-request.d.ts +0 -44
- package/lib/request/update-plugin-request.js.map +0 -1
- package/lib/response/update-plugin-response.js.map +0 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Oracle Cloud Bridge API
|
|
3
|
+
* API for Oracle Cloud Bridge service.
|
|
4
|
+
* OpenAPI spec version: 20220509
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Lifecycle state of the supported cloud region.
|
|
15
|
+
**/
|
|
16
|
+
export declare enum SupportedCloudRegionLifecycleState {
|
|
17
|
+
Active = "ACTIVE",
|
|
18
|
+
Inactive = "INACTIVE",
|
|
19
|
+
/**
|
|
20
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
21
|
+
* version of the SDK.
|
|
22
|
+
*/
|
|
23
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
24
|
+
}
|
|
25
|
+
export declare namespace SupportedCloudRegionLifecycleState {
|
|
26
|
+
function getJsonObj(obj: SupportedCloudRegionLifecycleState): SupportedCloudRegionLifecycleState;
|
|
27
|
+
function getDeserializedJsonObj(obj: SupportedCloudRegionLifecycleState): SupportedCloudRegionLifecycleState;
|
|
28
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Oracle Cloud Bridge API
|
|
4
|
+
* API for Oracle Cloud Bridge service.
|
|
5
|
+
* OpenAPI spec version: 20220509
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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.SupportedCloudRegionLifecycleState = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Lifecycle state of the supported cloud region.
|
|
18
|
+
**/
|
|
19
|
+
var SupportedCloudRegionLifecycleState;
|
|
20
|
+
(function (SupportedCloudRegionLifecycleState) {
|
|
21
|
+
SupportedCloudRegionLifecycleState["Active"] = "ACTIVE";
|
|
22
|
+
SupportedCloudRegionLifecycleState["Inactive"] = "INACTIVE";
|
|
23
|
+
/**
|
|
24
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
25
|
+
* version of the SDK.
|
|
26
|
+
*/
|
|
27
|
+
SupportedCloudRegionLifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
28
|
+
})(SupportedCloudRegionLifecycleState = exports.SupportedCloudRegionLifecycleState || (exports.SupportedCloudRegionLifecycleState = {}));
|
|
29
|
+
(function (SupportedCloudRegionLifecycleState) {
|
|
30
|
+
function getJsonObj(obj) {
|
|
31
|
+
return obj;
|
|
32
|
+
}
|
|
33
|
+
SupportedCloudRegionLifecycleState.getJsonObj = getJsonObj;
|
|
34
|
+
function getDeserializedJsonObj(obj) {
|
|
35
|
+
return obj;
|
|
36
|
+
}
|
|
37
|
+
SupportedCloudRegionLifecycleState.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
38
|
+
})(SupportedCloudRegionLifecycleState = exports.SupportedCloudRegionLifecycleState || (exports.SupportedCloudRegionLifecycleState = {}));
|
|
39
|
+
//# sourceMappingURL=supported-cloud-region-lifecycle-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supported-cloud-region-lifecycle-state.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/supported-cloud-region-lifecycle-state.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,kCASX;AATD,WAAY,kCAAkC;IAC5C,uDAAiB,CAAA;IACjB,2DAAqB,CAAA;IAErB;;;OAGG;IACH,oEAA8B,CAAA;AAChC,CAAC,EATW,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAS7C;AAED,WAAiB,kCAAkC;IACjD,SAAgB,UAAU,CACxB,GAAuC;QAEvC,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,6CAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAAuC;QAEvC,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,yDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAWlD"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Oracle Cloud Bridge API
|
|
3
|
+
* API for Oracle Cloud Bridge service.
|
|
4
|
+
* OpenAPI spec version: 20220509
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Summary of the supported cloud region.
|
|
16
|
+
*/
|
|
17
|
+
export interface SupportedCloudRegionSummary {
|
|
18
|
+
/**
|
|
19
|
+
* The asset source type associated with the supported cloud region.
|
|
20
|
+
*/
|
|
21
|
+
"assetSourceType": model.AssetSourceType;
|
|
22
|
+
/**
|
|
23
|
+
* The supported cloud region name.
|
|
24
|
+
*/
|
|
25
|
+
"name": string;
|
|
26
|
+
/**
|
|
27
|
+
* The current state of the supported cloud region.
|
|
28
|
+
*/
|
|
29
|
+
"lifecycleState": model.SupportedCloudRegionLifecycleState;
|
|
30
|
+
/**
|
|
31
|
+
* The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
|
|
32
|
+
* predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
33
|
+
* Example: {@code {\"Department\": \"Finance\"}}
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
"freeformTags"?: {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces.
|
|
41
|
+
* For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
42
|
+
* Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}}
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
"definedTags"?: {
|
|
46
|
+
[key: string]: {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export declare namespace SupportedCloudRegionSummary {
|
|
52
|
+
function getJsonObj(obj: SupportedCloudRegionSummary): object;
|
|
53
|
+
function getDeserializedJsonObj(obj: SupportedCloudRegionSummary): object;
|
|
54
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Oracle Cloud Bridge API
|
|
4
|
+
* API for Oracle Cloud Bridge service.
|
|
5
|
+
* OpenAPI spec version: 20220509
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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.SupportedCloudRegionSummary = void 0;
|
|
16
|
+
var SupportedCloudRegionSummary;
|
|
17
|
+
(function (SupportedCloudRegionSummary) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
SupportedCloudRegionSummary.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
SupportedCloudRegionSummary.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(SupportedCloudRegionSummary = exports.SupportedCloudRegionSummary || (exports.SupportedCloudRegionSummary = {}));
|
|
29
|
+
//# sourceMappingURL=supported-cloud-region-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supported-cloud-region-summary.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/supported-cloud-region-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAqCH,IAAiB,2BAA2B,CAW3C;AAXD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAW3C"}
|
|
@@ -11,15 +11,19 @@
|
|
|
11
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
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Describes a tag.
|
|
15
15
|
*/
|
|
16
|
-
export interface
|
|
16
|
+
export interface Tag {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* The key of the tag.
|
|
19
19
|
*/
|
|
20
|
-
"
|
|
20
|
+
"key"?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The value of the tag.
|
|
23
|
+
*/
|
|
24
|
+
"value"?: string;
|
|
21
25
|
}
|
|
22
|
-
export declare namespace
|
|
23
|
-
function getJsonObj(obj:
|
|
24
|
-
function getDeserializedJsonObj(obj:
|
|
26
|
+
export declare namespace Tag {
|
|
27
|
+
function getJsonObj(obj: Tag): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: Tag): object;
|
|
25
29
|
}
|
package/lib/model/tag.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Oracle Cloud Bridge API
|
|
4
|
+
* API for Oracle Cloud Bridge service.
|
|
5
|
+
* OpenAPI spec version: 20220509
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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.Tag = void 0;
|
|
16
|
+
var Tag;
|
|
17
|
+
(function (Tag) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
Tag.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
Tag.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(Tag = exports.Tag || (exports.Tag = {}));
|
|
29
|
+
//# sourceMappingURL=tag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/tag.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,GAAG,CAWnB;AAXD,WAAiB,GAAG;IAClB,SAAgB,UAAU,CAAC,GAAQ;QACjC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,cAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAQ;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0BAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,GAAG,GAAH,WAAG,KAAH,WAAG,QAWnB"}
|
|
@@ -42,8 +42,12 @@ var UpdateAssetDetails;
|
|
|
42
42
|
switch (obj.assetType) {
|
|
43
43
|
case "VM":
|
|
44
44
|
return model.UpdateVmAssetDetails.getJsonObj(jsonObj, true);
|
|
45
|
+
case "AWS_EBS":
|
|
46
|
+
return model.UpdateAwsEbsAssetDetails.getJsonObj(jsonObj, true);
|
|
45
47
|
case "VMWARE_VM":
|
|
46
48
|
return model.UpdateVmwareVmAssetDetails.getJsonObj(jsonObj, true);
|
|
49
|
+
case "AWS_EC2":
|
|
50
|
+
return model.UpdateAwsEc2AssetDetails.getJsonObj(jsonObj, true);
|
|
47
51
|
default:
|
|
48
52
|
if (common.LOG.logger)
|
|
49
53
|
common.LOG.logger.info(`Unknown value for: ${obj.assetType}`);
|
|
@@ -58,8 +62,12 @@ var UpdateAssetDetails;
|
|
|
58
62
|
switch (obj.assetType) {
|
|
59
63
|
case "VM":
|
|
60
64
|
return model.UpdateVmAssetDetails.getDeserializedJsonObj(jsonObj, true);
|
|
65
|
+
case "AWS_EBS":
|
|
66
|
+
return model.UpdateAwsEbsAssetDetails.getDeserializedJsonObj(jsonObj, true);
|
|
61
67
|
case "VMWARE_VM":
|
|
62
68
|
return model.UpdateVmwareVmAssetDetails.getDeserializedJsonObj(jsonObj, true);
|
|
69
|
+
case "AWS_EC2":
|
|
70
|
+
return model.UpdateAwsEc2AssetDetails.getDeserializedJsonObj(jsonObj, true);
|
|
63
71
|
default:
|
|
64
72
|
if (common.LOG.logger)
|
|
65
73
|
common.LOG.logger.info(`Unknown value for: ${obj.assetType}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-asset-details.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/update-asset-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAgCtC,IAAiB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"update-asset-details.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/update-asset-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAgCtC,IAAiB,kBAAkB,CA+DlC;AA/DD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,WAAW,IAAI,GAAG,IAAI,GAAG,CAAC,SAAS,EAAE;YAC9C,QAAQ,GAAG,CAAC,SAAS,EAAE;gBACrB,KAAK,IAAI;oBACP,OAAO,KAAK,CAAC,oBAAoB,CAAC,UAAU,CACL,OAAQ,EAC7C,IAAI,CACL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AAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IA9Be,yCAAsB,yBA8BrC,CAAA;AACH,CAAC,EA/DgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA+DlC"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
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
12
|
*/
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Asset source update request.
|
|
15
15
|
*/
|
|
16
16
|
export interface UpdateAssetSourceDetails {
|
|
17
17
|
/**
|
|
@@ -24,6 +24,10 @@ export interface UpdateAssetSourceDetails {
|
|
|
24
24
|
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that is going to be used to create assets.
|
|
25
25
|
*/
|
|
26
26
|
"assetsCompartmentId"?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the discovery schedule that is going to be assigned to an asset source.
|
|
29
|
+
*/
|
|
30
|
+
"discoveryScheduleId"?: string;
|
|
27
31
|
/**
|
|
28
32
|
* The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no
|
|
29
33
|
* predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
@@ -42,6 +42,8 @@ var UpdateAssetSourceDetails;
|
|
|
42
42
|
switch (obj.type) {
|
|
43
43
|
case "VMWARE":
|
|
44
44
|
return model.UpdateVmWareAssetSourceDetails.getJsonObj(jsonObj, true);
|
|
45
|
+
case "AWS":
|
|
46
|
+
return model.UpdateAwsAssetSourceDetails.getJsonObj(jsonObj, true);
|
|
45
47
|
default:
|
|
46
48
|
if (common.LOG.logger)
|
|
47
49
|
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
@@ -56,6 +58,8 @@ var UpdateAssetSourceDetails;
|
|
|
56
58
|
switch (obj.type) {
|
|
57
59
|
case "VMWARE":
|
|
58
60
|
return model.UpdateVmWareAssetSourceDetails.getDeserializedJsonObj(jsonObj, true);
|
|
61
|
+
case "AWS":
|
|
62
|
+
return model.UpdateAwsAssetSourceDetails.getDeserializedJsonObj(jsonObj, true);
|
|
59
63
|
default:
|
|
60
64
|
if (common.LOG.logger)
|
|
61
65
|
common.LOG.logger.info(`Unknown value for: ${obj.type}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-asset-source-details.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/update-asset-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;
|
|
1
|
+
{"version":3,"file":"update-asset-source-details.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/update-asset-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AA6CtC,IAAiB,wBAAwB,CA2CxC;AA3CD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,8BAA8B,CAAC,UAAU,CACL,OAAQ,EACvD,IAAI,CACL,CAAC;gBACJ,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,2BAA2B,CAAC,UAAU,CACL,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,mCAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,QAAQ;oBACX,OAAO,KAAK,CAAC,8BAA8B,CAAC,sBAAsB,CACjB,OAAQ,EACvD,IAAI,CACL,CAAC;gBACJ,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACjB,OAAQ,EACpD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,+CAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QA2CxC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Oracle Cloud Bridge API
|
|
3
|
+
* API for Oracle Cloud Bridge service.
|
|
4
|
+
* OpenAPI spec version: 20220509
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* AWS asset source update request.
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateAwsAssetSourceDetails extends model.UpdateAssetSourceDetails {
|
|
18
|
+
"discoveryCredentials"?: model.AssetSourceCredentials;
|
|
19
|
+
"replicationCredentials"?: model.AssetSourceCredentials;
|
|
20
|
+
/**
|
|
21
|
+
* Flag indicating whether historical metrics are collected for assets, originating from this asset source.
|
|
22
|
+
*/
|
|
23
|
+
"areHistoricalMetricsCollected"?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
|
|
26
|
+
*/
|
|
27
|
+
"areRealtimeMetricsCollected"?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
|
|
30
|
+
*/
|
|
31
|
+
"isCostInformationCollected"?: boolean;
|
|
32
|
+
"type": string;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace UpdateAwsAssetSourceDetails {
|
|
35
|
+
function getJsonObj(obj: UpdateAwsAssetSourceDetails, isParentJsonObj?: boolean): object;
|
|
36
|
+
const type = "AWS";
|
|
37
|
+
function getDeserializedJsonObj(obj: UpdateAwsAssetSourceDetails, isParentJsonObj?: boolean): object;
|
|
38
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Oracle Cloud Bridge API
|
|
4
|
+
* API for Oracle Cloud Bridge service.
|
|
5
|
+
* OpenAPI spec version: 20220509
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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.UpdateAwsAssetSourceDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var UpdateAwsAssetSourceDetails;
|
|
37
|
+
(function (UpdateAwsAssetSourceDetails) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.UpdateAssetSourceDetails.getJsonObj(obj))), {
|
|
42
|
+
"discoveryCredentials": obj.discoveryCredentials
|
|
43
|
+
? model.AssetSourceCredentials.getJsonObj(obj.discoveryCredentials)
|
|
44
|
+
: undefined,
|
|
45
|
+
"replicationCredentials": obj.replicationCredentials
|
|
46
|
+
? model.AssetSourceCredentials.getJsonObj(obj.replicationCredentials)
|
|
47
|
+
: undefined
|
|
48
|
+
});
|
|
49
|
+
return jsonObj;
|
|
50
|
+
}
|
|
51
|
+
UpdateAwsAssetSourceDetails.getJsonObj = getJsonObj;
|
|
52
|
+
UpdateAwsAssetSourceDetails.type = "AWS";
|
|
53
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
55
|
+
? obj
|
|
56
|
+
: model.UpdateAssetSourceDetails.getDeserializedJsonObj(obj))), {
|
|
57
|
+
"discoveryCredentials": obj.discoveryCredentials
|
|
58
|
+
? model.AssetSourceCredentials.getDeserializedJsonObj(obj.discoveryCredentials)
|
|
59
|
+
: undefined,
|
|
60
|
+
"replicationCredentials": obj.replicationCredentials
|
|
61
|
+
? model.AssetSourceCredentials.getDeserializedJsonObj(obj.replicationCredentials)
|
|
62
|
+
: undefined
|
|
63
|
+
});
|
|
64
|
+
return jsonObj;
|
|
65
|
+
}
|
|
66
|
+
UpdateAwsAssetSourceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
67
|
+
})(UpdateAwsAssetSourceDetails = exports.UpdateAwsAssetSourceDetails || (exports.UpdateAwsAssetSourceDetails = {}));
|
|
68
|
+
//# sourceMappingURL=update-aws-asset-source-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-aws-asset-source-details.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/update-aws-asset-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAyBlC,IAAiB,2BAA2B,CAyC3C;AAzCD,WAAiB,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AA3B,mCAA2B,QAyC3C"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Oracle Cloud Bridge API
|
|
3
|
+
* API for Oracle Cloud Bridge service.
|
|
4
|
+
* OpenAPI spec version: 20220509
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* The information of AWS EBS asset to be updated.
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateAwsEbsAssetDetails extends model.UpdateAssetDetails {
|
|
18
|
+
"awsEbs"?: model.AwsEbsProperties;
|
|
19
|
+
"assetType": string;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace UpdateAwsEbsAssetDetails {
|
|
22
|
+
function getJsonObj(obj: UpdateAwsEbsAssetDetails, isParentJsonObj?: boolean): object;
|
|
23
|
+
const assetType = "AWS_EBS";
|
|
24
|
+
function getDeserializedJsonObj(obj: UpdateAwsEbsAssetDetails, isParentJsonObj?: boolean): object;
|
|
25
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Oracle Cloud Bridge API
|
|
4
|
+
* API for Oracle Cloud Bridge service.
|
|
5
|
+
* OpenAPI spec version: 20220509
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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.UpdateAwsEbsAssetDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var UpdateAwsEbsAssetDetails;
|
|
37
|
+
(function (UpdateAwsEbsAssetDetails) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.UpdateAssetDetails.getJsonObj(obj))), {
|
|
42
|
+
"awsEbs": obj.awsEbs ? model.AwsEbsProperties.getJsonObj(obj.awsEbs) : undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
UpdateAwsEbsAssetDetails.getJsonObj = getJsonObj;
|
|
47
|
+
UpdateAwsEbsAssetDetails.assetType = "AWS_EBS";
|
|
48
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
50
|
+
? obj
|
|
51
|
+
: model.UpdateAssetDetails.getDeserializedJsonObj(obj))), {
|
|
52
|
+
"awsEbs": obj.awsEbs ? model.AwsEbsProperties.getDeserializedJsonObj(obj.awsEbs) : undefined
|
|
53
|
+
});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
UpdateAwsEbsAssetDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
57
|
+
})(UpdateAwsEbsAssetDetails = exports.UpdateAwsEbsAssetDetails || (exports.UpdateAwsEbsAssetDetails = {}));
|
|
58
|
+
//# sourceMappingURL=update-aws-ebs-asset-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-aws-ebs-asset-details.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/update-aws-ebs-asset-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAYlC,IAAiB,wBAAwB,CA6BxC;AA7BD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B,EAAE,eAAyB;QACjF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAA8B,CAAC,GACxE;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;SACjF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,mCAAU,aAWzB,CAAA;IACY,kCAAS,GAAG,SAAS,CAAC;IACnC,SAAgB,sBAAsB,CACpC,GAA6B,EAC7B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,GAAG,CAA8B,CAAC,GACpF;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;SAC7F,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,+CAAsB,yBAcrC,CAAA;AACH,CAAC,EA7BgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QA6BxC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Oracle Cloud Bridge API
|
|
3
|
+
* API for Oracle Cloud Bridge service.
|
|
4
|
+
* OpenAPI spec version: 20220509
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* The information of AWS VM asset to be updated.
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateAwsEc2AssetDetails extends model.UpdateAssetDetails {
|
|
18
|
+
"compute"?: model.ComputeProperties;
|
|
19
|
+
"vm"?: model.VmProperties;
|
|
20
|
+
"awsEc2"?: model.AwsEc2Properties;
|
|
21
|
+
"awsEc2Cost"?: model.MonthlyCostSummary;
|
|
22
|
+
"attachedEbsVolumesCost"?: model.MonthlyCostSummary;
|
|
23
|
+
"assetType": string;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace UpdateAwsEc2AssetDetails {
|
|
26
|
+
function getJsonObj(obj: UpdateAwsEc2AssetDetails, isParentJsonObj?: boolean): object;
|
|
27
|
+
const assetType = "AWS_EC2";
|
|
28
|
+
function getDeserializedJsonObj(obj: UpdateAwsEc2AssetDetails, isParentJsonObj?: boolean): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Oracle Cloud Bridge API
|
|
4
|
+
* API for Oracle Cloud Bridge service.
|
|
5
|
+
* OpenAPI spec version: 20220509
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2024, 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.UpdateAwsEc2AssetDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var UpdateAwsEc2AssetDetails;
|
|
37
|
+
(function (UpdateAwsEc2AssetDetails) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.UpdateAssetDetails.getJsonObj(obj))), {
|
|
42
|
+
"compute": obj.compute ? model.ComputeProperties.getJsonObj(obj.compute) : undefined,
|
|
43
|
+
"vm": obj.vm ? model.VmProperties.getJsonObj(obj.vm) : undefined,
|
|
44
|
+
"awsEc2": obj.awsEc2 ? model.AwsEc2Properties.getJsonObj(obj.awsEc2) : undefined,
|
|
45
|
+
"awsEc2Cost": obj.awsEc2Cost
|
|
46
|
+
? model.MonthlyCostSummary.getJsonObj(obj.awsEc2Cost)
|
|
47
|
+
: undefined,
|
|
48
|
+
"attachedEbsVolumesCost": obj.attachedEbsVolumesCost
|
|
49
|
+
? model.MonthlyCostSummary.getJsonObj(obj.attachedEbsVolumesCost)
|
|
50
|
+
: undefined
|
|
51
|
+
});
|
|
52
|
+
return jsonObj;
|
|
53
|
+
}
|
|
54
|
+
UpdateAwsEc2AssetDetails.getJsonObj = getJsonObj;
|
|
55
|
+
UpdateAwsEc2AssetDetails.assetType = "AWS_EC2";
|
|
56
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
58
|
+
? obj
|
|
59
|
+
: model.UpdateAssetDetails.getDeserializedJsonObj(obj))), {
|
|
60
|
+
"compute": obj.compute
|
|
61
|
+
? model.ComputeProperties.getDeserializedJsonObj(obj.compute)
|
|
62
|
+
: undefined,
|
|
63
|
+
"vm": obj.vm ? model.VmProperties.getDeserializedJsonObj(obj.vm) : undefined,
|
|
64
|
+
"awsEc2": obj.awsEc2
|
|
65
|
+
? model.AwsEc2Properties.getDeserializedJsonObj(obj.awsEc2)
|
|
66
|
+
: undefined,
|
|
67
|
+
"awsEc2Cost": obj.awsEc2Cost
|
|
68
|
+
? model.MonthlyCostSummary.getDeserializedJsonObj(obj.awsEc2Cost)
|
|
69
|
+
: undefined,
|
|
70
|
+
"attachedEbsVolumesCost": obj.attachedEbsVolumesCost
|
|
71
|
+
? model.MonthlyCostSummary.getDeserializedJsonObj(obj.attachedEbsVolumesCost)
|
|
72
|
+
: undefined
|
|
73
|
+
});
|
|
74
|
+
return jsonObj;
|
|
75
|
+
}
|
|
76
|
+
UpdateAwsEc2AssetDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
77
|
+
})(UpdateAwsEc2AssetDetails = exports.UpdateAwsEc2AssetDetails || (exports.UpdateAwsEc2AssetDetails = {}));
|
|
78
|
+
//# sourceMappingURL=update-aws-ec2-asset-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-aws-ec2-asset-details.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/update-aws-ec2-asset-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,wBAAwB,CAiDxC;AAjDD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B,EAAE,eAAyB;QACjF,MAAM,OAAO,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