rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
197 lines (196 loc) • 8.88 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface OpsiAwrHubSourceConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/opsi_awr_hub_source#associated_opsi_id OpsiAwrHubSource#associated_opsi_id}
*/
readonly associatedOpsiId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/opsi_awr_hub_source#associated_resource_id OpsiAwrHubSource#associated_resource_id}
*/
readonly associatedResourceId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/opsi_awr_hub_source#awr_hub_id OpsiAwrHubSource#awr_hub_id}
*/
readonly awrHubId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/opsi_awr_hub_source#compartment_id OpsiAwrHubSource#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/opsi_awr_hub_source#defined_tags OpsiAwrHubSource#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/opsi_awr_hub_source#freeform_tags OpsiAwrHubSource#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/opsi_awr_hub_source#id OpsiAwrHubSource#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/opsi_awr_hub_source#name OpsiAwrHubSource#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/opsi_awr_hub_source#type OpsiAwrHubSource#type}
*/
readonly type: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/opsi_awr_hub_source#timeouts OpsiAwrHubSource#timeouts}
*/
readonly timeouts?: OpsiAwrHubSourceTimeouts;
}
export interface OpsiAwrHubSourceTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/opsi_awr_hub_source#create OpsiAwrHubSource#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/opsi_awr_hub_source#delete OpsiAwrHubSource#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/opsi_awr_hub_source#update OpsiAwrHubSource#update}
*/
readonly update?: string;
}
export declare function opsiAwrHubSourceTimeoutsToTerraform(struct?: OpsiAwrHubSourceTimeouts | cdktf.IResolvable): any;
export declare function opsiAwrHubSourceTimeoutsToHclTerraform(struct?: OpsiAwrHubSourceTimeouts | cdktf.IResolvable): any;
export declare class OpsiAwrHubSourceTimeoutsOutputReference 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(): OpsiAwrHubSourceTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: OpsiAwrHubSourceTimeouts | 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/opsi_awr_hub_source oci_opsi_awr_hub_source}
*/
export declare class OpsiAwrHubSource extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_opsi_awr_hub_source";
/**
* Generates CDKTF code for importing a OpsiAwrHubSource 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 OpsiAwrHubSource to import
* @param importFromId The id of the existing OpsiAwrHubSource that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/opsi_awr_hub_source#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the OpsiAwrHubSource 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/opsi_awr_hub_source oci_opsi_awr_hub_source} 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 OpsiAwrHubSourceConfig
*/
constructor(scope: Construct, id: string, config: OpsiAwrHubSourceConfig);
private _associatedOpsiId?;
get associatedOpsiId(): string;
set associatedOpsiId(value: string);
resetAssociatedOpsiId(): void;
get associatedOpsiIdInput(): string | undefined;
private _associatedResourceId?;
get associatedResourceId(): string;
set associatedResourceId(value: string);
resetAssociatedResourceId(): void;
get associatedResourceIdInput(): string | undefined;
private _awrHubId?;
get awrHubId(): string;
set awrHubId(value: string);
get awrHubIdInput(): string | undefined;
get awrHubOpsiSourceId(): string;
get awrSourceDatabaseId(): string;
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
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 _freeformTags?;
get freeformTags(): {
[key: string]: string;
};
set freeformTags(value: {
[key: string]: string;
});
resetFreeformTags(): void;
get freeformTagsInput(): {
[key: string]: string;
} | undefined;
get hoursSinceLastImport(): number;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
get isRegisteredWithAwrHub(): cdktf.IResolvable;
get maxSnapshotIdentifier(): number;
get minSnapshotIdentifier(): number;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
get sourceMailBoxUrl(): string;
get state(): string;
get status(): string;
private _systemTags;
get systemTags(): cdktf.StringMap;
get timeCreated(): string;
get timeFirstSnapshotGenerated(): string;
get timeLastSnapshotGenerated(): string;
get timeUpdated(): string;
private _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
private _timeouts;
get timeouts(): OpsiAwrHubSourceTimeoutsOutputReference;
putTimeouts(value: OpsiAwrHubSourceTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | OpsiAwrHubSourceTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}