UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

862 lines 154 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataOciDatabaseCloudExadataInfrastructures = exports.DataOciDatabaseCloudExadataInfrastructuresFilterList = exports.DataOciDatabaseCloudExadataInfrastructuresFilterOutputReference = exports.dataOciDatabaseCloudExadataInfrastructuresFilterToHclTerraform = exports.dataOciDatabaseCloudExadataInfrastructuresFilterToTerraform = exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresList = exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresOutputReference = exports.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresToHclTerraform = exports.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresToTerraform = exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowList = exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowOutputReference = exports.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowToHclTerraform = exports.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowToTerraform = exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsList = exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsOutputReference = exports.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsToHclTerraform = exports.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsToTerraform = exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekList = exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekOutputReference = exports.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekToHclTerraform = exports.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekToTerraform = exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsList = exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsOutputReference = exports.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsToHclTerraform = exports.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsToTerraform = exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsList = exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsOutputReference = exports.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsToHclTerraform = exports.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsToTerraform(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.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsToTerraform = dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsToTerraform; function dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsToHclTerraform(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.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsToHclTerraform = dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsToHclTerraform; class DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsOutputReference 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; } } // email - computed: true, optional: false, required: false get email() { return this.getStringAttribute('email'); } } exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsOutputReference = DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsOutputReference; _a = JSII_RTTI_SYMBOL_1; DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseCloudExadataInfrastructures.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsOutputReference", version: "1.0.0" }; class DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsList 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 DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsList = DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsList; _b = JSII_RTTI_SYMBOL_1; DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsList[_b] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseCloudExadataInfrastructures.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsList", version: "1.0.0" }; function dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsToTerraform(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.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsToTerraform = dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsToTerraform; function dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsToHclTerraform(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.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsToHclTerraform = dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsToHclTerraform; class DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsOutputReference 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; } } // is_backup_partition - computed: true, optional: false, required: false get isBackupPartition() { return this.getBooleanAttribute('is_backup_partition'); } // is_resizable - computed: true, optional: false, required: false get isResizable() { return this.getBooleanAttribute('is_resizable'); } // min_size_gb - computed: true, optional: false, required: false get minSizeGb() { return this.getNumberAttribute('min_size_gb'); } // mount_point - computed: true, optional: false, required: false get mountPoint() { return this.getStringAttribute('mount_point'); } } exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsOutputReference = DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsOutputReference; _c = JSII_RTTI_SYMBOL_1; DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseCloudExadataInfrastructures.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsOutputReference", version: "1.0.0" }; class DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsList 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 DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsList = DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsList; _d = JSII_RTTI_SYMBOL_1; DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsList[_d] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseCloudExadataInfrastructures.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsList", version: "1.0.0" }; function dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekToTerraform(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.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekToTerraform = dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekToTerraform; function dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekToHclTerraform(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.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekToHclTerraform = dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekToHclTerraform; class DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekOutputReference 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; } } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } } exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekOutputReference = DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekOutputReference; _e = JSII_RTTI_SYMBOL_1; DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseCloudExadataInfrastructures.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekOutputReference", version: "1.0.0" }; class DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekList 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 DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekList = DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekList; _f = JSII_RTTI_SYMBOL_1; DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekList[_f] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseCloudExadataInfrastructures.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekList", version: "1.0.0" }; function dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsToTerraform(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.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsToTerraform = dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsToTerraform; function dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsToHclTerraform(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.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsToHclTerraform = dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsToHclTerraform; class DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsOutputReference 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; } } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } } exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsOutputReference = DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsOutputReference; _g = JSII_RTTI_SYMBOL_1; DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseCloudExadataInfrastructures.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsOutputReference", version: "1.0.0" }; class DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsList 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 DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsList = DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsList; _h = JSII_RTTI_SYMBOL_1; DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsList[_h] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseCloudExadataInfrastructures.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsList", version: "1.0.0" }; function dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowToTerraform(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.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowToTerraform = dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowToTerraform; function dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowToHclTerraform(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.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowToHclTerraform = dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowToHclTerraform; class DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowOutputReference 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; // days_of_week - computed: true, optional: false, required: false this._daysOfWeek = new DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowDaysOfWeekList(this, "days_of_week", false); // months - computed: true, optional: false, required: false this._months = new DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowMonthsList(this, "months", false); // skip_ru - computed: true, optional: false, required: false this._skipRu = new cdktf.BooleanList(this, "skip_ru", 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; } } // custom_action_timeout_in_mins - computed: true, optional: false, required: false get customActionTimeoutInMins() { return this.getNumberAttribute('custom_action_timeout_in_mins'); } get daysOfWeek() { return this._daysOfWeek; } // hours_of_day - computed: true, optional: false, required: false get hoursOfDay() { return this.getNumberListAttribute('hours_of_day'); } // is_custom_action_timeout_enabled - computed: true, optional: false, required: false get isCustomActionTimeoutEnabled() { return this.getBooleanAttribute('is_custom_action_timeout_enabled'); } // is_monthly_patching_enabled - computed: true, optional: false, required: false get isMonthlyPatchingEnabled() { return this.getBooleanAttribute('is_monthly_patching_enabled'); } // lead_time_in_weeks - computed: true, optional: false, required: false get leadTimeInWeeks() { return this.getNumberAttribute('lead_time_in_weeks'); } get months() { return this._months; } // patching_mode - computed: true, optional: false, required: false get patchingMode() { return this.getStringAttribute('patching_mode'); } // preference - computed: true, optional: false, required: false get preference() { return this.getStringAttribute('preference'); } get skipRu() { return this._skipRu; } // weeks_of_month - computed: true, optional: false, required: false get weeksOfMonth() { return this.getNumberListAttribute('weeks_of_month'); } } exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowOutputReference = DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowOutputReference; _j = JSII_RTTI_SYMBOL_1; DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseCloudExadataInfrastructures.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowOutputReference", version: "1.0.0" }; class DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowList 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 DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowList = DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowList; _k = JSII_RTTI_SYMBOL_1; DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowList[_k] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseCloudExadataInfrastructures.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowList", version: "1.0.0" }; function dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresToTerraform(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.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresToTerraform = dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresToTerraform; function dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresToHclTerraform(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.dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresToHclTerraform = dataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresToHclTerraform; class DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresOutputReference 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; // customer_contacts - computed: true, optional: false, required: false this._customerContacts = new DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresCustomerContactsList(this, "customer_contacts", false); // defined_file_system_configurations - computed: true, optional: false, required: false this._definedFileSystemConfigurations = new DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresDefinedFileSystemConfigurationsList(this, "defined_file_system_configurations", false); // 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"); // maintenance_window - computed: true, optional: false, required: false this._maintenanceWindow = new DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresMaintenanceWindowList(this, "maintenance_window", false); // system_tags - computed: true, optional: false, required: false this._systemTags = new cdktf.StringMap(this, "system_tags"); } 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; } } // activated_storage_count - computed: true, optional: false, required: false get activatedStorageCount() { return this.getNumberAttribute('activated_storage_count'); } // additional_storage_count - computed: true, optional: false, required: false get additionalStorageCount() { return this.getNumberAttribute('additional_storage_count'); } // availability_domain - computed: true, optional: false, required: false get availabilityDomain() { return this.getStringAttribute('availability_domain'); } // available_storage_size_in_gbs - computed: true, optional: false, required: false get availableStorageSizeInGbs() { return this.getNumberAttribute('available_storage_size_in_gbs'); } // cluster_placement_group_id - computed: true, optional: false, required: false get clusterPlacementGroupId() { return this.getStringAttribute('cluster_placement_group_id'); } // compartment_id - computed: true, optional: false, required: false get compartmentId() { return this.getStringAttribute('compartment_id'); } // compute_count - computed: true, optional: false, required: false get computeCount() { return this.getNumberAttribute('compute_count'); } // cpu_count - computed: true, optional: false, required: false get cpuCount() { return this.getNumberAttribute('cpu_count'); } get customerContacts() { return this._customerContacts; } // data_storage_size_in_tbs - computed: true, optional: false, required: false get dataStorageSizeInTbs() { return this.getNumberAttribute('data_storage_size_in_tbs'); } // db_node_storage_size_in_gbs - computed: true, optional: false, required: false get dbNodeStorageSizeInGbs() { return this.getNumberAttribute('db_node_storage_size_in_gbs'); } // db_server_version - computed: true, optional: false, required: false get dbServerVersion() { return this.getStringAttribute('db_server_version'); } get definedFileSystemConfigurations() { return this._definedFileSystemConfigurations; } 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'); } // last_maintenance_run_id - computed: true, optional: false, required: false get lastMaintenanceRunId() { return this.getStringAttribute('last_maintenance_run_id'); } // lifecycle_details - computed: true, optional: false, required: false get lifecycleDetails() { return this.getStringAttribute('lifecycle_details'); } get maintenanceWindow() { return this._maintenanceWindow; } // max_cpu_count - computed: true, optional: false, required: false get maxCpuCount() { return this.getNumberAttribute('max_cpu_count'); } // max_data_storage_in_tbs - computed: true, optional: false, required: false get maxDataStorageInTbs() { return this.getNumberAttribute('max_data_storage_in_tbs'); } // max_db_node_storage_in_gbs - computed: true, optional: false, required: false get maxDbNodeStorageInGbs() { return this.getNumberAttribute('max_db_node_storage_in_gbs'); } // max_memory_in_gbs - computed: true, optional: false, required: false get maxMemoryInGbs() { return this.getNumberAttribute('max_memory_in_gbs'); } // memory_size_in_gbs - computed: true, optional: false, required: false get memorySizeInGbs() { return this.getNumberAttribute('memory_size_in_gbs'); } // monthly_db_server_version - computed: true, optional: false, required: false get monthlyDbServerVersion() { return this.getStringAttribute('monthly_db_server_version'); } // monthly_storage_server_version - computed: true, optional: false, required: false get monthlyStorageServerVersion() { return this.getStringAttribute('monthly_storage_server_version'); } // next_maintenance_run_id - computed: true, optional: false, required: false get nextMaintenanceRunId() { return this.getStringAttribute('next_maintenance_run_id'); } // shape - computed: true, optional: false, required: false get shape() { return this.getStringAttribute('shape'); } // state - computed: true, optional: false, required: false get state() { return this.getStringAttribute('state'); } // storage_count - computed: true, optional: false, required: false get storageCount() { return this.getNumberAttribute('storage_count'); } // storage_server_version - computed: true, optional: false, required: false get storageServerVersion() { return this.getStringAttribute('storage_server_version'); } // subscription_id - computed: true, optional: false, required: false get subscriptionId() { return this.getStringAttribute('subscription_id'); } get systemTags() { return this._systemTags; } // time_created - computed: true, optional: false, required: false get timeCreated() { return this.getStringAttribute('time_created'); } // total_storage_size_in_gbs - computed: true, optional: false, required: false get totalStorageSizeInGbs() { return this.getNumberAttribute('total_storage_size_in_gbs'); } } exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresOutputReference = DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresOutputReference; _l = JSII_RTTI_SYMBOL_1; DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseCloudExadataInfrastructures.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresOutputReference", version: "1.0.0" }; class DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresList 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 DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresList = DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresList; _m = JSII_RTTI_SYMBOL_1; DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresList[_m] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseCloudExadataInfrastructures.DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresList", version: "1.0.0" }; function dataOciDatabaseCloudExadataInfrastructuresFilterToTerraform(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 { name: cdktf.stringToTerraform(struct.name), regex: cdktf.booleanToTerraform(struct.regex), values: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.values), }; } exports.dataOciDatabaseCloudExadataInfrastructuresFilterToTerraform = dataOciDatabaseCloudExadataInfrastructuresFilterToTerraform; function dataOciDatabaseCloudExadataInfrastructuresFilterToHclTerraform(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 = { name: { value: cdktf.stringToHclTerraform(struct.name), isBlock: false, type: "simple", storageClassType: "string", }, regex: { value: cdktf.booleanToHclTerraform(struct.regex), isBlock: false, type: "simple", storageClassType: "boolean", }, values: { value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.values), isBlock: false, type: "list", storageClassType: "stringList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataOciDatabaseCloudExadataInfrastructuresFilterToHclTerraform = dataOciDatabaseCloudExadataInfrastructuresFilterToHclTerraform; class DataOciDatabaseCloudExadataInfrastructuresFilterOutputReference 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() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._name !== undefined) { hasAnyValues = true; internalValueResult.name = this._name; } if (this._regex !== undefined) { hasAnyValues = true; internalValueResult.regex = this._regex; } if (this._values !== undefined) { hasAnyValues = true; internalValueResult.values = this._values; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._name = undefined; this._regex = undefined; this._values = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; this._name = value.name; this._regex = value.regex; this._values = value.values; } } get name() { return this.getStringAttribute('name'); } set name(value) { this._name = value; } // Temporarily expose input value. Use with caution. get nameInput() { return this._name; } get regex() { return this.getBooleanAttribute('regex'); } set regex(value) { this._regex = value; } resetRegex() { this._regex = undefined; } // Temporarily expose input value. Use with caution. get regexInput() { return this._regex; } get values() { return this.getListAttribute('values'); } set values(value) { this._values = value; } // Temporarily expose input value. Use with caution. get valuesInput() { return this._values; } } exports.DataOciDatabaseCloudExadataInfrastructuresFilterOutputReference = DataOciDatabaseCloudExadataInfrastructuresFilterOutputReference; _o = JSII_RTTI_SYMBOL_1; DataOciDatabaseCloudExadataInfrastructuresFilterOutputReference[_o] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseCloudExadataInfrastructures.DataOciDatabaseCloudExadataInfrastructuresFilterOutputReference", version: "1.0.0" }; class DataOciDatabaseCloudExadataInfrastructuresFilterList 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 DataOciDatabaseCloudExadataInfrastructuresFilterOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDatabaseCloudExadataInfrastructuresFilterList = DataOciDatabaseCloudExadataInfrastructuresFilterList; _p = JSII_RTTI_SYMBOL_1; DataOciDatabaseCloudExadataInfrastructuresFilterList[_p] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseCloudExadataInfrastructures.DataOciDatabaseCloudExadataInfrastructuresFilterList", version: "1.0.0" }; /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/database_cloud_exadata_infrastructures oci_database_cloud_exadata_infrastructures} */ class DataOciDatabaseCloudExadataInfrastructures extends cdktf.TerraformDataSource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a DataOciDatabaseCloudExadataInfrastructures 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 DataOciDatabaseCloudExadataInfrastructures to import * @param importFromId The id of the existing DataOciDatabaseCloudExadataInfrastructures that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/database_cloud_exadata_infrastructures#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataOciDatabaseCloudExadataInfrastructures to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "oci_database_cloud_exadata_infrastructures", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/database_cloud_exadata_infrastructures oci_database_cloud_exadata_infrastructures} 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 DataOciDatabaseCloudExadataInfrastructuresConfig */ constructor(scope, id, config) { super(scope, id, { terraformResourceType: 'oci_database_cloud_exadata_infrastructures', 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 // ========== // cloud_exadata_infrastructures - computed: true, optional: false, required: false this._cloudExadataInfrastructures = new DataOciDatabaseCloudExadataInfrastructuresCloudExadataInfrastructuresList(this, "cloud_exadata_infrastructures", false); // filter - computed: false, optional: true, required: false this._filter = new DataOciDatabaseCloudExadataInfra