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.
Files changed (139) hide show
  1. package/lib/client.d.ts +10 -9
  2. package/lib/client.js +69 -66
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/asset-source-credentials-type.d.ts +1 -0
  5. package/lib/model/asset-source-credentials-type.js +1 -0
  6. package/lib/model/asset-source-credentials-type.js.map +1 -1
  7. package/lib/model/asset-source-credentials.d.ts +5 -2
  8. package/lib/model/asset-source-credentials.js.map +1 -1
  9. package/lib/model/asset-source-summary.js +4 -0
  10. package/lib/model/asset-source-summary.js.map +1 -1
  11. package/lib/model/asset-source-type.d.ts +1 -0
  12. package/lib/model/asset-source-type.js +1 -0
  13. package/lib/model/asset-source-type.js.map +1 -1
  14. package/lib/model/asset-source.js +4 -0
  15. package/lib/model/asset-source.js.map +1 -1
  16. package/lib/model/asset-type.d.ts +2 -0
  17. package/lib/model/asset-type.js +2 -0
  18. package/lib/model/asset-type.js.map +1 -1
  19. package/lib/model/asset.js +8 -0
  20. package/lib/model/asset.js.map +1 -1
  21. package/lib/model/aws-asset-source-summary.d.ts +32 -0
  22. package/lib/model/aws-asset-source-summary.js +54 -0
  23. package/lib/model/aws-asset-source-summary.js.map +1 -0
  24. package/lib/model/aws-asset-source.d.ts +47 -0
  25. package/lib/model/aws-asset-source.js +66 -0
  26. package/lib/model/aws-asset-source.js.map +1 -0
  27. package/lib/model/aws-ebs-asset.d.ts +25 -0
  28. package/lib/model/aws-ebs-asset.js +54 -0
  29. package/lib/model/aws-ebs-asset.js.map +1 -0
  30. package/lib/model/aws-ebs-properties.d.ts +66 -0
  31. package/lib/model/aws-ebs-properties.js +71 -0
  32. package/lib/model/aws-ebs-properties.js.map +1 -0
  33. package/lib/model/aws-ec2-asset.d.ts +29 -0
  34. package/lib/model/aws-ec2-asset.js +74 -0
  35. package/lib/model/aws-ec2-asset.js.map +1 -0
  36. package/lib/model/aws-ec2-properties.d.ts +148 -0
  37. package/lib/model/aws-ec2-properties.js +87 -0
  38. package/lib/model/aws-ec2-properties.js.map +1 -0
  39. package/lib/model/create-asset-details.js +8 -0
  40. package/lib/model/create-asset-details.js.map +1 -1
  41. package/lib/model/create-asset-source-details.js +4 -0
  42. package/lib/model/create-asset-source-details.js.map +1 -1
  43. package/lib/model/create-aws-asset-source-details.d.ts +46 -0
  44. package/lib/model/create-aws-asset-source-details.js +68 -0
  45. package/lib/model/create-aws-asset-source-details.js.map +1 -0
  46. package/lib/model/create-aws-ebs-asset-details.d.ts +25 -0
  47. package/lib/model/create-aws-ebs-asset-details.js +58 -0
  48. package/lib/model/create-aws-ebs-asset-details.js.map +1 -0
  49. package/lib/model/create-aws-ec2-asset-details.d.ts +29 -0
  50. package/lib/model/create-aws-ec2-asset-details.js +78 -0
  51. package/lib/model/create-aws-ec2-asset-details.js.map +1 -0
  52. package/lib/model/create-vm-ware-asset-source-details.d.ts +1 -1
  53. package/lib/model/create-vmware-vm-asset-details.d.ts +4 -4
  54. package/lib/model/group-identifier.d.ts +29 -0
  55. package/lib/model/{update-plugin-details.js → group-identifier.js} +7 -7
  56. package/lib/model/group-identifier.js.map +1 -0
  57. package/lib/model/import-inventory-via-assets-details.d.ts +2 -2
  58. package/lib/model/index.d.ts +50 -2
  59. package/lib/model/index.js +53 -4
  60. package/lib/model/index.js.map +1 -1
  61. package/lib/model/instance-network-interface-association.d.ts +41 -0
  62. package/lib/model/instance-network-interface-association.js +29 -0
  63. package/lib/model/instance-network-interface-association.js.map +1 -0
  64. package/lib/model/instance-network-interface-attachment.d.ts +45 -0
  65. package/lib/model/instance-network-interface-attachment.js +29 -0
  66. package/lib/model/instance-network-interface-attachment.js.map +1 -0
  67. package/lib/model/instance-network-interface.d.ts +76 -0
  68. package/lib/model/instance-network-interface.js +83 -0
  69. package/lib/model/instance-network-interface.js.map +1 -0
  70. package/lib/model/instance-private-ip-address.d.ts +35 -0
  71. package/lib/model/instance-private-ip-address.js +57 -0
  72. package/lib/model/instance-private-ip-address.js.map +1 -0
  73. package/lib/model/instance-state.d.ts +29 -0
  74. package/lib/model/instance-state.js +29 -0
  75. package/lib/model/instance-state.js.map +1 -0
  76. package/lib/model/monthly-cost-summary.d.ts +29 -0
  77. package/lib/model/monthly-cost-summary.js +29 -0
  78. package/lib/model/monthly-cost-summary.js.map +1 -0
  79. package/lib/model/operation-type.d.ts +3 -0
  80. package/lib/model/operation-type.js +3 -0
  81. package/lib/model/operation-type.js.map +1 -1
  82. package/lib/model/placement.d.ts +53 -0
  83. package/lib/model/placement.js +29 -0
  84. package/lib/model/placement.js.map +1 -0
  85. package/lib/model/supported-cloud-region-collection.d.ts +26 -0
  86. package/lib/model/supported-cloud-region-collection.js +61 -0
  87. package/lib/model/supported-cloud-region-collection.js.map +1 -0
  88. package/lib/model/supported-cloud-region-lifecycle-state.d.ts +28 -0
  89. package/lib/model/supported-cloud-region-lifecycle-state.js +39 -0
  90. package/lib/model/supported-cloud-region-lifecycle-state.js.map +1 -0
  91. package/lib/model/supported-cloud-region-summary.d.ts +54 -0
  92. package/lib/model/supported-cloud-region-summary.js +29 -0
  93. package/lib/model/supported-cloud-region-summary.js.map +1 -0
  94. package/lib/model/{update-plugin-details.d.ts → tag.d.ts} +11 -7
  95. package/lib/model/tag.js +29 -0
  96. package/lib/model/tag.js.map +1 -0
  97. package/lib/model/update-asset-details.js +8 -0
  98. package/lib/model/update-asset-details.js.map +1 -1
  99. package/lib/model/update-asset-source-details.d.ts +5 -1
  100. package/lib/model/update-asset-source-details.js +4 -0
  101. package/lib/model/update-asset-source-details.js.map +1 -1
  102. package/lib/model/update-aws-asset-source-details.d.ts +38 -0
  103. package/lib/model/update-aws-asset-source-details.js +68 -0
  104. package/lib/model/update-aws-asset-source-details.js.map +1 -0
  105. package/lib/model/update-aws-ebs-asset-details.d.ts +25 -0
  106. package/lib/model/update-aws-ebs-asset-details.js +58 -0
  107. package/lib/model/update-aws-ebs-asset-details.js.map +1 -0
  108. package/lib/model/update-aws-ec2-asset-details.d.ts +29 -0
  109. package/lib/model/update-aws-ec2-asset-details.js +78 -0
  110. package/lib/model/update-aws-ec2-asset-details.js.map +1 -0
  111. package/lib/model/update-vm-ware-asset-source-details.d.ts +1 -5
  112. package/lib/model/update-vm-ware-asset-source-details.js.map +1 -1
  113. package/lib/model/vm-asset.d.ts +2 -2
  114. package/lib/model/vm-ware-asset-source-summary.d.ts +1 -1
  115. package/lib/model/vm-ware-asset-source.d.ts +2 -1
  116. package/lib/model/vm-ware-asset-source.js.map +1 -1
  117. package/lib/model/vmware-vm-asset.d.ts +4 -4
  118. package/lib/model/volume-attachment.d.ts +41 -0
  119. package/lib/model/volume-attachment.js +29 -0
  120. package/lib/model/volume-attachment.js.map +1 -0
  121. package/lib/request/create-asset-request.d.ts +1 -1
  122. package/lib/request/create-asset-source-request.d.ts +1 -1
  123. package/lib/request/index.d.ts +2 -2
  124. package/lib/request/index.js +3 -1
  125. package/lib/request/index.js.map +1 -1
  126. package/lib/request/list-supported-cloud-regions-request.d.ts +53 -0
  127. package/lib/{response/update-plugin-response.js → request/list-supported-cloud-regions-request.js} +9 -1
  128. package/lib/request/list-supported-cloud-regions-request.js.map +1 -0
  129. package/lib/request/update-asset-request.d.ts +1 -1
  130. package/lib/request/update-asset-source-request.d.ts +1 -1
  131. package/lib/response/index.d.ts +2 -2
  132. package/lib/response/{update-plugin-response.d.ts → list-supported-cloud-regions-response.d.ts} +10 -8
  133. package/lib/{request/update-plugin-request.js → response/list-supported-cloud-regions-response.js} +1 -1
  134. package/lib/response/list-supported-cloud-regions-response.js.map +1 -0
  135. package/package.json +3 -3
  136. package/lib/model/update-plugin-details.js.map +0 -1
  137. package/lib/request/update-plugin-request.d.ts +0 -44
  138. package/lib/request/update-plugin-request.js.map +0 -1
  139. package/lib/response/update-plugin-response.js.map +0 -1
@@ -15,6 +15,7 @@
15
15
  **/
16
16
  export declare enum AssetSourceType {
17
17
  Vmware = "VMWARE",
18
+ Aws = "AWS",
18
19
  /**
19
20
  * This value is used if a service returns a value for this enum that is not recognized by this
20
21
  * version of the SDK.
@@ -19,6 +19,7 @@ exports.AssetSourceType = void 0;
19
19
  var AssetSourceType;
20
20
  (function (AssetSourceType) {
21
21
  AssetSourceType["Vmware"] = "VMWARE";
22
+ AssetSourceType["Aws"] = "AWS";
22
23
  /**
23
24
  * This value is used if a service returns a value for this enum that is not recognized by this
24
25
  * version of the SDK.
@@ -1 +1 @@
1
- {"version":3,"file":"asset-source-type.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/asset-source-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,eAQX;AARD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IAEjB;;;OAGG;IACH,iDAA8B,CAAA;AAChC,CAAC,EARW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAQ1B;AAED,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,0BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO/B"}
1
+ {"version":3,"file":"asset-source-type.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/asset-source-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,eASX;AATD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,8BAAW,CAAA;IAEX;;;OAGG;IACH,iDAA8B,CAAA;AAChC,CAAC,EATW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAS1B;AAED,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,0BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO/B"}
@@ -42,6 +42,8 @@ var AssetSource;
42
42
  switch (obj.type) {
43
43
  case "VMWARE":
44
44
  return model.VmWareAssetSource.getJsonObj(jsonObj, true);
45
+ case "AWS":
46
+ return model.AwsAssetSource.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 AssetSource;
56
58
  switch (obj.type) {
57
59
  case "VMWARE":
58
60
  return model.VmWareAssetSource.getDeserializedJsonObj(jsonObj, true);
61
+ case "AWS":
62
+ return model.AwsAssetSource.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":"asset-source.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/asset-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AA6EtC,IAAiB,WAAW,CAiC3B;AAjCD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB;QACzC,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,iBAAiB,CAAC,UAAU,CACL,OAAQ,EAC1C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wB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C,UAAU,CACL,OAAQ,EAC1C,IAAI,CACL,CAAC;gBACJ,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,cAAc,CAAC,UAAU,CAAgC,OAAQ,EAAE,IAAI,CAAC,CAAC;gBACxF;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;IAjBe,sBAAU,aAiBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgB;QACrD,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,iBAAiB,CAAC,sBAAsB,CACjB,OAAQ,EAC1C,IAAI,CACL,CAAC;gBACJ,KAAK,KAAK;oBACR,OAAO,KAAK,CAAC,cAAc,CAAC,sBAAsB,CACjB,OAAQ,EACvC,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,kCAAsB,yBAoBrC,CAAA;AACH,CAAC,EAxCgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAwC3B"}
@@ -16,6 +16,8 @@
16
16
  export declare enum AssetType {
17
17
  VmwareVm = "VMWARE_VM",
18
18
  Vm = "VM",
19
+ AwsEc2 = "AWS_EC2",
20
+ AwsEbs = "AWS_EBS",
19
21
  /**
20
22
  * This value is used if a service returns a value for this enum that is not recognized by this
21
23
  * version of the SDK.
@@ -20,6 +20,8 @@ var AssetType;
20
20
  (function (AssetType) {
21
21
  AssetType["VmwareVm"] = "VMWARE_VM";
22
22
  AssetType["Vm"] = "VM";
23
+ AssetType["AwsEc2"] = "AWS_EC2";
24
+ AssetType["AwsEbs"] = "AWS_EBS";
23
25
  /**
24
26
  * This value is used if a service returns a value for this enum that is not recognized by this
25
27
  * version of the SDK.
@@ -1 +1 @@
1
- {"version":3,"file":"asset-type.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/asset-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,SASX;AATD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,sBAAS,CAAA;IAET;;;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"}
1
+ {"version":3,"file":"asset-type.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/asset-type.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,SAWX;AAXD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,sBAAS,CAAA;IACT,+BAAkB,CAAA;IAClB,+BAAkB,CAAA;IAElB;;;OAGG;IACH,2CAA8B,CAAA;AAChC,CAAC,EAXW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAWpB;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"}
@@ -50,8 +50,12 @@ var Asset;
50
50
  const jsonObj = Object.assign(Object.assign({}, obj), {});
51
51
  if (obj && "assetType" in obj && obj.assetType) {
52
52
  switch (obj.assetType) {
53
+ case "AWS_EC2":
54
+ return model.AwsEc2Asset.getJsonObj(jsonObj, true);
53
55
  case "VMWARE_VM":
54
56
  return model.VmwareVmAsset.getJsonObj(jsonObj, true);
57
+ case "AWS_EBS":
58
+ return model.AwsEbsAsset.getJsonObj(jsonObj, true);
55
59
  case "VM":
56
60
  return model.VmAsset.getJsonObj(jsonObj, true);
57
61
  default:
@@ -66,8 +70,12 @@ var Asset;
66
70
  const jsonObj = Object.assign(Object.assign({}, obj), {});
67
71
  if (obj && "assetType" in obj && obj.assetType) {
68
72
  switch (obj.assetType) {
73
+ case "AWS_EC2":
74
+ return model.AwsEc2Asset.getDeserializedJsonObj(jsonObj, true);
69
75
  case "VMWARE_VM":
70
76
  return model.VmwareVmAsset.getDeserializedJsonObj(jsonObj, true);
77
+ case "AWS_EBS":
78
+ return model.AwsEbsAsset.getDeserializedJsonObj(jsonObj, true);
71
79
  case "VM":
72
80
  return model.VmAsset.getDeserializedJsonObj(jsonObj, true);
73
81
  default:
@@ -1 +1 @@
1
- {"version":3,"file":"asset.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/asset.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAuEtC,IAAiB,KAAK,CA4CrB;AA5CD,WAAiB,KAAK;IACpB,IAAY,cAQX;IARD,WAAY,cAAc;QACxB,mCAAiB,CAAA;QACjB,qCAAmB,C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AM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,SAAS,EAAE,CAAC,CAAC;aACxF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,gBAAU,aAkBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAU;QAC/C,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,WAAW,CAAC,sBAAsB,CACjB,OAAQ,EACpC,IAAI,CACL,CAAC;gBACJ,KAAK,WAAW;oBACd,OAAO,KAAK,CAAC,aAAa,CAAC,sBAAsB,CACjB,OAAQ,EACtC,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,WAAW,CAAC,sBAAsB,CACjB,OAAQ,EACpC,IAAI,CACL,CAAC;gBACJ,KAAK,IAAI;oBACP,OAAO,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAyB,OAAQ,EAAE,IAAI,CAAC,CAAC;gBACtF;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;IA3Be,4BAAsB,yBA2BrC,CAAA;AACH,CAAC,EA1DgB,KAAK,GAAL,aAAK,KAAL,aAAK,QA0DrB"}
@@ -0,0 +1,32 @@
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 an AWS asset source provided in the list.
16
+ */
17
+ export interface AwsAssetSourceSummary extends model.AssetSourceSummary {
18
+ /**
19
+ * AWS region information, from where the resources are discovered.
20
+ */
21
+ "awsRegion": string;
22
+ /**
23
+ * The key of customer's aws account to be discovered/migrated.
24
+ */
25
+ "awsAccountKey": string;
26
+ "type": string;
27
+ }
28
+ export declare namespace AwsAssetSourceSummary {
29
+ function getJsonObj(obj: AwsAssetSourceSummary, isParentJsonObj?: boolean): object;
30
+ const type = "AWS";
31
+ function getDeserializedJsonObj(obj: AwsAssetSourceSummary, isParentJsonObj?: boolean): object;
32
+ }
@@ -0,0 +1,54 @@
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.AwsAssetSourceSummary = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var AwsAssetSourceSummary;
37
+ (function (AwsAssetSourceSummary) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
40
+ ? obj
41
+ : model.AssetSourceSummary.getJsonObj(obj))), {});
42
+ return jsonObj;
43
+ }
44
+ AwsAssetSourceSummary.getJsonObj = getJsonObj;
45
+ AwsAssetSourceSummary.type = "AWS";
46
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
47
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
48
+ ? obj
49
+ : model.AssetSourceSummary.getDeserializedJsonObj(obj))), {});
50
+ return jsonObj;
51
+ }
52
+ AwsAssetSourceSummary.getDeserializedJsonObj = getDeserializedJsonObj;
53
+ })(AwsAssetSourceSummary = exports.AwsAssetSourceSummary || (exports.AwsAssetSourceSummary = {}));
54
+ //# sourceMappingURL=aws-asset-source-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aws-asset-source-summary.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/aws-asset-source-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,qBAAqB,CAyBrC;AAzBD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B,EAAE,eAAyB;QAC9E,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAA2B,CAAC,GACrE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,gCAAU,aASzB,CAAA;IACY,0BAAI,GAAG,KAAK,CAAC;IAC1B,SAAgB,sBAAsB,CACpC,GAA0B,EAC1B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,GAAG,CAA2B,CAAC,GACjF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,4CAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAyBrC"}
@@ -0,0 +1,47 @@
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. Used for discovery of EC2 instances and EBS volumes registered for the AWS account.
16
+ *
17
+ */
18
+ export interface AwsAssetSource extends model.AssetSource {
19
+ "discoveryCredentials": model.AssetSourceCredentials;
20
+ "replicationCredentials"?: model.AssetSourceCredentials;
21
+ /**
22
+ * AWS region information, from where the resources are discovered.
23
+ */
24
+ "awsRegion": string;
25
+ /**
26
+ * The key of customer's aws account to be discovered/migrated.
27
+ */
28
+ "awsAccountKey": string;
29
+ /**
30
+ * Flag indicating whether historical metrics are collected for assets, originating from this asset source.
31
+ */
32
+ "areHistoricalMetricsCollected"?: boolean;
33
+ /**
34
+ * Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
35
+ */
36
+ "areRealtimeMetricsCollected"?: boolean;
37
+ /**
38
+ * Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
39
+ */
40
+ "isCostInformationCollected"?: boolean;
41
+ "type": string;
42
+ }
43
+ export declare namespace AwsAssetSource {
44
+ function getJsonObj(obj: AwsAssetSource, isParentJsonObj?: boolean): object;
45
+ const type = "AWS";
46
+ function getDeserializedJsonObj(obj: AwsAssetSource, isParentJsonObj?: boolean): object;
47
+ }
@@ -0,0 +1,66 @@
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.AwsAssetSource = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var AwsAssetSource;
37
+ (function (AwsAssetSource) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.AssetSource.getJsonObj(obj))), {
40
+ "discoveryCredentials": obj.discoveryCredentials
41
+ ? model.AssetSourceCredentials.getJsonObj(obj.discoveryCredentials)
42
+ : undefined,
43
+ "replicationCredentials": obj.replicationCredentials
44
+ ? model.AssetSourceCredentials.getJsonObj(obj.replicationCredentials)
45
+ : undefined
46
+ });
47
+ return jsonObj;
48
+ }
49
+ AwsAssetSource.getJsonObj = getJsonObj;
50
+ AwsAssetSource.type = "AWS";
51
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
52
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
53
+ ? obj
54
+ : model.AssetSource.getDeserializedJsonObj(obj))), {
55
+ "discoveryCredentials": obj.discoveryCredentials
56
+ ? model.AssetSourceCredentials.getDeserializedJsonObj(obj.discoveryCredentials)
57
+ : undefined,
58
+ "replicationCredentials": obj.replicationCredentials
59
+ ? model.AssetSourceCredentials.getDeserializedJsonObj(obj.replicationCredentials)
60
+ : undefined
61
+ });
62
+ return jsonObj;
63
+ }
64
+ AwsAssetSource.getDeserializedJsonObj = getDeserializedJsonObj;
65
+ })(AwsAssetSource = exports.AwsAssetSource || (exports.AwsAssetSource = {}));
66
+ //# sourceMappingURL=aws-asset-source.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aws-asset-source.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/aws-asset-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkClC,IAAiB,cAAc,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sBAAc,KAAd,sBAAc,QAkC9B"}
@@ -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
+ * AWS EBS type of asset.
16
+ */
17
+ export interface AwsEbsAsset extends model.Asset {
18
+ "awsEbs": model.AwsEbsProperties;
19
+ "assetType": string;
20
+ }
21
+ export declare namespace AwsEbsAsset {
22
+ function getJsonObj(obj: AwsEbsAsset, isParentJsonObj?: boolean): object;
23
+ const assetType = "AWS_EBS";
24
+ function getDeserializedJsonObj(obj: AwsEbsAsset, isParentJsonObj?: boolean): object;
25
+ }
@@ -0,0 +1,54 @@
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.AwsEbsAsset = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var AwsEbsAsset;
37
+ (function (AwsEbsAsset) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Asset.getJsonObj(obj))), {
40
+ "awsEbs": obj.awsEbs ? model.AwsEbsProperties.getJsonObj(obj.awsEbs) : undefined
41
+ });
42
+ return jsonObj;
43
+ }
44
+ AwsEbsAsset.getJsonObj = getJsonObj;
45
+ AwsEbsAsset.assetType = "AWS_EBS";
46
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
47
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.Asset.getDeserializedJsonObj(obj))), {
48
+ "awsEbs": obj.awsEbs ? model.AwsEbsProperties.getDeserializedJsonObj(obj.awsEbs) : undefined
49
+ });
50
+ return jsonObj;
51
+ }
52
+ AwsEbsAsset.getDeserializedJsonObj = getDeserializedJsonObj;
53
+ })(AwsEbsAsset = exports.AwsEbsAsset || (exports.AwsEbsAsset = {}));
54
+ //# sourceMappingURL=aws-ebs-asset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aws-ebs-asset.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/aws-ebs-asset.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAYlC,IAAiB,WAAW,CAsB3B;AAtBD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB,EAAE,eAAyB;QACpE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAiB,CAAC,GACtE;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;IATe,sBAAU,aASzB,CAAA;IACY,qBAAS,GAAG,SAAS,CAAC;IACnC,SAAgB,sBAAsB,CAAC,GAAgB,EAAE,eAAyB;QAChF,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,KAAK,CAAC,sBAAsB,CAAC,GAAG,CAAiB,CAAC,GAClF;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;IATe,kCAAsB,yBASrC,CAAA;AACH,CAAC,EAtBgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAsB3B"}
@@ -0,0 +1,66 @@
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 EBS volume related properties.
16
+ */
17
+ export interface AwsEbsProperties {
18
+ /**
19
+ * Information about the volume attachments.
20
+ */
21
+ "attachments"?: Array<model.VolumeAttachment>;
22
+ /**
23
+ * The Availability Zone for the volume.
24
+ */
25
+ "availabilityZone"?: string;
26
+ /**
27
+ * Indicates whether the volume is encrypted.
28
+ */
29
+ "isEncrypted": boolean;
30
+ /**
31
+ * The number of I/O operations per second. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
32
+ */
33
+ "iops"?: number;
34
+ /**
35
+ * Indicates whether Amazon EBS Multi-Attach is enabled.
36
+ */
37
+ "isMultiAttachEnabled": boolean;
38
+ /**
39
+ * The size of the volume, in GiBs. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
40
+ */
41
+ "sizeInGiBs": number;
42
+ /**
43
+ * The volume state.
44
+ */
45
+ "status"?: string;
46
+ /**
47
+ * Any tags assigned to the volume.
48
+ */
49
+ "tags"?: Array<model.Tag>;
50
+ /**
51
+ * The throughput that the volume supports, in MiB/s. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
52
+ */
53
+ "throughput"?: number;
54
+ /**
55
+ * The ID of the volume.
56
+ */
57
+ "volumeKey": string;
58
+ /**
59
+ * The volume type.
60
+ */
61
+ "volumeType": string;
62
+ }
63
+ export declare namespace AwsEbsProperties {
64
+ function getJsonObj(obj: AwsEbsProperties): object;
65
+ function getDeserializedJsonObj(obj: AwsEbsProperties): object;
66
+ }
@@ -0,0 +1,71 @@
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.AwsEbsProperties = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var AwsEbsProperties;
37
+ (function (AwsEbsProperties) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "attachments": obj.attachments
41
+ ? obj.attachments.map(item => {
42
+ return model.VolumeAttachment.getJsonObj(item);
43
+ })
44
+ : undefined,
45
+ "tags": obj.tags
46
+ ? obj.tags.map(item => {
47
+ return model.Tag.getJsonObj(item);
48
+ })
49
+ : undefined
50
+ });
51
+ return jsonObj;
52
+ }
53
+ AwsEbsProperties.getJsonObj = getJsonObj;
54
+ function getDeserializedJsonObj(obj) {
55
+ const jsonObj = Object.assign(Object.assign({}, obj), {
56
+ "attachments": obj.attachments
57
+ ? obj.attachments.map(item => {
58
+ return model.VolumeAttachment.getDeserializedJsonObj(item);
59
+ })
60
+ : undefined,
61
+ "tags": obj.tags
62
+ ? obj.tags.map(item => {
63
+ return model.Tag.getDeserializedJsonObj(item);
64
+ })
65
+ : undefined
66
+ });
67
+ return jsonObj;
68
+ }
69
+ AwsEbsProperties.getDeserializedJsonObj = getDeserializedJsonObj;
70
+ })(AwsEbsProperties = exports.AwsEbsProperties || (exports.AwsEbsProperties = {}));
71
+ //# sourceMappingURL=aws-ebs-properties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aws-ebs-properties.js","sourceRoot":"","sources":["../../../../../lib/cloudbridge/lib/model/aws-ebs-properties.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqDlC,IAAiB,gBAAgB,CAyChC;AAzCD,WAAiB,gBAAgB;IAC/B,SAAgB,UAAU,CAAC,GAAqB;QAC9C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,MAAM,EAAE,GAAG,CAAC,IAAI;gBACd,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClB,OAAO,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACpC,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAnBe,2BAAU,aAmBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAqB;QAC1D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACzB,OAAO,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC7D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YAEb,MAAM,EAAE,GAAG,CAAC,IAAI;gBACd,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAClB,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;IAnBe,uCAAsB,yBAmBrC,CAAA;AACH,CAAC,EAzCgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAyChC"}
@@ -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
+ * AWS EC2 type of asset.
16
+ */
17
+ export interface AwsEc2Asset extends model.Asset {
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 AwsEc2Asset {
26
+ function getJsonObj(obj: AwsEc2Asset, isParentJsonObj?: boolean): object;
27
+ const assetType = "AWS_EC2";
28
+ function getDeserializedJsonObj(obj: AwsEc2Asset, isParentJsonObj?: boolean): object;
29
+ }