rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
950 lines • 169 kB
JavaScript
"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.DataOciOpsiDatabaseInsights = exports.DataOciOpsiDatabaseInsightsFilterList = exports.DataOciOpsiDatabaseInsightsFilterOutputReference = exports.dataOciOpsiDatabaseInsightsFilterToHclTerraform = exports.dataOciOpsiDatabaseInsightsFilterToTerraform = exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionList = exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionOutputReference = exports.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionToHclTerraform = exports.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionToTerraform = exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsList = exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsOutputReference = exports.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsToHclTerraform = exports.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsToTerraform = exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsList = exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsOutputReference = exports.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsToHclTerraform = exports.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsToTerraform = exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsList = exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsOutputReference = exports.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsToHclTerraform = exports.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsToTerraform = exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsList = exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsOutputReference = exports.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsToHclTerraform = exports.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsToTerraform = exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsList = exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsOutputReference = exports.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsToHclTerraform = exports.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsToTerraform = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsToTerraform(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.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsToTerraform = dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsToTerraform;
function dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsToHclTerraform(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.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsToHclTerraform = dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsToHclTerraform;
class DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsOutputReference 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;
}
}
// credential_source_name - computed: true, optional: false, required: false
get credentialSourceName() {
return this.getStringAttribute('credential_source_name');
}
// credential_type - computed: true, optional: false, required: false
get credentialType() {
return this.getStringAttribute('credential_type');
}
// password_secret_id - computed: true, optional: false, required: false
get passwordSecretId() {
return this.getStringAttribute('password_secret_id');
}
// role - computed: true, optional: false, required: false
get role() {
return this.getStringAttribute('role');
}
// user_name - computed: true, optional: false, required: false
get userName() {
return this.getStringAttribute('user_name');
}
}
exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsOutputReference = DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOpsiDatabaseInsights.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsOutputReference", version: "1.0.0" };
class DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsList 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 DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsList = DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsList;
_b = JSII_RTTI_SYMBOL_1;
DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsList[_b] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOpsiDatabaseInsights.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsList", version: "1.0.0" };
function dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsToTerraform(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.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsToTerraform = dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsToTerraform;
function dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsToHclTerraform(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.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsToHclTerraform = dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsToHclTerraform;
class DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsOutputReference 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;
}
}
// host_ip - computed: true, optional: false, required: false
get hostIp() {
return this.getStringAttribute('host_ip');
}
// port - computed: true, optional: false, required: false
get port() {
return this.getNumberAttribute('port');
}
}
exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsOutputReference = DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOpsiDatabaseInsights.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsOutputReference", version: "1.0.0" };
class DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsList 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 DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsList = DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsList;
_d = JSII_RTTI_SYMBOL_1;
DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsList[_d] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOpsiDatabaseInsights.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsList", version: "1.0.0" };
function dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsToTerraform(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.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsToTerraform = dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsToTerraform;
function dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsToHclTerraform(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.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsToHclTerraform = dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsToHclTerraform;
class DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsOutputReference 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;
// hosts - computed: true, optional: false, required: false
this._hosts = new DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsHostsList(this, "hosts", 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;
}
}
// host_name - computed: true, optional: false, required: false
get hostName() {
return this.getStringAttribute('host_name');
}
get hosts() {
return this._hosts;
}
// port - computed: true, optional: false, required: false
get port() {
return this.getNumberAttribute('port');
}
// protocol - computed: true, optional: false, required: false
get protocol() {
return this.getStringAttribute('protocol');
}
// service_name - computed: true, optional: false, required: false
get serviceName() {
return this.getStringAttribute('service_name');
}
}
exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsOutputReference = DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOpsiDatabaseInsights.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsOutputReference", version: "1.0.0" };
class DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsList 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 DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsList = DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsList;
_f = JSII_RTTI_SYMBOL_1;
DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsList[_f] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOpsiDatabaseInsights.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsList", version: "1.0.0" };
function dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsToTerraform(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.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsToTerraform = dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsToTerraform;
function dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsToHclTerraform(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.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsToHclTerraform = dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsToHclTerraform;
class DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsOutputReference 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;
}
}
// credential_source_name - computed: true, optional: false, required: false
get credentialSourceName() {
return this.getStringAttribute('credential_source_name');
}
// credential_type - computed: true, optional: false, required: false
get credentialType() {
return this.getStringAttribute('credential_type');
}
// password_secret_id - computed: true, optional: false, required: false
get passwordSecretId() {
return this.getStringAttribute('password_secret_id');
}
// role - computed: true, optional: false, required: false
get role() {
return this.getStringAttribute('role');
}
// user_name - computed: true, optional: false, required: false
get userName() {
return this.getStringAttribute('user_name');
}
// wallet_secret_id - computed: true, optional: false, required: false
get walletSecretId() {
return this.getStringAttribute('wallet_secret_id');
}
}
exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsOutputReference = DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOpsiDatabaseInsights.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsOutputReference", version: "1.0.0" };
class DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsList 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 DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsList = DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsList;
_h = JSII_RTTI_SYMBOL_1;
DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsList[_h] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOpsiDatabaseInsights.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsList", version: "1.0.0" };
function dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsToTerraform(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.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsToTerraform = dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsToTerraform;
function dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsToHclTerraform(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.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsToHclTerraform = dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsToHclTerraform;
class DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsOutputReference 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;
// connection_credential_details - computed: true, optional: false, required: false
this._connectionCredentialDetails = new DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionCredentialDetailsList(this, "connection_credential_details", false);
// connection_details - computed: true, optional: false, required: false
this._connectionDetails = new DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsConnectionDetailsList(this, "connection_details", false);
// credential_details - computed: true, optional: false, required: false
this._credentialDetails = new DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsCredentialDetailsList(this, "credential_details", 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");
// 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;
}
}
// compartment_id - computed: true, optional: false, required: false
get compartmentId() {
return this.getStringAttribute('compartment_id');
}
get connectionCredentialDetails() {
return this._connectionCredentialDetails;
}
get connectionDetails() {
return this._connectionDetails;
}
// connector_id - computed: true, optional: false, required: false
get connectorId() {
return this.getStringAttribute('connector_id');
}
get credentialDetails() {
return this._credentialDetails;
}
// database_connection_status_details - computed: true, optional: false, required: false
get databaseConnectionStatusDetails() {
return this.getStringAttribute('database_connection_status_details');
}
// database_display_name - computed: true, optional: false, required: false
get databaseDisplayName() {
return this.getStringAttribute('database_display_name');
}
// database_id - computed: true, optional: false, required: false
get databaseId() {
return this.getStringAttribute('database_id');
}
// database_name - computed: true, optional: false, required: false
get databaseName() {
return this.getStringAttribute('database_name');
}
// database_resource_type - computed: true, optional: false, required: false
get databaseResourceType() {
return this.getStringAttribute('database_resource_type');
}
// database_type - computed: true, optional: false, required: false
get databaseType() {
return this.getStringAttribute('database_type');
}
// database_version - computed: true, optional: false, required: false
get databaseVersion() {
return this.getStringAttribute('database_version');
}
// dbm_private_endpoint_id - computed: true, optional: false, required: false
get dbmPrivateEndpointId() {
return this.getStringAttribute('dbm_private_endpoint_id');
}
get definedTags() {
return this._definedTags;
}
// deployment_type - computed: true, optional: false, required: false
get deploymentType() {
return this.getStringAttribute('deployment_type');
}
// enterprise_manager_bridge_id - computed: true, optional: false, required: false
get enterpriseManagerBridgeId() {
return this.getStringAttribute('enterprise_manager_bridge_id');
}
// enterprise_manager_entity_display_name - computed: true, optional: false, required: false
get enterpriseManagerEntityDisplayName() {
return this.getStringAttribute('enterprise_manager_entity_display_name');
}
// enterprise_manager_entity_identifier - computed: true, optional: false, required: false
get enterpriseManagerEntityIdentifier() {
return this.getStringAttribute('enterprise_manager_entity_identifier');
}
// enterprise_manager_entity_name - computed: true, optional: false, required: false
get enterpriseManagerEntityName() {
return this.getStringAttribute('enterprise_manager_entity_name');
}
// enterprise_manager_entity_type - computed: true, optional: false, required: false
get enterpriseManagerEntityType() {
return this.getStringAttribute('enterprise_manager_entity_type');
}
// enterprise_manager_identifier - computed: true, optional: false, required: false
get enterpriseManagerIdentifier() {
return this.getStringAttribute('enterprise_manager_identifier');
}
// entity_source - computed: true, optional: false, required: false
get entitySource() {
return this.getStringAttribute('entity_source');
}
// exadata_insight_id - computed: true, optional: false, required: false
get exadataInsightId() {
return this.getStringAttribute('exadata_insight_id');
}
get freeformTags() {
return this._freeformTags;
}
// id - computed: true, optional: false, required: false
get id() {
return this.getStringAttribute('id');
}
// is_advanced_features_enabled - computed: true, optional: false, required: false
get isAdvancedFeaturesEnabled() {
return this.getBooleanAttribute('is_advanced_features_enabled');
}
// is_heat_wave_cluster_attached - computed: true, optional: false, required: false
get isHeatWaveClusterAttached() {
return this.getBooleanAttribute('is_heat_wave_cluster_attached');
}
// is_highly_available - computed: true, optional: false, required: false
get isHighlyAvailable() {
return this.getBooleanAttribute('is_highly_available');
}
// lifecycle_details - computed: true, optional: false, required: false
get lifecycleDetails() {
return this.getStringAttribute('lifecycle_details');
}
// management_agent_id - computed: true, optional: false, required: false
get managementAgentId() {
return this.getStringAttribute('management_agent_id');
}
// opsi_private_endpoint_id - computed: true, optional: false, required: false
get opsiPrivateEndpointId() {
return this.getStringAttribute('opsi_private_endpoint_id');
}
// parent_id - computed: true, optional: false, required: false
get parentId() {
return this.getStringAttribute('parent_id');
}
// processor_count - computed: true, optional: false, required: false
get processorCount() {
return this.getNumberAttribute('processor_count');
}
// root_id - computed: true, optional: false, required: false
get rootId() {
return this.getStringAttribute('root_id');
}
// service_name - computed: true, optional: false, required: false
get serviceName() {
return this.getStringAttribute('service_name');
}
// state - computed: true, optional: false, required: false
get state() {
return this.getStringAttribute('state');
}
// status - computed: true, optional: false, required: false
get status() {
return this.getStringAttribute('status');
}
get systemTags() {
return this._systemTags;
}
// time_created - computed: true, optional: false, required: false
get timeCreated() {
return this.getStringAttribute('time_created');
}
// time_updated - computed: true, optional: false, required: false
get timeUpdated() {
return this.getStringAttribute('time_updated');
}
}
exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsOutputReference = DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOpsiDatabaseInsights.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsOutputReference", version: "1.0.0" };
class DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsList 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 DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsList = DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsList;
_k = JSII_RTTI_SYMBOL_1;
DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsList[_k] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOpsiDatabaseInsights.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsList", version: "1.0.0" };
function dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionToTerraform(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.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionToTerraform = dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionToTerraform;
function dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionToHclTerraform(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.dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionToHclTerraform = dataOciOpsiDatabaseInsightsDatabaseInsightsCollectionToHclTerraform;
class DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionOutputReference 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;
// items - computed: true, optional: false, required: false
this._items = new DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionItemsList(this, "items", 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 items() {
return this._items;
}
}
exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionOutputReference = DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOpsiDatabaseInsights.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionOutputReference", version: "1.0.0" };
class DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionList 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 DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionList = DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionList;
_m = JSII_RTTI_SYMBOL_1;
DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionList[_m] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOpsiDatabaseInsights.DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionList", version: "1.0.0" };
function dataOciOpsiDatabaseInsightsFilterToTerraform(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.dataOciOpsiDatabaseInsightsFilterToTerraform = dataOciOpsiDatabaseInsightsFilterToTerraform;
function dataOciOpsiDatabaseInsightsFilterToHclTerraform(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.dataOciOpsiDatabaseInsightsFilterToHclTerraform = dataOciOpsiDatabaseInsightsFilterToHclTerraform;
class DataOciOpsiDatabaseInsightsFilterOutputReference 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.DataOciOpsiDatabaseInsightsFilterOutputReference = DataOciOpsiDatabaseInsightsFilterOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataOciOpsiDatabaseInsightsFilterOutputReference[_o] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOpsiDatabaseInsights.DataOciOpsiDatabaseInsightsFilterOutputReference", version: "1.0.0" };
class DataOciOpsiDatabaseInsightsFilterList 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 DataOciOpsiDatabaseInsightsFilterOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataOciOpsiDatabaseInsightsFilterList = DataOciOpsiDatabaseInsightsFilterList;
_p = JSII_RTTI_SYMBOL_1;
DataOciOpsiDatabaseInsightsFilterList[_p] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOpsiDatabaseInsights.DataOciOpsiDatabaseInsightsFilterList", version: "1.0.0" };
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/opsi_database_insights oci_opsi_database_insights}
*/
class DataOciOpsiDatabaseInsights extends cdktf.TerraformDataSource {
// ==============
// STATIC Methods
// ==============
/**
* Generates CDKTF code for importing a DataOciOpsiDatabaseInsights 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 DataOciOpsiDatabaseInsights to import
* @param importFromId The id of the existing DataOciOpsiDatabaseInsights that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/opsi_database_insights#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciOpsiDatabaseInsights to import is found
*/
static generateConfigForImport(scope, importToId, importFromId, provider) {
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "oci_opsi_database_insights", importId: importFromId, provider });
}
// ===========
// INITIALIZER
// ===========
/**
* Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/opsi_database_insights oci_opsi_database_insights} 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 DataOciOpsiDatabaseInsightsConfig = {}
*/
constructor(scope, id, config = {}) {
super(scope, id, {
terraformResourceType: 'oci_opsi_database_insights',
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
});
// database_insights_collection - computed: true, optional: false, required: false
this._databaseInsightsCollection = new DataOciOpsiDatabaseInsightsDatabaseInsightsCollectionList(this, "database_insights_collection", false);
// filter - computed: false, optional: true, required: false
this._filter = new DataOciOpsiDatabaseInsightsFilterList(this, "filter", true);
this._compartmentId = config.compartmentId;
this._compartmentIdInSubtree = config.compartmentIdInSubtree;
this._databaseId = config.databaseId;
this._databaseType = config.databaseType;
this._enterpriseManagerBridgeId = config.enterpriseManagerBridgeId;
this._exadataInsightId = config.exadataInsightId;
this._fields = config.fields;
this._id = config.id;
this._opsiPrivateEndpointId = config.opsiPrivateEndpointId;
this._state = config.state;
this._status = config.status;
this._filter.internalValue = config.filter;
}
get compartmentId() {
return this.getStringAttribute('compartment_id');
}
set compartmentId(value) {
this._compartmentId = value;
}
resetCompartmentId() {
this._compartmentId = undefined;
}
// Temporarily expose input value. Use with caution.
get compartmentIdInput() {
return this._compartmentId;
}
get compartmentIdInSubtree() {
return this.getBooleanAttribute('compartment_id_in_subtree');
}
set compartmentIdInSubtree(value) {
this._compartmentIdInSubtree = value;
}
resetCompartmentIdInSubtree() {
this._compartmentIdInSubtree = undefined;
}
// Temporarily expose input value. Use with caution.
get compartmentIdInSubtreeInput() {
return this._compartmentIdInSubtree;
}
get databaseId() {
return this.getListAttribute('database_id');
}
set databaseId(value) {
this._databaseId = value;
}
resetDatabaseId() {
this._databaseId = undefined;
}
// Temporarily expose input value. Use with caution.
get databaseIdInput() {
return this._databaseId;
}
get databaseInsightsCollection() {
return this._databaseInsightsCollection;
}
get databaseType() {
return this.getListAttribute('database_type');
}
set databaseType(value) {
this._databaseType = value;
}
resetDatabaseType() {
this._databaseType = undefined;
}
// Temporarily expose input value. Use with caution.
get databaseTypeInput() {
return this._databaseType;
}
get enterpriseManagerBridgeId() {
return this.getStringAttribute('enterprise_manager_bridge_id');
}
set enterp