rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
132 lines (131 loc) • 7.96 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciDatabaseExternalDatabaseConnectorConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/database_external_database_connector#external_database_connector_id DataOciDatabaseExternalDatabaseConnector#external_database_connector_id}
*/
readonly externalDatabaseConnectorId: string;
}
export interface DataOciDatabaseExternalDatabaseConnectorConnectionCredentials {
}
export declare function dataOciDatabaseExternalDatabaseConnectorConnectionCredentialsToTerraform(struct?: DataOciDatabaseExternalDatabaseConnectorConnectionCredentials): any;
export declare function dataOciDatabaseExternalDatabaseConnectorConnectionCredentialsToHclTerraform(struct?: DataOciDatabaseExternalDatabaseConnectorConnectionCredentials): any;
export declare class DataOciDatabaseExternalDatabaseConnectorConnectionCredentialsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): DataOciDatabaseExternalDatabaseConnectorConnectionCredentials | undefined;
set internalValue(value: DataOciDatabaseExternalDatabaseConnectorConnectionCredentials | undefined);
get credentialName(): string;
get credentialType(): string;
get password(): string;
get role(): string;
get sslSecretId(): string;
get username(): string;
}
export declare class DataOciDatabaseExternalDatabaseConnectorConnectionCredentialsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @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: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): DataOciDatabaseExternalDatabaseConnectorConnectionCredentialsOutputReference;
}
export interface DataOciDatabaseExternalDatabaseConnectorConnectionString {
}
export declare function dataOciDatabaseExternalDatabaseConnectorConnectionStringToTerraform(struct?: DataOciDatabaseExternalDatabaseConnectorConnectionString): any;
export declare function dataOciDatabaseExternalDatabaseConnectorConnectionStringToHclTerraform(struct?: DataOciDatabaseExternalDatabaseConnectorConnectionString): any;
export declare class DataOciDatabaseExternalDatabaseConnectorConnectionStringOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
get internalValue(): DataOciDatabaseExternalDatabaseConnectorConnectionString | undefined;
set internalValue(value: DataOciDatabaseExternalDatabaseConnectorConnectionString | undefined);
get hostname(): string;
get port(): number;
get protocol(): string;
get service(): string;
}
export declare class DataOciDatabaseExternalDatabaseConnectorConnectionStringList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @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: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
/**
* @param index the index of the item to return
*/
get(index: number): DataOciDatabaseExternalDatabaseConnectorConnectionStringOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/database_external_database_connector oci_database_external_database_connector}
*/
export declare class DataOciDatabaseExternalDatabaseConnector extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_database_external_database_connector";
/**
* Generates CDKTF code for importing a DataOciDatabaseExternalDatabaseConnector 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 DataOciDatabaseExternalDatabaseConnector to import
* @param importFromId The id of the existing DataOciDatabaseExternalDatabaseConnector that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/database_external_database_connector#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciDatabaseExternalDatabaseConnector to import is found
*/
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
/**
* Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/database_external_database_connector oci_database_external_database_connector} 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 DataOciDatabaseExternalDatabaseConnectorConfig
*/
constructor(scope: Construct, id: string, config: DataOciDatabaseExternalDatabaseConnectorConfig);
get compartmentId(): string;
private _connectionCredentials;
get connectionCredentials(): DataOciDatabaseExternalDatabaseConnectorConnectionCredentialsList;
get connectionStatus(): string;
private _connectionString;
get connectionString(): DataOciDatabaseExternalDatabaseConnectorConnectionStringList;
get connectorAgentId(): string;
get connectorType(): string;
private _definedTags;
get definedTags(): cdktf.StringMap;
get displayName(): string;
private _externalDatabaseConnectorId?;
get externalDatabaseConnectorId(): string;
set externalDatabaseConnectorId(value: string);
get externalDatabaseConnectorIdInput(): string | undefined;
get externalDatabaseId(): string;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
get id(): string;
get lifecycleDetails(): string;
get state(): string;
get timeConnectionStatusLastUpdated(): string;
get timeCreated(): string;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}