UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

866 lines (865 loc) 138 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataOciCloudMigrationsMigrationPlan = exports.DataOciCloudMigrationsMigrationPlanTargetEnvironmentsList = exports.DataOciCloudMigrationsMigrationPlanTargetEnvironmentsOutputReference = exports.dataOciCloudMigrationsMigrationPlanTargetEnvironmentsToHclTerraform = exports.dataOciCloudMigrationsMigrationPlanTargetEnvironmentsToTerraform = exports.DataOciCloudMigrationsMigrationPlanStrategiesList = exports.DataOciCloudMigrationsMigrationPlanStrategiesOutputReference = exports.dataOciCloudMigrationsMigrationPlanStrategiesToHclTerraform = exports.dataOciCloudMigrationsMigrationPlanStrategiesToTerraform = exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsList = exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsOutputReference = exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsToHclTerraform = exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsToTerraform = exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostList = exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOutputReference = exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostToHclTerraform = exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostToTerraform = exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageList = exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageOutputReference = exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageToHclTerraform = exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageToTerraform = exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesList = exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesOutputReference = exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesToHclTerraform = exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesToTerraform = exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageList = exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageOutputReference = exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageToHclTerraform = exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageToTerraform = exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeList = exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeOutputReference = exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeToHclTerraform = exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeToTerraform = dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeToTerraform; function dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeToHclTerraform = dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeToHclTerraform; class DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // gpu_count - computed: true, optional: false, required: false get gpuCount() { return this.getNumberAttribute('gpu_count'); } // gpu_per_hour - computed: true, optional: false, required: false get gpuPerHour() { return this.getNumberAttribute('gpu_per_hour'); } // gpu_per_hour_by_subscription - computed: true, optional: false, required: false get gpuPerHourBySubscription() { return this.getNumberAttribute('gpu_per_hour_by_subscription'); } // memory_amount_gb - computed: true, optional: false, required: false get memoryAmountGb() { return this.getNumberAttribute('memory_amount_gb'); } // memory_gb_per_hour - computed: true, optional: false, required: false get memoryGbPerHour() { return this.getNumberAttribute('memory_gb_per_hour'); } // memory_gb_per_hour_by_subscription - computed: true, optional: false, required: false get memoryGbPerHourBySubscription() { return this.getNumberAttribute('memory_gb_per_hour_by_subscription'); } // ocpu_count - computed: true, optional: false, required: false get ocpuCount() { return this.getNumberAttribute('ocpu_count'); } // ocpu_per_hour - computed: true, optional: false, required: false get ocpuPerHour() { return this.getNumberAttribute('ocpu_per_hour'); } // ocpu_per_hour_by_subscription - computed: true, optional: false, required: false get ocpuPerHourBySubscription() { return this.getNumberAttribute('ocpu_per_hour_by_subscription'); } // total_per_hour - computed: true, optional: false, required: false get totalPerHour() { return this.getNumberAttribute('total_per_hour'); } // total_per_hour_by_subscription - computed: true, optional: false, required: false get totalPerHourBySubscription() { return this.getNumberAttribute('total_per_hour_by_subscription'); } } exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeOutputReference = DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeOutputReference; _a = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeOutputReference", version: "1.0.0" }; class DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeList = DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeList; _b = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeList[_b] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeList", version: "1.0.0" }; function dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageToTerraform = dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageToTerraform; function dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageToHclTerraform = dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageToHclTerraform; class DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // total_per_hour - computed: true, optional: false, required: false get totalPerHour() { return this.getNumberAttribute('total_per_hour'); } // total_per_hour_by_subscription - computed: true, optional: false, required: false get totalPerHourBySubscription() { return this.getNumberAttribute('total_per_hour_by_subscription'); } } exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageOutputReference = DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageOutputReference; _c = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageOutputReference", version: "1.0.0" }; class DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageList = DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageList; _d = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageList[_d] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageList", version: "1.0.0" }; function dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesToTerraform = dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesToTerraform; function dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesToHclTerraform = dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesToHclTerraform; class DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // capacity_gb - computed: true, optional: false, required: false get capacityGb() { return this.getNumberAttribute('capacity_gb'); } // description - computed: true, optional: false, required: false get description() { return this.getStringAttribute('description'); } // total_gb_per_month - computed: true, optional: false, required: false get totalGbPerMonth() { return this.getNumberAttribute('total_gb_per_month'); } // total_gb_per_month_by_subscription - computed: true, optional: false, required: false get totalGbPerMonthBySubscription() { return this.getNumberAttribute('total_gb_per_month_by_subscription'); } } exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesOutputReference = DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesOutputReference; _e = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesOutputReference", version: "1.0.0" }; class DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesList = DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesList; _f = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesList[_f] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesList", version: "1.0.0" }; function dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageToTerraform = dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageToTerraform; function dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageToHclTerraform = dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageToHclTerraform; class DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // volumes - computed: true, optional: false, required: false this._volumes = new DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageVolumesList(this, "volumes", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // total_gb_per_month - computed: true, optional: false, required: false get totalGbPerMonth() { return this.getNumberAttribute('total_gb_per_month'); } // total_gb_per_month_by_subscription - computed: true, optional: false, required: false get totalGbPerMonthBySubscription() { return this.getNumberAttribute('total_gb_per_month_by_subscription'); } get volumes() { return this._volumes; } } exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageOutputReference = DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageOutputReference; _g = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageOutputReference", version: "1.0.0" }; class DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageList = DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageList; _h = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageList[_h] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageList", version: "1.0.0" }; function dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostToTerraform = dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostToTerraform; function dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostToHclTerraform = dataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostToHclTerraform; class DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // compute - computed: true, optional: false, required: false this._compute = new DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostComputeList(this, "compute", false); // os_image - computed: true, optional: false, required: false this._osImage = new DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOsImageList(this, "os_image", false); // storage - computed: true, optional: false, required: false this._storage = new DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostStorageList(this, "storage", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } get compute() { return this._compute; } // currency_code - computed: true, optional: false, required: false get currencyCode() { return this.getStringAttribute('currency_code'); } get osImage() { return this._osImage; } get storage() { return this._storage; } // subscription_id - computed: true, optional: false, required: false get subscriptionId() { return this.getStringAttribute('subscription_id'); } // total_estimation_per_month - computed: true, optional: false, required: false get totalEstimationPerMonth() { return this.getNumberAttribute('total_estimation_per_month'); } // total_estimation_per_month_by_subscription - computed: true, optional: false, required: false get totalEstimationPerMonthBySubscription() { return this.getNumberAttribute('total_estimation_per_month_by_subscription'); } } exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOutputReference = DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOutputReference; _j = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOutputReference", version: "1.0.0" }; class DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostList = DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostList; _k = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostList[_k] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostList", version: "1.0.0" }; function dataOciCloudMigrationsMigrationPlanMigrationPlanStatsToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsToTerraform = dataOciCloudMigrationsMigrationPlanMigrationPlanStatsToTerraform; function dataOciCloudMigrationsMigrationPlanMigrationPlanStatsToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataOciCloudMigrationsMigrationPlanMigrationPlanStatsToHclTerraform = dataOciCloudMigrationsMigrationPlanMigrationPlanStatsToHclTerraform; class DataOciCloudMigrationsMigrationPlanMigrationPlanStatsOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // total_estimated_cost - computed: true, optional: false, required: false this._totalEstimatedCost = new DataOciCloudMigrationsMigrationPlanMigrationPlanStatsTotalEstimatedCostList(this, "total_estimated_cost", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // time_updated - computed: true, optional: false, required: false get timeUpdated() { return this.getStringAttribute('time_updated'); } get totalEstimatedCost() { return this._totalEstimatedCost; } // vm_count - computed: true, optional: false, required: false get vmCount() { return this.getNumberAttribute('vm_count'); } } exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsOutputReference = DataOciCloudMigrationsMigrationPlanMigrationPlanStatsOutputReference; _l = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanMigrationPlanStatsOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsOutputReference", version: "1.0.0" }; class DataOciCloudMigrationsMigrationPlanMigrationPlanStatsList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataOciCloudMigrationsMigrationPlanMigrationPlanStatsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsList = DataOciCloudMigrationsMigrationPlanMigrationPlanStatsList; _m = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanMigrationPlanStatsList[_m] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanMigrationPlanStatsList", version: "1.0.0" }; function dataOciCloudMigrationsMigrationPlanStrategiesToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataOciCloudMigrationsMigrationPlanStrategiesToTerraform = dataOciCloudMigrationsMigrationPlanStrategiesToTerraform; function dataOciCloudMigrationsMigrationPlanStrategiesToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataOciCloudMigrationsMigrationPlanStrategiesToHclTerraform = dataOciCloudMigrationsMigrationPlanStrategiesToHclTerraform; class DataOciCloudMigrationsMigrationPlanStrategiesOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // adjustment_multiplier - computed: true, optional: false, required: false get adjustmentMultiplier() { return this.getNumberAttribute('adjustment_multiplier'); } // metric_time_window - computed: true, optional: false, required: false get metricTimeWindow() { return this.getStringAttribute('metric_time_window'); } // metric_type - computed: true, optional: false, required: false get metricType() { return this.getStringAttribute('metric_type'); } // percentile - computed: true, optional: false, required: false get percentile() { return this.getStringAttribute('percentile'); } // resource_type - computed: true, optional: false, required: false get resourceType() { return this.getStringAttribute('resource_type'); } // strategy_type - computed: true, optional: false, required: false get strategyType() { return this.getStringAttribute('strategy_type'); } } exports.DataOciCloudMigrationsMigrationPlanStrategiesOutputReference = DataOciCloudMigrationsMigrationPlanStrategiesOutputReference; _o = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanStrategiesOutputReference[_o] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanStrategiesOutputReference", version: "1.0.0" }; class DataOciCloudMigrationsMigrationPlanStrategiesList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataOciCloudMigrationsMigrationPlanStrategiesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciCloudMigrationsMigrationPlanStrategiesList = DataOciCloudMigrationsMigrationPlanStrategiesList; _p = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanStrategiesList[_p] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanStrategiesList", version: "1.0.0" }; function dataOciCloudMigrationsMigrationPlanTargetEnvironmentsToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataOciCloudMigrationsMigrationPlanTargetEnvironmentsToTerraform = dataOciCloudMigrationsMigrationPlanTargetEnvironmentsToTerraform; function dataOciCloudMigrationsMigrationPlanTargetEnvironmentsToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataOciCloudMigrationsMigrationPlanTargetEnvironmentsToHclTerraform = dataOciCloudMigrationsMigrationPlanTargetEnvironmentsToHclTerraform; class DataOciCloudMigrationsMigrationPlanTargetEnvironmentsOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // availability_domain - computed: true, optional: false, required: false get availabilityDomain() { return this.getStringAttribute('availability_domain'); } // dedicated_vm_host - computed: true, optional: false, required: false get dedicatedVmHost() { return this.getStringAttribute('dedicated_vm_host'); } // fault_domain - computed: true, optional: false, required: false get faultDomain() { return this.getStringAttribute('fault_domain'); } // ms_license - computed: true, optional: false, required: false get msLicense() { return this.getStringAttribute('ms_license'); } // preferred_shape_type - computed: true, optional: false, required: false get preferredShapeType() { return this.getStringAttribute('preferred_shape_type'); } // subnet - computed: true, optional: false, required: false get subnet() { return this.getStringAttribute('subnet'); } // target_compartment_id - computed: true, optional: false, required: false get targetCompartmentId() { return this.getStringAttribute('target_compartment_id'); } // target_environment_type - computed: true, optional: false, required: false get targetEnvironmentType() { return this.getStringAttribute('target_environment_type'); } // vcn - computed: true, optional: false, required: false get vcn() { return this.getStringAttribute('vcn'); } } exports.DataOciCloudMigrationsMigrationPlanTargetEnvironmentsOutputReference = DataOciCloudMigrationsMigrationPlanTargetEnvironmentsOutputReference; _q = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanTargetEnvironmentsOutputReference[_q] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanTargetEnvironmentsOutputReference", version: "1.0.0" }; class DataOciCloudMigrationsMigrationPlanTargetEnvironmentsList extends cdktf.ComplexList { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataOciCloudMigrationsMigrationPlanTargetEnvironmentsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciCloudMigrationsMigrationPlanTargetEnvironmentsList = DataOciCloudMigrationsMigrationPlanTargetEnvironmentsList; _r = JSII_RTTI_SYMBOL_1; DataOciCloudMigrationsMigrationPlanTargetEnvironmentsList[_r] = { fqn: "rhizo-co-terraform-provider-oci.dataOciCloudMigrationsMigrationPlan.DataOciCloudMigrationsMigrationPlanTargetEnvironmentsList", version: "1.0.0" }; /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/cloud_migrations_migration_plan oci_cloud_migrations_migration_plan} */ class DataOciCloudMigrationsMigrationPlan extends cdktf.TerraformDataSource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a DataOciCloudMigrationsMigrationPlan resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the DataOciCloudMigrationsMigrationPlan to import * @param importFromId The id of the existing DataOciCloudMigrationsMigrationPlan that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/cloud_migrations_migration_plan#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataOciCloudMigrationsMigrationPlan to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "oci_cloud_migrations_migration_plan", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/cloud_migrations_migration_plan oci_cloud_migrations_migration_plan} Data Source * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options DataOciCloudMigrationsMigrationPlanConfig */ constructor(scope, id, config) { super(scope, id, { terraformResourceType: 'oci_cloud_migrations_migration_plan', terraformGeneratorMetadata: { providerName: 'oci', providerVersion: '6.18.0', providerVersionConstraint: '~> 6.18.0' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle, provisioners: config.provisioners, connection: config.connection, forEach: config.forEach }); // ========== // ATTRIBUTES // ========== // calculated_limits - computed: true, optional: false, required: false this._calculatedLimits = new cdktf.StringMap(this, "calculated_limits"); // defined_tags - computed: true, optional: false, required: false this._definedTags = new cdktf.StringMap(this, "defined_tags"); // freeform_tags - computed: true, optional: false, required: false this._freeformTags = new cdktf.StringMap(this, "freeform_tags"); // migration_plan_stats - computed: true, optional: false, required: false this._migrationPlanStats = new DataOciCloudMigrationsMigrationPlanMigrationPlanStatsList(this, "migration_plan_stats", false); // strategies - computed: true, optional: false, required: false this._strategies = new DataOciCloudMigrationsMigrationPlanStrategiesList(this, "strategies", false); // system_tags - computed: true, optional: false, required: false this._systemTags = new cdktf.StringMap(this, "system_tags"); // target_environments - computed: true, optional: false, required: false this._targetEnvironments = new DataOciCloudMigrationsMigrationPlanTargetEnvironmentsList(this, "target_environments", false); this._migrationPlanId = config.migrationPlanId; } get calculatedLimits() { return this._calculatedLimits; } // compartment_id - computed: true, optional: false, required: false get compartmentId() { return this.getStringAttribute('compartment_id'); } get definedTags() { return this._definedTags; } // display_name - computed: true, optional: false, required: false get displayName() { return this.getStringAttribute('display_name'); } get freeformTags() { return this._freeformTags; } // id - computed: true, optional: false, required: false get id() { return this.getStringAttribute('id'); } // lifecycle_details - computed: true, optional: false, required: false get lifecycleDetails() { return this.getStringAttribute('lifecycle_details'); } // migration_id - computed: true, optional: false, required: false get migrationId() { return this.getStringAttribute('migration_id'); } get migrationPlanId() { return this.getStringAttribute('migration_plan_id'); } set migrationPlanId(value) { this._migrationPlanId = value; } // Temporarily expose input value. Use with caution. get migrationPlanIdInput() { return this._migrationPlanId; } get migrationPlanStats() { return this._migrationPlanStats; } // reference_to_rms_stack - computed: true, optional: false, required: false get referenceToRmsStack() {