UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

816 lines 150 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.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport = exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoList = exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoOutputReference = exports.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoToHclTerraform = exports.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoToTerraform = exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsList = exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsOutputReference = exports.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsToHclTerraform = exports.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsToTerraform = exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsList = exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsOutputReference = exports.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsToHclTerraform = exports.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsToTerraform = exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsList = exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsOutputReference = exports.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsToHclTerraform = exports.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsToTerraform = exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsList = exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsOutputReference = exports.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsToHclTerraform = exports.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsToTerraform = exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsList = exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsOutputReference = exports.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsToHclTerraform = exports.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsToTerraform = exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsList = exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsOutputReference = exports.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsToHclTerraform = exports.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsToTerraform(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.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsToTerraform = dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsToTerraform; function dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsToHclTerraform(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.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsToHclTerraform = dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsToHclTerraform; class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsOutputReference 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; } } // index_columns - computed: true, optional: false, required: false get indexColumns() { return this.getListAttribute('index_columns'); } // index_hash_value - computed: true, optional: false, required: false get indexHashValue() { return this.getStringAttribute('index_hash_value'); } // index_name - computed: true, optional: false, required: false get indexName() { return this.getStringAttribute('index_name'); } // reference_count - computed: true, optional: false, required: false get referenceCount() { return this.getNumberAttribute('reference_count'); } // schema - computed: true, optional: false, required: false get schema() { return this.getStringAttribute('schema'); } // table_name - computed: true, optional: false, required: false get tableName() { return this.getStringAttribute('table_name'); } } exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsOutputReference = DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsOutputReference; _a = JSII_RTTI_SYMBOL_1; DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsOutputReference", version: "1.0.0" }; class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsList 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 DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsList = DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsList; _b = JSII_RTTI_SYMBOL_1; DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsList[_b] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsList", version: "1.0.0" }; function dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsToTerraform(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.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsToTerraform = dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsToTerraform; function dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsToHclTerraform(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.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsToHclTerraform = dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsToHclTerraform; class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsOutputReference 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; } } // object - computed: true, optional: false, required: false get object() { return this.getStringAttribute('object'); } // object_hash_value - computed: true, optional: false, required: false get objectHashValue() { return this.getStringAttribute('object_hash_value'); } // object_type - computed: true, optional: false, required: false get objectType() { return this.getStringAttribute('object_type'); } // problem_type - computed: true, optional: false, required: false get problemType() { return this.getStringAttribute('problem_type'); } // reference_count - computed: true, optional: false, required: false get referenceCount() { return this.getNumberAttribute('reference_count'); } // schema - computed: true, optional: false, required: false get schema() { return this.getStringAttribute('schema'); } } exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsOutputReference = DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsOutputReference; _c = JSII_RTTI_SYMBOL_1; DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsOutputReference", version: "1.0.0" }; class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsList 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 DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsList = DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsList; _d = JSII_RTTI_SYMBOL_1; DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsList[_d] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsList", version: "1.0.0" }; function dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsToTerraform(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.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsToTerraform = dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsToTerraform; function dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsToHclTerraform(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.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsToHclTerraform = dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsToHclTerraform; class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsOutputReference 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; } } // db_time_after_implemented - computed: true, optional: false, required: false get dbTimeAfterImplemented() { return this.getNumberAttribute('db_time_after_implemented'); } // db_time_after_recommended - computed: true, optional: false, required: false get dbTimeAfterRecommended() { return this.getNumberAttribute('db_time_after_recommended'); } // db_time_before_implemented - computed: true, optional: false, required: false get dbTimeBeforeImplemented() { return this.getNumberAttribute('db_time_before_implemented'); } // db_time_before_recommended - computed: true, optional: false, required: false get dbTimeBeforeRecommended() { return this.getNumberAttribute('db_time_before_recommended'); } } exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsOutputReference = DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsOutputReference; _e = JSII_RTTI_SYMBOL_1; DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsOutputReference", version: "1.0.0" }; class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsList 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 DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsList = DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsList; _f = JSII_RTTI_SYMBOL_1; DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsList[_f] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsList", version: "1.0.0" }; function dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsToTerraform(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.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsToTerraform = dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsToTerraform; function dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsToHclTerraform(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.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsToHclTerraform = dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsToHclTerraform; class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsOutputReference 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; } } // alternate_plan - computed: true, optional: false, required: false get alternatePlan() { return this.getNumberAttribute('alternate_plan'); } // implemented_sql_profile - computed: true, optional: false, required: false get implementedSqlProfile() { return this.getNumberAttribute('implemented_sql_profile'); } // index - computed: true, optional: false, required: false get index() { return this.getNumberAttribute('index'); } // recommended_sql_profile - computed: true, optional: false, required: false get recommendedSqlProfile() { return this.getNumberAttribute('recommended_sql_profile'); } // restructure - computed: true, optional: false, required: false get restructure() { return this.getNumberAttribute('restructure'); } // statistics - computed: true, optional: false, required: false get statistics() { return this.getNumberAttribute('statistics'); } } exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsOutputReference = DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsOutputReference; _g = JSII_RTTI_SYMBOL_1; DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsOutputReference", version: "1.0.0" }; class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsList 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 DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsList = DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsList; _h = JSII_RTTI_SYMBOL_1; DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsList[_h] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsList", version: "1.0.0" }; function dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsToTerraform(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.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsToTerraform = dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsToTerraform; function dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsToHclTerraform(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.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsToHclTerraform = dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsToHclTerraform; class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsOutputReference 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; } } // distinct_sql - computed: true, optional: false, required: false get distinctSql() { return this.getNumberAttribute('distinct_sql'); } // error_count - computed: true, optional: false, required: false get errorCount() { return this.getNumberAttribute('error_count'); } // finding_count - computed: true, optional: false, required: false get findingCount() { return this.getNumberAttribute('finding_count'); } // total_sql - computed: true, optional: false, required: false get totalSql() { return this.getNumberAttribute('total_sql'); } } exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsOutputReference = DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsOutputReference; _j = JSII_RTTI_SYMBOL_1; DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsOutputReference", version: "1.0.0" }; class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsList 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 DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsList = DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsList; _k = JSII_RTTI_SYMBOL_1; DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsList[_k] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsList", version: "1.0.0" }; function dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsToTerraform(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.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsToTerraform = dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsToTerraform; function dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsToHclTerraform(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.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsToHclTerraform = dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsToHclTerraform; class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsOutputReference 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; // finding_benefits - computed: true, optional: false, required: false this._findingBenefits = new DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingBenefitsList(this, "finding_benefits", false); // finding_counts - computed: true, optional: false, required: false this._findingCounts = new DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsFindingCountsList(this, "finding_counts", false); // statement_counts - computed: true, optional: false, required: false this._statementCounts = new DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsStatementCountsList(this, "statement_counts", 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 findingBenefits() { return this._findingBenefits; } get findingCounts() { return this._findingCounts; } get statementCounts() { return this._statementCounts; } } exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsOutputReference = DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsOutputReference; _l = JSII_RTTI_SYMBOL_1; DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsOutputReference", version: "1.0.0" }; class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsList 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 DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsList = DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsList; _m = JSII_RTTI_SYMBOL_1; DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsList[_m] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsList", version: "1.0.0" }; function dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoToTerraform(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.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoToTerraform = dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoToTerraform; function dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoToHclTerraform(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.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoToHclTerraform = dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoToHclTerraform; class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoOutputReference 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; } } // description - computed: true, optional: false, required: false get description() { return this.getStringAttribute('description'); } // id - computed: true, optional: false, required: false get id() { return this.getStringAttribute('id'); } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } // owner - computed: true, optional: false, required: false get owner() { return this.getStringAttribute('owner'); } // running_time - computed: true, optional: false, required: false get runningTime() { return this.getNumberAttribute('running_time'); } // status - computed: true, optional: false, required: false get status() { return this.getStringAttribute('status'); } // time_ended - computed: true, optional: false, required: false get timeEnded() { return this.getStringAttribute('time_ended'); } // time_started - computed: true, optional: false, required: false get timeStarted() { return this.getStringAttribute('time_started'); } } exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoOutputReference = DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoOutputReference; _o = JSII_RTTI_SYMBOL_1; DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoOutputReference[_o] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoOutputReference", version: "1.0.0" }; class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoList 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 DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoList = DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoList; _p = JSII_RTTI_SYMBOL_1; DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoList[_p] = { fqn: "rhizo-co-terraform-provider-oci.dataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport.DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoList", version: "1.0.0" }; /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/database_management_managed_database_sql_tuning_advisor_tasks_summary_report oci_database_management_managed_database_sql_tuning_advisor_tasks_summary_report} */ class DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport extends cdktf.TerraformDataSource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport 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 DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport to import * @param importFromId The id of the existing DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/database_management_managed_database_sql_tuning_advisor_tasks_summary_report#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReport to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "oci_database_management_managed_database_sql_tuning_advisor_tasks_summary_report", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/database_management_managed_database_sql_tuning_advisor_tasks_summary_report oci_database_management_managed_database_sql_tuning_advisor_tasks_summary_report} 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 DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportConfig */ constructor(scope, id, config) { super(scope, id, { terraformResourceType: 'oci_database_management_managed_database_sql_tuning_advisor_tasks_summary_report', 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 }); // index_findings - computed: true, optional: false, required: false this._indexFindings = new DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingsList(this, "index_findings", false); // object_stat_findings - computed: true, optional: false, required: false this._objectStatFindings = new DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingsList(this, "object_stat_findings", false); // statistics - computed: true, optional: false, required: false this._statistics = new DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticsList(this, "statistics", false); // task_info - computed: true, optional: false, required: false this._taskInfo = new DataOciDatabaseManagementManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoList(this, "task_info", false); this._beginExecIdGreaterThanOrEqualTo = config.beginExecIdGreaterThanOrEqualTo; this._endExecIdLessThanOrEqualTo = config.endExecIdLessThanOrEqualTo; this._id = config.id; this._managedDatabaseId = config.managedDatabaseId; this._opcNamedCredentialId = config.opcNamedCredentialId; this._searchPeriod = config.searchPeriod; this._sqlTuningAdvisorTaskId = config.sqlTuningAdvisorTaskId; this._timeGreaterThanOrEqualTo = config.timeGreaterThanOrEqualTo; this._timeLessThanOrEqualTo = config.timeLessThanOrEqualTo; } get beginExecIdGreaterThanOrEqualTo() { return this.getStringAttribute('begin_exec_id_greater_than_or_equal_to'); } set beginExecIdGreaterThanOrEqualTo(value) { this._beginExecIdGreaterThanOrEqualTo = value; } resetBeginExecIdGreaterThanOrEqualTo() { this._beginExecIdGreaterThanOrEqualTo = undefined; } // Temporarily expose input value. Use with caution. get beginExecIdGreaterThanOrEqualToInput() { return this._beginExecIdGreaterThanOrEqualTo; } get endExecIdLessThanOrEqualTo() { return this.getStringAttribute('end_exec_id_less_than_or_equal_to'); } set endExecIdLessThanOrEqualTo(value) { this._endExecIdLessThanOrEqualTo = value; } resetEndExecIdLessThanOrEqualTo() { this._endExecIdLessThanOrEqualTo = undefined; } // Temporarily expose input value. Use with caution. get endExecIdLessThanOrEqualToInput() { return this._endExecIdLessThanOrEqualTo; } get id() { return this.getStringAttribute('id'); } set id(value) { this._id = value; } resetId() { this._id = undefined; } // Temporarily expose input value. Use with caution. get idInput() { return this._id; } get indexFindings() { return this._indexFindings; } get managedDatabaseId() { return this.getStringAttribute('managed_database_id'); } set managedDatabaseId(value) { this._managedDatabaseId = value; } // Temporarily expose input value. Use with caution. get managedDatabaseIdInput() { return this._managedDatabaseId; } get objectStatFindings() { return this._objectStatFindings; } get opcNamedCredentialId() { return this.getStringAttribute('opc_named_credential_id'); } set opcNamedCredentialId(value) { this._opcNamedCredentialId = value; } resetOpcNamedCredentialId() { this._opcNamedCredentialId = undefined; } // Temporarily expose input value. Use with caution. get opcNamedCredentialIdInput() { return this._opcNamedCredentialId; } get searchPeriod() { return this.getStringAttribute('search_period'); } set searchPeriod(value) { this._searchPeriod = value; } resetSearchPeriod() { this._searchPeriod = undefined; } // Temporarily expose input value. Use with caution. get searchPeriodInput() { return this._searchPeriod; } get sqlTuningAdvisorTaskId() { return this.getStringAttribute('sql_tuning_advisor_task_id'); } set sqlTuningAdvisorTaskId(value) { this._sqlTuningAdvisorTaskId = value; } // Temporarily expose input value. Use with caution. get sqlTuningAdvisorTaskIdInput() { return this._sqlTuningAdvisorTaskId; } get statistics() { return this._statistics; } get taskInfo() { return this._taskInfo; } get timeGreaterThanOrEqualTo() { return this.getStringAttribute('time_greater_than_or_equal_to'); } set timeGreaterThanOrEqualT