rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
267 lines (266 loc) • 12.5 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface MysqlReplicaConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_replica#db_system_id MysqlReplica#db_system_id}
*/
readonly dbSystemId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_replica#defined_tags MysqlReplica#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_replica#description MysqlReplica#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_replica#display_name MysqlReplica#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_replica#freeform_tags MysqlReplica#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_replica#id MysqlReplica#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_replica#is_delete_protected MysqlReplica#is_delete_protected}
*/
readonly isDeleteProtected?: boolean | cdktf.IResolvable;
/**
* replica_overrides block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_replica#replica_overrides MysqlReplica#replica_overrides}
*/
readonly replicaOverrides?: MysqlReplicaReplicaOverrides;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_replica#timeouts MysqlReplica#timeouts}
*/
readonly timeouts?: MysqlReplicaTimeouts;
}
export interface MysqlReplicaSecureConnections {
}
export declare function mysqlReplicaSecureConnectionsToTerraform(struct?: MysqlReplicaSecureConnections): any;
export declare function mysqlReplicaSecureConnectionsToHclTerraform(struct?: MysqlReplicaSecureConnections): any;
export declare class MysqlReplicaSecureConnectionsOutputReference 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(): MysqlReplicaSecureConnections | undefined;
set internalValue(value: MysqlReplicaSecureConnections | undefined);
get certificateGenerationType(): string;
get certificateId(): string;
}
export declare class MysqlReplicaSecureConnectionsList 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): MysqlReplicaSecureConnectionsOutputReference;
}
export interface MysqlReplicaReplicaOverrides {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_replica#configuration_id MysqlReplica#configuration_id}
*/
readonly configurationId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_replica#mysql_version MysqlReplica#mysql_version}
*/
readonly mysqlVersion?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_replica#shape_name MysqlReplica#shape_name}
*/
readonly shapeName?: string;
}
export declare function mysqlReplicaReplicaOverridesToTerraform(struct?: MysqlReplicaReplicaOverridesOutputReference | MysqlReplicaReplicaOverrides): any;
export declare function mysqlReplicaReplicaOverridesToHclTerraform(struct?: MysqlReplicaReplicaOverridesOutputReference | MysqlReplicaReplicaOverrides): any;
export declare class MysqlReplicaReplicaOverridesOutputReference 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(): MysqlReplicaReplicaOverrides | undefined;
set internalValue(value: MysqlReplicaReplicaOverrides | undefined);
private _configurationId?;
get configurationId(): string;
set configurationId(value: string);
resetConfigurationId(): void;
get configurationIdInput(): string | undefined;
private _mysqlVersion?;
get mysqlVersion(): string;
set mysqlVersion(value: string);
resetMysqlVersion(): void;
get mysqlVersionInput(): string | undefined;
private _shapeName?;
get shapeName(): string;
set shapeName(value: string);
resetShapeName(): void;
get shapeNameInput(): string | undefined;
}
export interface MysqlReplicaTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_replica#create MysqlReplica#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_replica#delete MysqlReplica#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_replica#update MysqlReplica#update}
*/
readonly update?: string;
}
export declare function mysqlReplicaTimeoutsToTerraform(struct?: MysqlReplicaTimeouts | cdktf.IResolvable): any;
export declare function mysqlReplicaTimeoutsToHclTerraform(struct?: MysqlReplicaTimeouts | cdktf.IResolvable): any;
export declare class MysqlReplicaTimeoutsOutputReference 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(): MysqlReplicaTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: MysqlReplicaTimeouts | 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_replica oci_mysql_replica}
*/
export declare class MysqlReplica extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_mysql_replica";
/**
* Generates CDKTF code for importing a MysqlReplica 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 MysqlReplica to import
* @param importFromId The id of the existing MysqlReplica that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/mysql_replica#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the MysqlReplica 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_replica oci_mysql_replica} 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 MysqlReplicaConfig
*/
constructor(scope: Construct, id: string, config: MysqlReplicaConfig);
get availabilityDomain(): string;
get compartmentId(): string;
get configurationId(): string;
private _dbSystemId?;
get dbSystemId(): string;
set dbSystemId(value: string);
get dbSystemIdInput(): 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;
get faultDomain(): string;
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;
get ipAddress(): string;
private _isDeleteProtected?;
get isDeleteProtected(): boolean | cdktf.IResolvable;
set isDeleteProtected(value: boolean | cdktf.IResolvable);
resetIsDeleteProtected(): void;
get isDeleteProtectedInput(): boolean | cdktf.IResolvable | undefined;
get lifecycleDetails(): string;
get mysqlVersion(): string;
get port(): number;
get portX(): number;
private _secureConnections;
get secureConnections(): MysqlReplicaSecureConnectionsList;
get shapeName(): string;
get state(): string;
get timeCreated(): string;
get timeUpdated(): string;
private _replicaOverrides;
get replicaOverrides(): MysqlReplicaReplicaOverridesOutputReference;
putReplicaOverrides(value: MysqlReplicaReplicaOverrides): void;
resetReplicaOverrides(): void;
get replicaOverridesInput(): MysqlReplicaReplicaOverrides | undefined;
private _timeouts;
get timeouts(): MysqlReplicaTimeoutsOutputReference;
putTimeouts(value: MysqlReplicaTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | MysqlReplicaTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}