UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

986 lines 221 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w; Object.defineProperty(exports, "__esModule", { value: true }); exports.MysqlMysqlBackup = exports.MysqlMysqlBackupTimeoutsOutputReference = exports.mysqlMysqlBackupTimeoutsToHclTerraform = exports.mysqlMysqlBackupTimeoutsToTerraform = exports.MysqlMysqlBackupSourceDetailsOutputReference = exports.mysqlMysqlBackupSourceDetailsToHclTerraform = exports.mysqlMysqlBackupSourceDetailsToTerraform = exports.MysqlMysqlBackupDbSystemSnapshotSummaryList = exports.MysqlMysqlBackupDbSystemSnapshotSummaryOutputReference = exports.mysqlMysqlBackupDbSystemSnapshotSummaryToHclTerraform = exports.mysqlMysqlBackupDbSystemSnapshotSummaryToTerraform = exports.MysqlMysqlBackupDbSystemSnapshotList = exports.MysqlMysqlBackupDbSystemSnapshotOutputReference = exports.mysqlMysqlBackupDbSystemSnapshotToHclTerraform = exports.mysqlMysqlBackupDbSystemSnapshotToTerraform = exports.MysqlMysqlBackupDbSystemSnapshotSecureConnectionsList = exports.MysqlMysqlBackupDbSystemSnapshotSecureConnectionsOutputReference = exports.mysqlMysqlBackupDbSystemSnapshotSecureConnectionsToHclTerraform = exports.mysqlMysqlBackupDbSystemSnapshotSecureConnectionsToTerraform = exports.MysqlMysqlBackupDbSystemSnapshotMaintenanceList = exports.MysqlMysqlBackupDbSystemSnapshotMaintenanceOutputReference = exports.mysqlMysqlBackupDbSystemSnapshotMaintenanceToHclTerraform = exports.mysqlMysqlBackupDbSystemSnapshotMaintenanceToTerraform = exports.MysqlMysqlBackupDbSystemSnapshotEndpointsList = exports.MysqlMysqlBackupDbSystemSnapshotEndpointsOutputReference = exports.mysqlMysqlBackupDbSystemSnapshotEndpointsToHclTerraform = exports.mysqlMysqlBackupDbSystemSnapshotEndpointsToTerraform = exports.MysqlMysqlBackupDbSystemSnapshotDeletionPolicyList = exports.MysqlMysqlBackupDbSystemSnapshotDeletionPolicyOutputReference = exports.mysqlMysqlBackupDbSystemSnapshotDeletionPolicyToHclTerraform = exports.mysqlMysqlBackupDbSystemSnapshotDeletionPolicyToTerraform = exports.MysqlMysqlBackupDbSystemSnapshotDataStorageList = exports.MysqlMysqlBackupDbSystemSnapshotDataStorageOutputReference = exports.mysqlMysqlBackupDbSystemSnapshotDataStorageToHclTerraform = exports.mysqlMysqlBackupDbSystemSnapshotDataStorageToTerraform = exports.MysqlMysqlBackupDbSystemSnapshotBackupPolicyList = exports.MysqlMysqlBackupDbSystemSnapshotBackupPolicyOutputReference = exports.mysqlMysqlBackupDbSystemSnapshotBackupPolicyToHclTerraform = exports.mysqlMysqlBackupDbSystemSnapshotBackupPolicyToTerraform = exports.MysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyList = exports.MysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyOutputReference = exports.mysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyToHclTerraform = exports.mysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function mysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyToTerraform(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.mysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyToTerraform = mysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyToTerraform; function mysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyToHclTerraform(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.mysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyToHclTerraform = mysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyToHclTerraform; class MysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyOutputReference 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_enabled - computed: true, optional: false, required: false get isEnabled() { return this.getBooleanAttribute('is_enabled'); } } exports.MysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyOutputReference = MysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyOutputReference; _a = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyOutputReference", version: "1.0.0" }; class MysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyList 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 MysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.MysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyList = MysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyList; _b = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyList[_b] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyList", version: "1.0.0" }; function mysqlMysqlBackupDbSystemSnapshotBackupPolicyToTerraform(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.mysqlMysqlBackupDbSystemSnapshotBackupPolicyToTerraform = mysqlMysqlBackupDbSystemSnapshotBackupPolicyToTerraform; function mysqlMysqlBackupDbSystemSnapshotBackupPolicyToHclTerraform(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.mysqlMysqlBackupDbSystemSnapshotBackupPolicyToHclTerraform = mysqlMysqlBackupDbSystemSnapshotBackupPolicyToHclTerraform; class MysqlMysqlBackupDbSystemSnapshotBackupPolicyOutputReference 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; // 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"); // pitr_policy - computed: true, optional: false, required: false this._pitrPolicy = new MysqlMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyList(this, "pitr_policy", 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 definedTags() { return this._definedTags; } get freeformTags() { return this._freeformTags; } // is_enabled - computed: true, optional: false, required: false get isEnabled() { return this.getBooleanAttribute('is_enabled'); } get pitrPolicy() { return this._pitrPolicy; } // retention_in_days - computed: true, optional: false, required: false get retentionInDays() { return this.getNumberAttribute('retention_in_days'); } // window_start_time - computed: true, optional: false, required: false get windowStartTime() { return this.getStringAttribute('window_start_time'); } } exports.MysqlMysqlBackupDbSystemSnapshotBackupPolicyOutputReference = MysqlMysqlBackupDbSystemSnapshotBackupPolicyOutputReference; _c = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotBackupPolicyOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotBackupPolicyOutputReference", version: "1.0.0" }; class MysqlMysqlBackupDbSystemSnapshotBackupPolicyList 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 MysqlMysqlBackupDbSystemSnapshotBackupPolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.MysqlMysqlBackupDbSystemSnapshotBackupPolicyList = MysqlMysqlBackupDbSystemSnapshotBackupPolicyList; _d = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotBackupPolicyList[_d] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotBackupPolicyList", version: "1.0.0" }; function mysqlMysqlBackupDbSystemSnapshotDataStorageToTerraform(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.mysqlMysqlBackupDbSystemSnapshotDataStorageToTerraform = mysqlMysqlBackupDbSystemSnapshotDataStorageToTerraform; function mysqlMysqlBackupDbSystemSnapshotDataStorageToHclTerraform(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.mysqlMysqlBackupDbSystemSnapshotDataStorageToHclTerraform = mysqlMysqlBackupDbSystemSnapshotDataStorageToHclTerraform; class MysqlMysqlBackupDbSystemSnapshotDataStorageOutputReference 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; } } // allocated_storage_size_in_gbs - computed: true, optional: false, required: false get allocatedStorageSizeInGbs() { return this.getNumberAttribute('allocated_storage_size_in_gbs'); } // data_storage_size_in_gb - computed: true, optional: false, required: false get dataStorageSizeInGb() { return this.getNumberAttribute('data_storage_size_in_gb'); } // data_storage_size_limit_in_gbs - computed: true, optional: false, required: false get dataStorageSizeLimitInGbs() { return this.getNumberAttribute('data_storage_size_limit_in_gbs'); } // is_auto_expand_storage_enabled - computed: true, optional: false, required: false get isAutoExpandStorageEnabled() { return this.getBooleanAttribute('is_auto_expand_storage_enabled'); } // max_storage_size_in_gbs - computed: true, optional: false, required: false get maxStorageSizeInGbs() { return this.getNumberAttribute('max_storage_size_in_gbs'); } } exports.MysqlMysqlBackupDbSystemSnapshotDataStorageOutputReference = MysqlMysqlBackupDbSystemSnapshotDataStorageOutputReference; _e = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotDataStorageOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotDataStorageOutputReference", version: "1.0.0" }; class MysqlMysqlBackupDbSystemSnapshotDataStorageList 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 MysqlMysqlBackupDbSystemSnapshotDataStorageOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.MysqlMysqlBackupDbSystemSnapshotDataStorageList = MysqlMysqlBackupDbSystemSnapshotDataStorageList; _f = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotDataStorageList[_f] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotDataStorageList", version: "1.0.0" }; function mysqlMysqlBackupDbSystemSnapshotDeletionPolicyToTerraform(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.mysqlMysqlBackupDbSystemSnapshotDeletionPolicyToTerraform = mysqlMysqlBackupDbSystemSnapshotDeletionPolicyToTerraform; function mysqlMysqlBackupDbSystemSnapshotDeletionPolicyToHclTerraform(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.mysqlMysqlBackupDbSystemSnapshotDeletionPolicyToHclTerraform = mysqlMysqlBackupDbSystemSnapshotDeletionPolicyToHclTerraform; class MysqlMysqlBackupDbSystemSnapshotDeletionPolicyOutputReference 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; } } // automatic_backup_retention - computed: true, optional: false, required: false get automaticBackupRetention() { return this.getStringAttribute('automatic_backup_retention'); } // final_backup - computed: true, optional: false, required: false get finalBackup() { return this.getStringAttribute('final_backup'); } // is_delete_protected - computed: true, optional: false, required: false get isDeleteProtected() { return this.getBooleanAttribute('is_delete_protected'); } } exports.MysqlMysqlBackupDbSystemSnapshotDeletionPolicyOutputReference = MysqlMysqlBackupDbSystemSnapshotDeletionPolicyOutputReference; _g = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotDeletionPolicyOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotDeletionPolicyOutputReference", version: "1.0.0" }; class MysqlMysqlBackupDbSystemSnapshotDeletionPolicyList 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 MysqlMysqlBackupDbSystemSnapshotDeletionPolicyOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.MysqlMysqlBackupDbSystemSnapshotDeletionPolicyList = MysqlMysqlBackupDbSystemSnapshotDeletionPolicyList; _h = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotDeletionPolicyList[_h] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotDeletionPolicyList", version: "1.0.0" }; function mysqlMysqlBackupDbSystemSnapshotEndpointsToTerraform(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.mysqlMysqlBackupDbSystemSnapshotEndpointsToTerraform = mysqlMysqlBackupDbSystemSnapshotEndpointsToTerraform; function mysqlMysqlBackupDbSystemSnapshotEndpointsToHclTerraform(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.mysqlMysqlBackupDbSystemSnapshotEndpointsToHclTerraform = mysqlMysqlBackupDbSystemSnapshotEndpointsToHclTerraform; class MysqlMysqlBackupDbSystemSnapshotEndpointsOutputReference 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; } } // hostname - computed: true, optional: false, required: false get hostname() { return this.getStringAttribute('hostname'); } // ip_address - computed: true, optional: false, required: false get ipAddress() { return this.getStringAttribute('ip_address'); } // modes - computed: true, optional: false, required: false get modes() { return this.getListAttribute('modes'); } // port - computed: true, optional: false, required: false get port() { return this.getNumberAttribute('port'); } // port_x - computed: true, optional: false, required: false get portX() { return this.getNumberAttribute('port_x'); } // resource_id - computed: true, optional: false, required: false get resourceId() { return this.getStringAttribute('resource_id'); } // resource_type - computed: true, optional: false, required: false get resourceType() { return this.getStringAttribute('resource_type'); } // status - computed: true, optional: false, required: false get status() { return this.getStringAttribute('status'); } // status_details - computed: true, optional: false, required: false get statusDetails() { return this.getStringAttribute('status_details'); } } exports.MysqlMysqlBackupDbSystemSnapshotEndpointsOutputReference = MysqlMysqlBackupDbSystemSnapshotEndpointsOutputReference; _j = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotEndpointsOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotEndpointsOutputReference", version: "1.0.0" }; class MysqlMysqlBackupDbSystemSnapshotEndpointsList 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 MysqlMysqlBackupDbSystemSnapshotEndpointsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.MysqlMysqlBackupDbSystemSnapshotEndpointsList = MysqlMysqlBackupDbSystemSnapshotEndpointsList; _k = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotEndpointsList[_k] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotEndpointsList", version: "1.0.0" }; function mysqlMysqlBackupDbSystemSnapshotMaintenanceToTerraform(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.mysqlMysqlBackupDbSystemSnapshotMaintenanceToTerraform = mysqlMysqlBackupDbSystemSnapshotMaintenanceToTerraform; function mysqlMysqlBackupDbSystemSnapshotMaintenanceToHclTerraform(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.mysqlMysqlBackupDbSystemSnapshotMaintenanceToHclTerraform = mysqlMysqlBackupDbSystemSnapshotMaintenanceToHclTerraform; class MysqlMysqlBackupDbSystemSnapshotMaintenanceOutputReference 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; } } // window_start_time - computed: true, optional: false, required: false get windowStartTime() { return this.getStringAttribute('window_start_time'); } } exports.MysqlMysqlBackupDbSystemSnapshotMaintenanceOutputReference = MysqlMysqlBackupDbSystemSnapshotMaintenanceOutputReference; _l = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotMaintenanceOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotMaintenanceOutputReference", version: "1.0.0" }; class MysqlMysqlBackupDbSystemSnapshotMaintenanceList 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 MysqlMysqlBackupDbSystemSnapshotMaintenanceOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.MysqlMysqlBackupDbSystemSnapshotMaintenanceList = MysqlMysqlBackupDbSystemSnapshotMaintenanceList; _m = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotMaintenanceList[_m] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotMaintenanceList", version: "1.0.0" }; function mysqlMysqlBackupDbSystemSnapshotSecureConnectionsToTerraform(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.mysqlMysqlBackupDbSystemSnapshotSecureConnectionsToTerraform = mysqlMysqlBackupDbSystemSnapshotSecureConnectionsToTerraform; function mysqlMysqlBackupDbSystemSnapshotSecureConnectionsToHclTerraform(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.mysqlMysqlBackupDbSystemSnapshotSecureConnectionsToHclTerraform = mysqlMysqlBackupDbSystemSnapshotSecureConnectionsToHclTerraform; class MysqlMysqlBackupDbSystemSnapshotSecureConnectionsOutputReference 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; } } // certificate_generation_type - computed: true, optional: false, required: false get certificateGenerationType() { return this.getStringAttribute('certificate_generation_type'); } // certificate_id - computed: true, optional: false, required: false get certificateId() { return this.getStringAttribute('certificate_id'); } } exports.MysqlMysqlBackupDbSystemSnapshotSecureConnectionsOutputReference = MysqlMysqlBackupDbSystemSnapshotSecureConnectionsOutputReference; _o = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotSecureConnectionsOutputReference[_o] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotSecureConnectionsOutputReference", version: "1.0.0" }; class MysqlMysqlBackupDbSystemSnapshotSecureConnectionsList 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 MysqlMysqlBackupDbSystemSnapshotSecureConnectionsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.MysqlMysqlBackupDbSystemSnapshotSecureConnectionsList = MysqlMysqlBackupDbSystemSnapshotSecureConnectionsList; _p = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotSecureConnectionsList[_p] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotSecureConnectionsList", version: "1.0.0" }; function mysqlMysqlBackupDbSystemSnapshotToTerraform(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.mysqlMysqlBackupDbSystemSnapshotToTerraform = mysqlMysqlBackupDbSystemSnapshotToTerraform; function mysqlMysqlBackupDbSystemSnapshotToHclTerraform(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.mysqlMysqlBackupDbSystemSnapshotToHclTerraform = mysqlMysqlBackupDbSystemSnapshotToHclTerraform; class MysqlMysqlBackupDbSystemSnapshotOutputReference 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; // backup_policy - computed: true, optional: false, required: false this._backupPolicy = new MysqlMysqlBackupDbSystemSnapshotBackupPolicyList(this, "backup_policy", false); // data_storage - computed: true, optional: false, required: false this._dataStorage = new MysqlMysqlBackupDbSystemSnapshotDataStorageList(this, "data_storage", false); // defined_tags - computed: true, optional: false, required: false this._definedTags = new cdktf.StringMap(this, "defined_tags"); // deletion_policy - computed: true, optional: false, required: false this._deletionPolicy = new MysqlMysqlBackupDbSystemSnapshotDeletionPolicyList(this, "deletion_policy", false); // endpoints - computed: true, optional: false, required: false this._endpoints = new MysqlMysqlBackupDbSystemSnapshotEndpointsList(this, "endpoints", false); // freeform_tags - computed: true, optional: false, required: false this._freeformTags = new cdktf.StringMap(this, "freeform_tags"); // maintenance - computed: true, optional: false, required: false this._maintenance = new MysqlMysqlBackupDbSystemSnapshotMaintenanceList(this, "maintenance", false); // secure_connections - computed: true, optional: false, required: false this._secureConnections = new MysqlMysqlBackupDbSystemSnapshotSecureConnectionsList(this, "secure_connections", 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; } } // admin_username - computed: true, optional: false, required: false get adminUsername() { return this.getStringAttribute('admin_username'); } // availability_domain - computed: true, optional: false, required: false get availabilityDomain() { return this.getStringAttribute('availability_domain'); } get backupPolicy() { return this._backupPolicy; } // compartment_id - computed: true, optional: false, required: false get compartmentId() { return this.getStringAttribute('compartment_id'); } // configuration_id - computed: true, optional: false, required: false get configurationId() { return this.getStringAttribute('configuration_id'); } // crash_recovery - computed: true, optional: false, required: false get crashRecovery() { return this.getStringAttribute('crash_recovery'); } get dataStorage() { return this._dataStorage; } // data_storage_size_in_gb - computed: true, optional: false, required: false get dataStorageSizeInGb() { return this.getNumberAttribute('data_storage_size_in_gb'); } // database_management - computed: true, optional: false, required: false get databaseManagement() { return this.getStringAttribute('database_management'); } get definedTags() { return this._definedTags; } get deletionPolicy() { return this._deletionPolicy; } // description - computed: true, optional: false, required: false get description() { return this.getStringAttribute('description'); } // display_name - computed: true, optional: false, required: false get displayName() { return this.getStringAttribute('display_name'); } get endpoints() { return this._endpoints; } // fault_domain - computed: true, optional: false, required: false get faultDomain() { return this.getStringAttribute('fault_domain'); } get freeformTags() { return this._freeformTags; } // hostname_label - computed: true, optional: false, required: false get hostnameLabel() { return this.getStringAttribute('hostname_label'); } // id - computed: true, optional: false, required: false get id() { return this.getStringAttribute('id'); } // ip_address - computed: true, optional: false, required: false get ipAddress() { return this.getStringAttribute('ip_address'); } // is_highly_available - computed: true, optional: false, required: false get isHighlyAvailable() { return this.getBooleanAttribute('is_highly_available'); } get maintenance() { return this._maintenance; } // mysql_version - computed: true, optional: false, required: false get mysqlVersion() { return this.getStringAttribute('mysql_version'); } // port - computed: true, optional: false, required: false get port() { return this.getNumberAttribute('port'); } // port_x - computed: true, optional: false, required: false get portX() { return this.getNumberAttribute('port_x'); } // region - computed: true, optional: false, required: false get region() { return this.getStringAttribute('region'); } get secureConnections() { return this._secureConnections; } // shape_name - computed: true, optional: false, required: false get shapeName() { return this.getStringAttribute('shape_name'); } // subnet_id - computed: true, optional: false, required: false get subnetId() { return this.getStringAttribute('subnet_id'); } } exports.MysqlMysqlBackupDbSystemSnapshotOutputReference = MysqlMysqlBackupDbSystemSnapshotOutputReference; _q = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotOutputReference[_q] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotOutputReference", version: "1.0.0" }; class MysqlMysqlBackupDbSystemSnapshotList 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 MysqlMysqlBackupDbSystemSnapshotOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.MysqlMysqlBackupDbSystemSnapshotList = MysqlMysqlBackupDbSystemSnapshotList; _r = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotList[_r] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotList", version: "1.0.0" }; function mysqlMysqlBackupDbSystemSnapshotSummaryToTerraform(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 { display_name: cdktf.stringToTerraform(struct.displayName), id: cdktf.stringToTerraform(struct.id), region: cdktf.stringToTerraform(struct.region), }; } exports.mysqlMysqlBackupDbSystemSnapshotSummaryToTerraform = mysqlMysqlBackupDbSystemSnapshotSummaryToTerraform; function mysqlMysqlBackupDbSystemSnapshotSummaryToHclTerraform(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 = { display_name: { value: cdktf.stringToHclTerraform(struct.displayName), isBlock: false, type: "simple", storageClassType: "string", }, id: { value: cdktf.stringToHclTerraform(struct.id), isBlock: false, type: "simple", storageClassType: "string", }, region: { value: cdktf.stringToHclTerraform(struct.region), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.mysqlMysqlBackupDbSystemSnapshotSummaryToHclTerraform = mysqlMysqlBackupDbSystemSnapshotSummaryToHclTerraform; class MysqlMysqlBackupDbSystemSnapshotSummaryOutputReference 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._displayName !== undefined) { hasAnyValues = true; internalValueResult.displayName = this._displayName; } if (this._id !== undefined) { hasAnyValues = true; internalValueResult.id = this._id; } if (this._region !== undefined) { hasAnyValues = true; internalValueResult.region = this._region; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._displayName = undefined; this._id = undefined; this._region = 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._displayName = value.displayName; this._id = value.id; this._region = value.region; } } get displayName() { return this.getStringAttribute('display_name'); } set displayName(value) { this._displayName = value; } resetDisplayName() { this._displayName = undefined; } // Temporarily expose input value. Use with caution. get displayNameInput() { return this._displayName; } 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 region() { return this.getStringAttribute('region'); } set region(value) { this._region = value; } resetRegion() { this._region = undefined; } // Temporarily expose input value. Use with caution. get regionInput() { return this._region; } } exports.MysqlMysqlBackupDbSystemSnapshotSummaryOutputReference = MysqlMysqlBackupDbSystemSnapshotSummaryOutputReference; _s = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotSummaryOutputReference[_s] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotSummaryOutputReference", version: "1.0.0" }; class MysqlMysqlBackupDbSystemSnapshotSummaryList 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 MysqlMysqlBackupDbSystemSnapshotSummaryOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.MysqlMysqlBackupDbSystemSnapshotSummaryList = MysqlMysqlBackupDbSystemSnapshotSummaryList; _t = JSII_RTTI_SYMBOL_1; MysqlMysqlBackupDbSystemSnapshotSummaryList[_t] = { fqn: "rhizo-co-terraform-provider-oci.mysqlMysqlBackup.MysqlMysqlBackupDbSystemSnapshotSummaryList", version: "1.0.0" }; function mysqlMysqlBackupSourceDetailsToTerraform(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 { backup_id: cdktf.stringToTerraform(struct.backupId), compartment_id: cdktf.stringToTerraform(struct.compartmentId), region: cdktf.stringToTerraform(struct.region), }; } exports.mysqlMysqlBackupSourceDetailsToTerraform = mysqlMysqlBackupSourceDetailsToTerraform; function mysqlMysqlBackupSourceDetailsToHclTerraform(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-config