oci-cloudbridge 2.96.0 → 2.97.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/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,74 @@
|
|
|
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.AwsEc2Asset = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var AwsEc2Asset;
|
|
37
|
+
(function (AwsEc2Asset) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Asset.getJsonObj(obj))), {
|
|
40
|
+
"compute": obj.compute ? model.ComputeProperties.getJsonObj(obj.compute) : undefined,
|
|
41
|
+
"vm": obj.vm ? model.VmProperties.getJsonObj(obj.vm) : undefined,
|
|
42
|
+
"awsEc2": obj.awsEc2 ? model.AwsEc2Properties.getJsonObj(obj.awsEc2) : undefined,
|
|
43
|
+
"awsEc2Cost": obj.awsEc2Cost
|
|
44
|
+
? model.MonthlyCostSummary.getJsonObj(obj.awsEc2Cost)
|
|
45
|
+
: undefined,
|
|
46
|
+
"attachedEbsVolumesCost": obj.attachedEbsVolumesCost
|
|
47
|
+
? model.MonthlyCostSummary.getJsonObj(obj.attachedEbsVolumesCost)
|
|
48
|
+
: undefined
|
|
49
|
+
});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
AwsEc2Asset.getJsonObj = getJsonObj;
|
|
53
|
+
AwsEc2Asset.assetType = "AWS_EC2";
|
|
54
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
55
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Asset.getDeserializedJsonObj(obj))), {
|
|
56
|
+
"compute": obj.compute
|
|
57
|
+
? model.ComputeProperties.getDeserializedJsonObj(obj.compute)
|
|
58
|
+
: undefined,
|
|
59
|
+
"vm": obj.vm ? model.VmProperties.getDeserializedJsonObj(obj.vm) : undefined,
|
|
60
|
+
"awsEc2": obj.awsEc2
|
|
61
|
+
? model.AwsEc2Properties.getDeserializedJsonObj(obj.awsEc2)
|
|
62
|
+
: undefined,
|
|
63
|
+
"awsEc2Cost": obj.awsEc2Cost
|
|
64
|
+
? model.MonthlyCostSummary.getDeserializedJsonObj(obj.awsEc2Cost)
|
|
65
|
+
: undefined,
|
|
66
|
+
"attachedEbsVolumesCost": obj.attachedEbsVolumesCost
|
|
67
|
+
? model.MonthlyCostSummary.getDeserializedJsonObj(obj.attachedEbsVolumesCost)
|
|
68
|
+
: undefined
|
|
69
|
+
});
|
|
70
|
+
return jsonObj;
|
|
71
|
+
}
|
|
72
|
+
AwsEc2Asset.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
73
|
+
})(AwsEc2Asset = exports.AwsEc2Asset || (exports.AwsEc2Asset = {}));
|
|
74
|
+
//# sourceMappingURL=aws-ec2-asset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aws-ec2-asset.js","sourceRoot":"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|
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 virtual machine related properties.
|
|
16
|
+
*/
|
|
17
|
+
export interface AwsEc2Properties {
|
|
18
|
+
/**
|
|
19
|
+
* The architecture of the image.
|
|
20
|
+
*/
|
|
21
|
+
"architecture": string;
|
|
22
|
+
/**
|
|
23
|
+
* The boot mode of the instance.
|
|
24
|
+
*/
|
|
25
|
+
"bootMode"?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The ID of the Capacity Reservation.
|
|
28
|
+
*/
|
|
29
|
+
"capacityReservationKey"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Indicates if the elastic inference accelerators attached to an instance
|
|
32
|
+
*/
|
|
33
|
+
"areElasticInferenceAcceleratorsPresent"?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Indicates whether the instance is enabled for AWS Nitro Enclaves.
|
|
36
|
+
*/
|
|
37
|
+
"isEnclaveOptions"?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Indicates whether the instance is enabled for hibernation.
|
|
40
|
+
*/
|
|
41
|
+
"isHibernationOptions"?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the AMI used to launch the instance.
|
|
44
|
+
*/
|
|
45
|
+
"imageKey"?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The ID of the instance.
|
|
48
|
+
*/
|
|
49
|
+
"instanceKey": string;
|
|
50
|
+
/**
|
|
51
|
+
* Indicates whether this is a Spot Instance or a Scheduled Instance.
|
|
52
|
+
*/
|
|
53
|
+
"instanceLifecycle"?: string;
|
|
54
|
+
/**
|
|
55
|
+
* The instance type.
|
|
56
|
+
*/
|
|
57
|
+
"instanceType": string;
|
|
58
|
+
/**
|
|
59
|
+
* The public IPv4 address, or the Carrier IP address assigned to the instance.
|
|
60
|
+
*/
|
|
61
|
+
"ipAddress"?: string;
|
|
62
|
+
/**
|
|
63
|
+
* The IPv6 address assigned to the instance.
|
|
64
|
+
*/
|
|
65
|
+
"ipv6Address"?: string;
|
|
66
|
+
/**
|
|
67
|
+
* The kernel associated with this instance, if applicable.
|
|
68
|
+
*/
|
|
69
|
+
"kernelKey"?: string;
|
|
70
|
+
/**
|
|
71
|
+
* The time the instance was launched.
|
|
72
|
+
*/
|
|
73
|
+
"timeLaunch"?: Date;
|
|
74
|
+
/**
|
|
75
|
+
* The license configurations for the instance.
|
|
76
|
+
*/
|
|
77
|
+
"licenses"?: Array<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Provides information on the recovery and maintenance options of your instance.
|
|
80
|
+
*/
|
|
81
|
+
"maintenanceOptions"?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The monitoring for the instance.
|
|
84
|
+
*/
|
|
85
|
+
"monitoring"?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The network interfaces for the instance.
|
|
88
|
+
*/
|
|
89
|
+
"networkInterfaces"?: Array<model.InstanceNetworkInterface>;
|
|
90
|
+
"placement"?: model.Placement;
|
|
91
|
+
/**
|
|
92
|
+
* (IPv4 only) The private DNS hostname name assigned to the instance.
|
|
93
|
+
*/
|
|
94
|
+
"privateDnsName"?: string;
|
|
95
|
+
/**
|
|
96
|
+
* The private IPv4 address assigned to the instance.
|
|
97
|
+
*/
|
|
98
|
+
"privateIpAddress"?: string;
|
|
99
|
+
/**
|
|
100
|
+
* The device name of the root device volume.
|
|
101
|
+
*/
|
|
102
|
+
"rootDeviceName": string;
|
|
103
|
+
/**
|
|
104
|
+
* The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.
|
|
105
|
+
*/
|
|
106
|
+
"rootDeviceType"?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The security groups for the instance.
|
|
109
|
+
*/
|
|
110
|
+
"securityGroups"?: Array<model.GroupIdentifier>;
|
|
111
|
+
/**
|
|
112
|
+
* Indicates whether source/destination checking is enabled.
|
|
113
|
+
*/
|
|
114
|
+
"isSourceDestCheck"?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* If the request is a Spot Instance request, this value will be true.
|
|
117
|
+
*/
|
|
118
|
+
"isSpotInstance"?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
|
|
121
|
+
*/
|
|
122
|
+
"sriovNetSupport"?: string;
|
|
123
|
+
"state": model.InstanceState;
|
|
124
|
+
/**
|
|
125
|
+
* EC2-VPC The ID of the subnet in which the instance is running.
|
|
126
|
+
*/
|
|
127
|
+
"subnetKey"?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Any tags assigned to the instance.
|
|
130
|
+
*/
|
|
131
|
+
"tags"?: Array<model.Tag>;
|
|
132
|
+
/**
|
|
133
|
+
* If the instance is configured for NitroTPM support, the value is v2.0.
|
|
134
|
+
*/
|
|
135
|
+
"tpmSupport"?: string;
|
|
136
|
+
/**
|
|
137
|
+
* The virtualization type of the instance.
|
|
138
|
+
*/
|
|
139
|
+
"virtualizationType"?: string;
|
|
140
|
+
/**
|
|
141
|
+
* EC2-VPC The ID of the VPC in which the instance is running.
|
|
142
|
+
*/
|
|
143
|
+
"vpcKey"?: string;
|
|
144
|
+
}
|
|
145
|
+
export declare namespace AwsEc2Properties {
|
|
146
|
+
function getJsonObj(obj: AwsEc2Properties): object;
|
|
147
|
+
function getDeserializedJsonObj(obj: AwsEc2Properties): object;
|
|
148
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.AwsEc2Properties = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var AwsEc2Properties;
|
|
37
|
+
(function (AwsEc2Properties) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"networkInterfaces": obj.networkInterfaces
|
|
41
|
+
? obj.networkInterfaces.map(item => {
|
|
42
|
+
return model.InstanceNetworkInterface.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined,
|
|
45
|
+
"placement": obj.placement ? model.Placement.getJsonObj(obj.placement) : undefined,
|
|
46
|
+
"securityGroups": obj.securityGroups
|
|
47
|
+
? obj.securityGroups.map(item => {
|
|
48
|
+
return model.GroupIdentifier.getJsonObj(item);
|
|
49
|
+
})
|
|
50
|
+
: undefined,
|
|
51
|
+
"state": obj.state ? model.InstanceState.getJsonObj(obj.state) : undefined,
|
|
52
|
+
"tags": obj.tags
|
|
53
|
+
? obj.tags.map(item => {
|
|
54
|
+
return model.Tag.getJsonObj(item);
|
|
55
|
+
})
|
|
56
|
+
: undefined
|
|
57
|
+
});
|
|
58
|
+
return jsonObj;
|
|
59
|
+
}
|
|
60
|
+
AwsEc2Properties.getJsonObj = getJsonObj;
|
|
61
|
+
function getDeserializedJsonObj(obj) {
|
|
62
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
63
|
+
"networkInterfaces": obj.networkInterfaces
|
|
64
|
+
? obj.networkInterfaces.map(item => {
|
|
65
|
+
return model.InstanceNetworkInterface.getDeserializedJsonObj(item);
|
|
66
|
+
})
|
|
67
|
+
: undefined,
|
|
68
|
+
"placement": obj.placement
|
|
69
|
+
? model.Placement.getDeserializedJsonObj(obj.placement)
|
|
70
|
+
: undefined,
|
|
71
|
+
"securityGroups": obj.securityGroups
|
|
72
|
+
? obj.securityGroups.map(item => {
|
|
73
|
+
return model.GroupIdentifier.getDeserializedJsonObj(item);
|
|
74
|
+
})
|
|
75
|
+
: undefined,
|
|
76
|
+
"state": obj.state ? model.InstanceState.getDeserializedJsonObj(obj.state) : undefined,
|
|
77
|
+
"tags": obj.tags
|
|
78
|
+
? obj.tags.map(item => {
|
|
79
|
+
return model.Tag.getDeserializedJsonObj(item);
|
|
80
|
+
})
|
|
81
|
+
: undefined
|
|
82
|
+
});
|
|
83
|
+
return jsonObj;
|
|
84
|
+
}
|
|
85
|
+
AwsEc2Properties.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
86
|
+
})(AwsEc2Properties = exports.AwsEc2Properties || (exports.AwsEc2Properties = {}));
|
|
87
|
+
//# sourceMappingURL=aws-ec2-properties.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aws-ec2-properties.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/aws-ec2-properties.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAuIlC,IAAiB,gBAAgB,CA6DhC;AA7DD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC/B,OAAO,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,WAAW,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;YAElF,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC5B,OAAO,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,S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BAClB,OAAO,KAAK,CAAC,GAAG,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAChD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IA9Be,uCAAsB,yBA8BrC,CAAA;AACH,CAAC,EA7DgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QA6DhC"}
|
|
@@ -40,8 +40,12 @@ var CreateAssetDetails;
|
|
|
40
40
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
41
41
|
if (obj && "assetType" in obj && obj.assetType) {
|
|
42
42
|
switch (obj.assetType) {
|
|
43
|
+
case "AWS_EBS":
|
|
44
|
+
return model.CreateAwsEbsAssetDetails.getJsonObj(jsonObj, true);
|
|
43
45
|
case "VMWARE_VM":
|
|
44
46
|
return model.CreateVmwareVmAssetDetails.getJsonObj(jsonObj, true);
|
|
47
|
+
case "AWS_EC2":
|
|
48
|
+
return model.CreateAwsEc2AssetDetails.getJsonObj(jsonObj, true);
|
|
45
49
|
default:
|
|
46
50
|
if (common.LOG.logger)
|
|
47
51
|
common.LOG.logger.info(`Unknown value for: ${obj.assetType}`);
|
|
@@ -54,8 +58,12 @@ var CreateAssetDetails;
|
|
|
54
58
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
55
59
|
if (obj && "assetType" in obj && obj.assetType) {
|
|
56
60
|
switch (obj.assetType) {
|
|
61
|
+
case "AWS_EBS":
|
|
62
|
+
return model.CreateAwsEbsAssetDetails.getDeserializedJsonObj(jsonObj, true);
|
|
57
63
|
case "VMWARE_VM":
|
|
58
64
|
return model.CreateVmwareVmAssetDetails.getDeserializedJsonObj(jsonObj, true);
|
|
65
|
+
case "AWS_EC2":
|
|
66
|
+
return model.CreateAwsEc2AssetDetails.getDeserializedJsonObj(jsonObj, true);
|
|
59
67
|
default:
|
|
60
68
|
if (common.LOG.logger)
|
|
61
69
|
common.LOG.logger.info(`Unknown value for: ${obj.assetType}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-asset-details.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/create-asset-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAgDtC,IAAiB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"create-asset-details.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/create-asset-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAgDtC,IAAiB,kBAAkB,CAqDlC;AArDD,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,SAAS;oBACZ,OAAO,KAAK,CAAC,wBAAwB,CAAC,UAAU,CACL,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,0BAA0B,CAAC,UAAU,CACL,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,wBAAwB,CAAC,UAAU,CACL,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,6BAAU,aAyBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,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,SAAS;oBACZ,OAAO,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CACjB,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CACjB,OAAQ,EACnD,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CACjB,OAAQ,EACjD,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAzBe,yCAAsB,yBAyBrC,CAAA;AACH,CAAC,EArDgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAqDlC"}
|
|
@@ -42,6 +42,8 @@ var CreateAssetSourceDetails;
|
|
|
42
42
|
switch (obj.type) {
|
|
43
43
|
case "VMWARE":
|
|
44
44
|
return model.CreateVmWareAssetSourceDetails.getJsonObj(jsonObj, true);
|
|
45
|
+
case "AWS":
|
|
46
|
+
return model.CreateAwsAssetSourceDetails.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 CreateAssetSourceDetails;
|
|
|
56
58
|
switch (obj.type) {
|
|
57
59
|
case "VMWARE":
|
|
58
60
|
return model.CreateVmWareAssetSourceDetails.getDeserializedJsonObj(jsonObj, true);
|
|
61
|
+
case "AWS":
|
|
62
|
+
return model.CreateAwsAssetSourceDetails.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":"create-asset-source-details.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/create-asset-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AA0DtC,IAAiB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"create-asset-source-details.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/create-asset-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AA0DtC,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,46 @@
|
|
|
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 creation request.
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateAwsAssetSourceDetails extends model.CreateAssetSourceDetails {
|
|
18
|
+
"discoveryCredentials": model.AssetSourceCredentials;
|
|
19
|
+
"replicationCredentials"?: model.AssetSourceCredentials;
|
|
20
|
+
/**
|
|
21
|
+
* AWS region information, from where the resources are discovered.
|
|
22
|
+
*/
|
|
23
|
+
"awsRegion": string;
|
|
24
|
+
/**
|
|
25
|
+
* The key of customer's aws account to be discovered/migrated.
|
|
26
|
+
*/
|
|
27
|
+
"awsAccountKey": string;
|
|
28
|
+
/**
|
|
29
|
+
* Flag indicating whether historical metrics are collected for assets, originating from this asset source.
|
|
30
|
+
*/
|
|
31
|
+
"areHistoricalMetricsCollected"?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
|
|
34
|
+
*/
|
|
35
|
+
"areRealtimeMetricsCollected"?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
|
|
38
|
+
*/
|
|
39
|
+
"isCostInformationCollected"?: boolean;
|
|
40
|
+
"type": string;
|
|
41
|
+
}
|
|
42
|
+
export declare namespace CreateAwsAssetSourceDetails {
|
|
43
|
+
function getJsonObj(obj: CreateAwsAssetSourceDetails, isParentJsonObj?: boolean): object;
|
|
44
|
+
const type = "AWS";
|
|
45
|
+
function getDeserializedJsonObj(obj: CreateAwsAssetSourceDetails, isParentJsonObj?: boolean): object;
|
|
46
|
+
}
|
|
@@ -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.CreateAwsAssetSourceDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var CreateAwsAssetSourceDetails;
|
|
37
|
+
(function (CreateAwsAssetSourceDetails) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.CreateAssetSourceDetails.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
|
+
CreateAwsAssetSourceDetails.getJsonObj = getJsonObj;
|
|
52
|
+
CreateAwsAssetSourceDetails.type = "AWS";
|
|
53
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
55
|
+
? obj
|
|
56
|
+
: model.CreateAssetSourceDetails.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
|
+
CreateAwsAssetSourceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
67
|
+
})(CreateAwsAssetSourceDetails = exports.CreateAwsAssetSourceDetails || (exports.CreateAwsAssetSourceDetails = {}));
|
|
68
|
+
//# sourceMappingURL=create-aws-asset-source-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-aws-asset-source-details.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/create-aws-asset-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiClC,IAAiB,2BAA2B,CAyC3C;AAzCD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC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-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
|
+
* Create AWS EBS type of asset.
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateAwsEbsAssetDetails extends model.CreateAssetDetails {
|
|
18
|
+
"awsEbs": model.AwsEbsProperties;
|
|
19
|
+
"assetType": string;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace CreateAwsEbsAssetDetails {
|
|
22
|
+
function getJsonObj(obj: CreateAwsEbsAssetDetails, isParentJsonObj?: boolean): object;
|
|
23
|
+
const assetType = "AWS_EBS";
|
|
24
|
+
function getDeserializedJsonObj(obj: CreateAwsEbsAssetDetails, 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.CreateAwsEbsAssetDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var CreateAwsEbsAssetDetails;
|
|
37
|
+
(function (CreateAwsEbsAssetDetails) {
|
|
38
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
40
|
+
? obj
|
|
41
|
+
: model.CreateAssetDetails.getJsonObj(obj))), {
|
|
42
|
+
"awsEbs": obj.awsEbs ? model.AwsEbsProperties.getJsonObj(obj.awsEbs) : undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
CreateAwsEbsAssetDetails.getJsonObj = getJsonObj;
|
|
47
|
+
CreateAwsEbsAssetDetails.assetType = "AWS_EBS";
|
|
48
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
49
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
50
|
+
? obj
|
|
51
|
+
: model.CreateAssetDetails.getDeserializedJsonObj(obj))), {
|
|
52
|
+
"awsEbs": obj.awsEbs ? model.AwsEbsProperties.getDeserializedJsonObj(obj.awsEbs) : undefined
|
|
53
|
+
});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
CreateAwsEbsAssetDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
57
|
+
})(CreateAwsEbsAssetDetails = exports.CreateAwsEbsAssetDetails || (exports.CreateAwsEbsAssetDetails = {}));
|
|
58
|
+
//# sourceMappingURL=create-aws-ebs-asset-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-aws-ebs-asset-details.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/create-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
|
+
* Create AWS EC2 VM type of asset.
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateAwsEc2AssetDetails extends model.CreateAssetDetails {
|
|
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 CreateAwsEc2AssetDetails {
|
|
26
|
+
function getJsonObj(obj: CreateAwsEc2AssetDetails, isParentJsonObj?: boolean): object;
|
|
27
|
+
const assetType = "AWS_EC2";
|
|
28
|
+
function getDeserializedJsonObj(obj: CreateAwsEc2AssetDetails, isParentJsonObj?: boolean): object;
|
|
29
|
+
}
|