rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
173 lines (172 loc) • 9.87 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface CoreDrgRouteDistributionStatementConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_drg_route_distribution_statement#action CoreDrgRouteDistributionStatement#action}
*/
readonly action: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_drg_route_distribution_statement#drg_route_distribution_id CoreDrgRouteDistributionStatement#drg_route_distribution_id}
*/
readonly drgRouteDistributionId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_drg_route_distribution_statement#id CoreDrgRouteDistributionStatement#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/core_drg_route_distribution_statement#priority CoreDrgRouteDistributionStatement#priority}
*/
readonly priority: number;
/**
* match_criteria block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_drg_route_distribution_statement#match_criteria CoreDrgRouteDistributionStatement#match_criteria}
*/
readonly matchCriteria: CoreDrgRouteDistributionStatementMatchCriteria;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_drg_route_distribution_statement#timeouts CoreDrgRouteDistributionStatement#timeouts}
*/
readonly timeouts?: CoreDrgRouteDistributionStatementTimeouts;
}
export interface CoreDrgRouteDistributionStatementMatchCriteria {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_drg_route_distribution_statement#attachment_type CoreDrgRouteDistributionStatement#attachment_type}
*/
readonly attachmentType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_drg_route_distribution_statement#drg_attachment_id CoreDrgRouteDistributionStatement#drg_attachment_id}
*/
readonly drgAttachmentId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_drg_route_distribution_statement#match_type CoreDrgRouteDistributionStatement#match_type}
*/
readonly matchType?: string;
}
export declare function coreDrgRouteDistributionStatementMatchCriteriaToTerraform(struct?: CoreDrgRouteDistributionStatementMatchCriteriaOutputReference | CoreDrgRouteDistributionStatementMatchCriteria): any;
export declare function coreDrgRouteDistributionStatementMatchCriteriaToHclTerraform(struct?: CoreDrgRouteDistributionStatementMatchCriteriaOutputReference | CoreDrgRouteDistributionStatementMatchCriteria): any;
export declare class CoreDrgRouteDistributionStatementMatchCriteriaOutputReference 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(): CoreDrgRouteDistributionStatementMatchCriteria | undefined;
set internalValue(value: CoreDrgRouteDistributionStatementMatchCriteria | undefined);
private _attachmentType?;
get attachmentType(): string;
set attachmentType(value: string);
resetAttachmentType(): void;
get attachmentTypeInput(): string | undefined;
private _drgAttachmentId?;
get drgAttachmentId(): string;
set drgAttachmentId(value: string);
resetDrgAttachmentId(): void;
get drgAttachmentIdInput(): string | undefined;
private _matchType?;
get matchType(): string;
set matchType(value: string);
resetMatchType(): void;
get matchTypeInput(): string | undefined;
}
export interface CoreDrgRouteDistributionStatementTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_drg_route_distribution_statement#create CoreDrgRouteDistributionStatement#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_drg_route_distribution_statement#delete CoreDrgRouteDistributionStatement#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_drg_route_distribution_statement#update CoreDrgRouteDistributionStatement#update}
*/
readonly update?: string;
}
export declare function coreDrgRouteDistributionStatementTimeoutsToTerraform(struct?: CoreDrgRouteDistributionStatementTimeouts | cdktf.IResolvable): any;
export declare function coreDrgRouteDistributionStatementTimeoutsToHclTerraform(struct?: CoreDrgRouteDistributionStatementTimeouts | cdktf.IResolvable): any;
export declare class CoreDrgRouteDistributionStatementTimeoutsOutputReference 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(): CoreDrgRouteDistributionStatementTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: CoreDrgRouteDistributionStatementTimeouts | 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/core_drg_route_distribution_statement oci_core_drg_route_distribution_statement}
*/
export declare class CoreDrgRouteDistributionStatement extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_core_drg_route_distribution_statement";
/**
* Generates CDKTF code for importing a CoreDrgRouteDistributionStatement 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 CoreDrgRouteDistributionStatement to import
* @param importFromId The id of the existing CoreDrgRouteDistributionStatement that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_drg_route_distribution_statement#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the CoreDrgRouteDistributionStatement 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/core_drg_route_distribution_statement oci_core_drg_route_distribution_statement} 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 CoreDrgRouteDistributionStatementConfig
*/
constructor(scope: Construct, id: string, config: CoreDrgRouteDistributionStatementConfig);
private _action?;
get action(): string;
set action(value: string);
get actionInput(): string | undefined;
private _drgRouteDistributionId?;
get drgRouteDistributionId(): string;
set drgRouteDistributionId(value: string);
get drgRouteDistributionIdInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _priority?;
get priority(): number;
set priority(value: number);
get priorityInput(): number | undefined;
private _matchCriteria;
get matchCriteria(): CoreDrgRouteDistributionStatementMatchCriteriaOutputReference;
putMatchCriteria(value: CoreDrgRouteDistributionStatementMatchCriteria): void;
get matchCriteriaInput(): CoreDrgRouteDistributionStatementMatchCriteria | undefined;
private _timeouts;
get timeouts(): CoreDrgRouteDistributionStatementTimeoutsOutputReference;
putTimeouts(value: CoreDrgRouteDistributionStatementTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | CoreDrgRouteDistributionStatementTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}