rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
482 lines (481 loc) • 23.4 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface MysqlChannelConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#compartment_id MysqlChannel#compartment_id}
*/
readonly compartmentId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#defined_tags MysqlChannel#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#description MysqlChannel#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#display_name MysqlChannel#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#freeform_tags MysqlChannel#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#id MysqlChannel#id}
*
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
*/
readonly id?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#is_enabled MysqlChannel#is_enabled}
*/
readonly isEnabled?: boolean | cdktf.IResolvable;
/**
* source block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#source MysqlChannel#source}
*/
readonly source: MysqlChannelSource;
/**
* target block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#target MysqlChannel#target}
*/
readonly target: MysqlChannelTarget;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#timeouts MysqlChannel#timeouts}
*/
readonly timeouts?: MysqlChannelTimeouts;
}
export interface MysqlChannelSourceAnonymousTransactionsHandling {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#last_configured_log_filename MysqlChannel#last_configured_log_filename}
*/
readonly lastConfiguredLogFilename?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#last_configured_log_offset MysqlChannel#last_configured_log_offset}
*/
readonly lastConfiguredLogOffset?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#policy MysqlChannel#policy}
*/
readonly policy: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#uuid MysqlChannel#uuid}
*/
readonly uuid?: string;
}
export declare function mysqlChannelSourceAnonymousTransactionsHandlingToTerraform(struct?: MysqlChannelSourceAnonymousTransactionsHandlingOutputReference | MysqlChannelSourceAnonymousTransactionsHandling): any;
export declare function mysqlChannelSourceAnonymousTransactionsHandlingToHclTerraform(struct?: MysqlChannelSourceAnonymousTransactionsHandlingOutputReference | MysqlChannelSourceAnonymousTransactionsHandling): any;
export declare class MysqlChannelSourceAnonymousTransactionsHandlingOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): MysqlChannelSourceAnonymousTransactionsHandling | undefined;
set internalValue(value: MysqlChannelSourceAnonymousTransactionsHandling | undefined);
private _lastConfiguredLogFilename?;
get lastConfiguredLogFilename(): string;
set lastConfiguredLogFilename(value: string);
resetLastConfiguredLogFilename(): void;
get lastConfiguredLogFilenameInput(): string | undefined;
private _lastConfiguredLogOffset?;
get lastConfiguredLogOffset(): string;
set lastConfiguredLogOffset(value: string);
resetLastConfiguredLogOffset(): void;
get lastConfiguredLogOffsetInput(): string | undefined;
private _policy?;
get policy(): string;
set policy(value: string);
get policyInput(): string | undefined;
private _uuid?;
get uuid(): string;
set uuid(value: string);
resetUuid(): void;
get uuidInput(): string | undefined;
}
export interface MysqlChannelSourceSslCaCertificate {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#certificate_type MysqlChannel#certificate_type}
*/
readonly certificateType: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#contents MysqlChannel#contents}
*/
readonly contents: string;
}
export declare function mysqlChannelSourceSslCaCertificateToTerraform(struct?: MysqlChannelSourceSslCaCertificateOutputReference | MysqlChannelSourceSslCaCertificate): any;
export declare function mysqlChannelSourceSslCaCertificateToHclTerraform(struct?: MysqlChannelSourceSslCaCertificateOutputReference | MysqlChannelSourceSslCaCertificate): any;
export declare class MysqlChannelSourceSslCaCertificateOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): MysqlChannelSourceSslCaCertificate | undefined;
set internalValue(value: MysqlChannelSourceSslCaCertificate | undefined);
private _certificateType?;
get certificateType(): string;
set certificateType(value: string);
get certificateTypeInput(): string | undefined;
private _contents?;
get contents(): string;
set contents(value: string);
get contentsInput(): string | undefined;
}
export interface MysqlChannelSource {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#hostname MysqlChannel#hostname}
*/
readonly hostname: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#password MysqlChannel#password}
*/
readonly password: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#port MysqlChannel#port}
*/
readonly port?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#source_type MysqlChannel#source_type}
*/
readonly sourceType: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#ssl_mode MysqlChannel#ssl_mode}
*/
readonly sslMode: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#username MysqlChannel#username}
*/
readonly username: string;
/**
* anonymous_transactions_handling block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#anonymous_transactions_handling MysqlChannel#anonymous_transactions_handling}
*/
readonly anonymousTransactionsHandling?: MysqlChannelSourceAnonymousTransactionsHandling;
/**
* ssl_ca_certificate block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#ssl_ca_certificate MysqlChannel#ssl_ca_certificate}
*/
readonly sslCaCertificate?: MysqlChannelSourceSslCaCertificate;
}
export declare function mysqlChannelSourceToTerraform(struct?: MysqlChannelSourceOutputReference | MysqlChannelSource): any;
export declare function mysqlChannelSourceToHclTerraform(struct?: MysqlChannelSourceOutputReference | MysqlChannelSource): any;
export declare class MysqlChannelSourceOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): MysqlChannelSource | undefined;
set internalValue(value: MysqlChannelSource | undefined);
private _hostname?;
get hostname(): string;
set hostname(value: string);
get hostnameInput(): string | undefined;
private _password?;
get password(): string;
set password(value: string);
get passwordInput(): string | undefined;
private _port?;
get port(): number;
set port(value: number);
resetPort(): void;
get portInput(): number | undefined;
private _sourceType?;
get sourceType(): string;
set sourceType(value: string);
get sourceTypeInput(): string | undefined;
private _sslMode?;
get sslMode(): string;
set sslMode(value: string);
get sslModeInput(): string | undefined;
private _username?;
get username(): string;
set username(value: string);
get usernameInput(): string | undefined;
private _anonymousTransactionsHandling;
get anonymousTransactionsHandling(): MysqlChannelSourceAnonymousTransactionsHandlingOutputReference;
putAnonymousTransactionsHandling(value: MysqlChannelSourceAnonymousTransactionsHandling): void;
resetAnonymousTransactionsHandling(): void;
get anonymousTransactionsHandlingInput(): MysqlChannelSourceAnonymousTransactionsHandling | undefined;
private _sslCaCertificate;
get sslCaCertificate(): MysqlChannelSourceSslCaCertificateOutputReference;
putSslCaCertificate(value: MysqlChannelSourceSslCaCertificate): void;
resetSslCaCertificate(): void;
get sslCaCertificateInput(): MysqlChannelSourceSslCaCertificate | undefined;
}
export interface MysqlChannelTargetFilters {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#type MysqlChannel#type}
*/
readonly type: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#value MysqlChannel#value}
*/
readonly value: string;
}
export declare function mysqlChannelTargetFiltersToTerraform(struct?: MysqlChannelTargetFilters | cdktf.IResolvable): any;
export declare function mysqlChannelTargetFiltersToHclTerraform(struct?: MysqlChannelTargetFilters | cdktf.IResolvable): any;
export declare class MysqlChannelTargetFiltersOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @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(): MysqlChannelTargetFilters | cdktf.IResolvable | undefined;
set internalValue(value: MysqlChannelTargetFilters | cdktf.IResolvable | undefined);
private _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
private _value?;
get value(): string;
set value(value: string);
get valueInput(): string | undefined;
}
export declare class MysqlChannelTargetFiltersList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: MysqlChannelTargetFilters[] | cdktf.IResolvable;
/**
* @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): MysqlChannelTargetFiltersOutputReference;
}
export interface MysqlChannelTarget {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#applier_username MysqlChannel#applier_username}
*/
readonly applierUsername?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#channel_name MysqlChannel#channel_name}
*/
readonly channelName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#db_system_id MysqlChannel#db_system_id}
*/
readonly dbSystemId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#delay_in_seconds MysqlChannel#delay_in_seconds}
*/
readonly delayInSeconds?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#tables_without_primary_key_handling MysqlChannel#tables_without_primary_key_handling}
*/
readonly tablesWithoutPrimaryKeyHandling?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#target_type MysqlChannel#target_type}
*/
readonly targetType: string;
/**
* filters block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#filters MysqlChannel#filters}
*/
readonly filters?: MysqlChannelTargetFilters[] | cdktf.IResolvable;
}
export declare function mysqlChannelTargetToTerraform(struct?: MysqlChannelTargetOutputReference | MysqlChannelTarget): any;
export declare function mysqlChannelTargetToHclTerraform(struct?: MysqlChannelTargetOutputReference | MysqlChannelTarget): any;
export declare class MysqlChannelTargetOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): MysqlChannelTarget | undefined;
set internalValue(value: MysqlChannelTarget | undefined);
private _applierUsername?;
get applierUsername(): string;
set applierUsername(value: string);
resetApplierUsername(): void;
get applierUsernameInput(): string | undefined;
private _channelName?;
get channelName(): string;
set channelName(value: string);
resetChannelName(): void;
get channelNameInput(): string | undefined;
private _dbSystemId?;
get dbSystemId(): string;
set dbSystemId(value: string);
get dbSystemIdInput(): string | undefined;
private _delayInSeconds?;
get delayInSeconds(): number;
set delayInSeconds(value: number);
resetDelayInSeconds(): void;
get delayInSecondsInput(): number | undefined;
private _tablesWithoutPrimaryKeyHandling?;
get tablesWithoutPrimaryKeyHandling(): string;
set tablesWithoutPrimaryKeyHandling(value: string);
resetTablesWithoutPrimaryKeyHandling(): void;
get tablesWithoutPrimaryKeyHandlingInput(): string | undefined;
private _targetType?;
get targetType(): string;
set targetType(value: string);
get targetTypeInput(): string | undefined;
private _filters;
get filters(): MysqlChannelTargetFiltersList;
putFilters(value: MysqlChannelTargetFilters[] | cdktf.IResolvable): void;
resetFilters(): void;
get filtersInput(): cdktf.IResolvable | MysqlChannelTargetFilters[] | undefined;
}
export interface MysqlChannelTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#create MysqlChannel#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#delete MysqlChannel#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#update MysqlChannel#update}
*/
readonly update?: string;
}
export declare function mysqlChannelTimeoutsToTerraform(struct?: MysqlChannelTimeouts | cdktf.IResolvable): any;
export declare function mysqlChannelTimeoutsToHclTerraform(struct?: MysqlChannelTimeouts | cdktf.IResolvable): any;
export declare class MysqlChannelTimeoutsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): MysqlChannelTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: MysqlChannelTimeouts | cdktf.IResolvable | undefined);
private _create?;
get create(): string;
set create(value: string);
resetCreate(): void;
get createInput(): string | undefined;
private _delete?;
get delete(): string;
set delete(value: string);
resetDelete(): void;
get deleteInput(): string | undefined;
private _update?;
get update(): string;
set update(value: string);
resetUpdate(): void;
get updateInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel oci_mysql_channel}
*/
export declare class MysqlChannel extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_mysql_channel";
/**
* Generates CDKTF code for importing a MysqlChannel 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 MysqlChannel to import
* @param importFromId The id of the existing MysqlChannel that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_channel#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the MysqlChannel 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/resources/mysql_channel oci_mysql_channel} Resource
*
* @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 MysqlChannelConfig
*/
constructor(scope: Construct, id: string, config: MysqlChannelConfig);
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
resetCompartmentId(): void;
get compartmentIdInput(): string | undefined;
private _definedTags?;
get definedTags(): {
[key: string]: string;
};
set definedTags(value: {
[key: string]: string;
});
resetDefinedTags(): void;
get definedTagsInput(): {
[key: string]: string;
} | undefined;
private _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): string | undefined;
private _displayName?;
get displayName(): string;
set displayName(value: string);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
private _freeformTags?;
get freeformTags(): {
[key: string]: string;
};
set freeformTags(value: {
[key: string]: string;
});
resetFreeformTags(): void;
get freeformTagsInput(): {
[key: string]: string;
} | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _isEnabled?;
get isEnabled(): boolean | cdktf.IResolvable;
set isEnabled(value: boolean | cdktf.IResolvable);
resetIsEnabled(): void;
get isEnabledInput(): boolean | cdktf.IResolvable | undefined;
get lifecycleDetails(): string;
get state(): string;
get timeCreated(): string;
get timeUpdated(): string;
private _source;
get source(): MysqlChannelSourceOutputReference;
putSource(value: MysqlChannelSource): void;
get sourceInput(): MysqlChannelSource | undefined;
private _target;
get target(): MysqlChannelTargetOutputReference;
putTarget(value: MysqlChannelTarget): void;
get targetInput(): MysqlChannelTarget | undefined;
private _timeouts;
get timeouts(): MysqlChannelTimeoutsOutputReference;
putTimeouts(value: MysqlChannelTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | MysqlChannelTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}